Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes. Typically to serve several requests at the same time, you'd run multiple processes, each handling an at a time, and if you spend a lot of time waiting for io (database, some service call or slow client), you'll need to use a lot of workers (each being independent python+django instance, so its a lot of memory -> significant investment in hardware). Async is nothing new in Python world, but previously you'd have to resort to pure python to use it, now you have whole django ecosystem that will use it. So main benefit is that you can handle more requests on the same django instance, and pay less for hardware.


In our use case, from 12 cores to 2 :) (mostly for ha)


Very clear explanation, thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: