News for hackers. Stuff that matters.
Re:Scipio: A Thread-per-Core Crate for Rust and Linux by penberg on Tuesday November 03, 2020 @05:41AM (#24978330)
Excellent question! I think VoltDB, for example, uses the same application-level data partitioning approach, but with processes instead of threads. One advantage of the "thread-per-core" approach is that it allows fast communication between shards because the underlying threads share the same address space. In contrast, processes need to use a more heavy-weight approach of inter-process communication (IPC). Of course, process-based systems will have a reliability advantage, because processes cannot easily mess with each others state.
Re:Scipio: A Thread-per-Core Crate for Rust and Linux by fulafel on Tuesday November 03, 2020 @03:17PM (#24983519)
You can still use shared memory with processes.