Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Our Plan for Python 3.13. Parent comment
Sure... but if you have dozens of threads spending most of their time doing I/O, that still leaves many threads wanting to do things other than I/O.
> The difference between threads and processes on Linux is relatively minor.
Except having any shared state between processes is painful. If you're hitting an outside database for everything, it's fine.
There are no comments on this comment yet.
Sure... but if you have dozens of threads spending most of their time doing I/O, that still leaves many threads wanting to do things other than I/O.
> The difference between threads and processes on Linux is relatively minor.
Except having any shared state between processes is painful. If you're hitting an outside database for everything, it's fine.