/
tasks-you-gotta-know-how-to-run-em.json
16 lines (16 loc) · 1.63 KB
/
tasks-you-gotta-know-how-to-run-em.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"description": "DjangoCon US 2017 - Tasks: you gotta know how to run 'em, you gotta know how to safe' em by Filipe Ximenes\n\nWeb developers often find themselves in situations where server processing takes longer than a user would accept. One very common situation is when sending emails. Although simple and relatively quick task, it requires the communication with an external service. In this situation, it\u2019s not possible to foresee how long that service will take to answer. Not to mention the many unexpected situations that can arise, such as errors and bugs. The solution to this problem is to delegate long lasting tasks while responding quickly to the user. This is the point where we need async tasks. There are some tools available that can assist in this job. In this talk, you will learn about the concepts, caveats and best practices for when developing async tasks. For this, I will use Python\u2019s most popular tool for the task: Celery.\n\nRundown:\n\nSetting the context\n\nThe architecture:\nBrokers\nWorkers\n\nUse cases:\nExternal calls\nLong computations\nData caching\n\nTools available\n\nCelery:\nCallbacks\nCanvas\nLogging\nRetrying\nMonitoring\nTests and debugging\n\n\nhttps://2017.djangocon.us/talks/tasks-you-gotta-know-how-to-run-em-you-gotta-know-how-to-safe-em/",
"language": "eng",
"recorded": "2017-08-14",
"speakers": [
"Filipe Ximenes"
],
"thumbnail_url": "https://i.ytimg.com/vi/XjzyOyLbvN8/hqdefault.jpg",
"title": "Tasks: you gotta know how to run 'em, you gotta know how to safe' em",
"videos": [
{
"type": "youtube",
"url": "https://www.youtube.com/watch?v=XjzyOyLbvN8"
}
]
}