Using Lock-Free Design for Throughput-Optimized Cache Eviction
This paper presents a practical approach to cache eviction algorithm design, called Mobius, that optimizes the concurrent throughput of caches and reduces cache operation latency by utilizing lock-free data structures, while maintaining high cache hit ratios. Mobius includes two key designs. First, Mobius employs two lock-free FIFO queues to manage cache items, ensuring that all cache operations are executed efficiently in concurrency. Second, Mobius integrates a consecutive detection mechanism that merges multiple modifications during eviction into a single operation, thereby reducing data races. The implementation of Mobius in CacheLib and RocksDB highlights its high concurrency in both synthetic and real-world workloads.
Authors
- Hong Jiang (ORCID: https://orcid.org/0000-0002-1477-9751)
- Dan Feng (ORCID: https://orcid.org/0000-0002-4674-6006)
- Chao Dong (ORCID: https://orcid.org/0000-0001-9965-0852)
- Fang Wang (ORCID: https://orcid.org/0000-0002-2791-4158)
Institutions
- The University of Texas at Arlington (US)
- Wuhan National Laboratory for Optoelectronics (CN)
Publication Details
- Journal
- ACM SIGMETRICS Performance Evaluation Review
- Published
- 2025-06-16
- DOI
- https://doi.org/10.1145/3744970.3727330
- Primary Topic
- Caching and Content Delivery
- Type
- article
- Field-Weighted Citation Impact
- 0.00