Liberate your API: Building a task manager inside Sanic

Adam Hopkins Adam Hopkins
Language: English
video in English
The presentation was given on 2021.05.02 at PyCon Israel 2021.

An inside look at some of the tools inside Sanic to help build a background task manager.

You are building an API when, inevitably, you realize that certain requests are super slow to respond. It dawns on you that you really need to push some work off to a background process. How should you do it?

We will explore some of the tools that exist inside the Sanic framework that will enable us to do just this. From the simple task, to complex multi-node cluster: we will look at different strategies to determine the most appropriate tool for the job. Think celery, except entirely within Sanic.