When or why should I use a Mutex over an RwLock?
TL;DR – use the “R” in RwLock as “R” for READ – i.e when there are lots of reads/Read mostly, use RwLock Choosing between a Mutex and an RwLock in Rust depends on the nature of the access patterns and the trade-offs you’re willing to make in your program’s concurrency model. Here’s a detailed breakdown […]