News for hackers. Stuff that matters.
Re:Asynchronous Programming in Python: Asyncio by jacob019 on Tuesday May 02, 2017 @07:43AM (#14245557)
It depends. If the calculation can be split into nice chunks you can throw in some gevent.sleep(0) to prevent them from hogging the process. We use python for handling web requests, anything heavy tends to be handed off to another process. It's rare for us but yeah, sometimes you need threads.

There are no comments on this comment yet.