3 ms·
> If your views involve heavy-lifting calculations ... Nooo, not at all. Your tasks should be I/O bound, not CPU bound to take advantage of asyncio. Maybe the
by kissgyorgy 6y ago
> If your views involve heavy-lifting calculations ...
Nooo, not at all. Your tasks should be I/O bound, not CPU bound to take advantage of asyncio. Maybe the async server using multiple threads with multiple event loops, but don't ever do a CPU-heavy task in an event loop because you just invalidated using asyncio completely.