2 ms·
That's great for concurrency, but doesn't improve parallelism. Unless you mean you have multiple worker processes (or GIL-free threads).
by Sohcahtoa82 8mo ago
That's great for concurrency, but doesn't improve parallelism.
Unless you mean you have multiple worker processes (or GIL-free threads).
- apothegm 8mo agoYes, multiple worker processes is what I meant. Few web apps have a meaningful use for parallelism within a single process. So long as you’re keeping all cores busy with independent processes at high concurrency, multithreading adds relatively little. YMMV if you’re doing a lot of number crunching.