From RQ Workers to an Asyncio Engine: Polling 5,000 Jobs on Three Processes
A real migration from a pool of RQ worker processes to a single asyncio job engine: leases instead of a coordinator, batching instead of one request per job, the MySQL deadlock it caused, and load-test numbers.