4 ms·
It's often the case that some work needs to be done outside of the request/response lifecycle, eg external api calls, data aggregation, sending notifications et
by wacowz 10y ago
It's often the case that some work needs to be done outside of the request/response lifecycle, eg external api calls, data aggregation, sending notifications etc. Most of it is essentially IO bound. We happen to have lots of such tasks and therefore use celery, but there's only so much celery can do, given it's concurrency level is bound by the number of cores available since it uses multiprocessing. An actor based approach or sth like Go's goroutines would be a better fit.