| ▲ | kccqzy 3 hours ago | |
I’m surprised that they still use forking. It probably means that they aren’t using threads at all, and are likely leaving performance on the table. Even if they mainly use Python, native code extensions still benefit from threads and thread pools. | ||
| ▲ | byroot 2 hours ago | parent | next [-] | |
You can fork and use threads, what POSIX disallow is to fork after having started threads, as long as you fork before you're in the clear. And in practice, at least on Linux, forking after having spawned threads is possible if done extremely carefully, but hard to do. | ||
| ▲ | Culmone 2 hours ago | parent | prev [-] | |
Forking is a parallelization strategy, not evidence of an absence of multithreading. I'm skeptical that pure threading would improve throughput here. | ||