Background Tasks in Python using Redis Queues
Aug 9th, 2018 – Divyanshu TomarBy nature, Python is a linear language. It's often not feasible to execute a process when the request is received (especially when dealing with I/O) to prevent the thread from blocking incoming client requests. This requires an asynchronous strategy which uses queues to maintain a list of background tasks.