As it currently stands the Mutex/RwLock pattern is used a lot particularly with the cache. In large scale highly concurrent scenarios concurrent datastructures like chashmap and transactional memory rbtrees should do better.
该提问来源于开源项目:serenity-rs/serenity