News for hackers. Stuff that matters.
Re:Using unwrap() in Rust is okay by preseinger on Tuesday August 09, 2022 @03:17PM (#32402701)
Even a modern Linux kernel on modern hardware will struggle with 10k processes if those processes are doing nontrivial (i.e. syscall-effecting) work. But that benchmark is what, 10 or 15 years old now? Contemporary benchmarks target 100k connections per server (with some constraints).
Re:Using unwrap() in Rust is okay by int_19h on Friday August 12, 2022 @12:24AM (#32434694)
The question, rather, is whether it'll struggle with 10k threads.
Re:Using unwrap() in Rust is okay by preseinger on Friday August 12, 2022 @10:06PM (#32446279)
Aye, the cost of context switching between OS threads is generally too high for thread-per-request workloads.