Pycon Israel 2021

Liberate your API: Building a task manager inside Sanic
2021-05-03, 10:00–10:25, General Track 2

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.


Session language – English Target audience – Developers