Hey there,
I need to process a request, which runs an expensive CPU-bound process based on a redis request.
The process is simply-parallelizable, such that I could normally use a multiprocessing Pool, but unfortunately those can’t be called from a Sanic request function - as the Sanic workers are already running in multiprocessing workers.
What’s the best approach for handing long-running CPU bound tasks? thanks!