libCacheSim VS sosp23-s3fifo

Compare libCacheSim vs sosp23-s3fifo and see what are their differences.

sosp23-s3fifo

The repo for SOSP23 paper: FIFO queues are all you need for cache evictions (by Thesys-lab)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
libCacheSim sosp23-s3fifo
2 2
123 83
- -
8.3 6.6
29 days ago 8 months ago
C C
GNU General Public License v3.0 only -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

libCacheSim

Posts with mentions or reviews of libCacheSim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-03.
  • Sieve is simpler than LRU
    4 projects | news.ycombinator.com | 3 Jan 2024
    https://github.com/1a1a11a/libCacheSim/blob/develop/libCache...
  • Otter, Fastest Go in-memory cache based on S3-FIFO algorithm
    16 projects | news.ycombinator.com | 23 Dec 2023
    /u/someplaceguy,

    Those LIRS traces, along with many others, available at this page [1]. I did a cursory review using their traces using Caffeine's and the author's simulators to avoid bias or a mistaken implementation. In their target workloads Caffeine was on par or better [2]. I have not seen anything novel in this or their previous works and find their claims to be easily disproven, so I have not implement this policy in Caffeine simulator yet.

    [1]: https://github.com/ben-manes/caffeine/wiki/Simulator

    [2]: https://github.com/1a1a11a/libCacheSim/discussions/20

sosp23-s3fifo

Posts with mentions or reviews of sosp23-s3fifo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-23.
  • Otter, Fastest Go in-memory cache based on S3-FIFO algorithm
    16 projects | news.ycombinator.com | 23 Dec 2023
    We observed that quick demotion[2] is important to achieve a low miss ratio in modern cache workloads, and existing algorithms such as TinyLFU and LIRS have lower miss ratios because of the small 1% window they use. This motivated us to design S3-FIFO, which uses simple FIFO queues to achieve low miss ratios. It is true that compared to state-of-the-art, S3-FIFO does not use any fancy techniques, but this does not mean it has bad performance.

    In our large-scale evaluations, we found that the fancy techniques in LIRS, ARC, and TinyLFU can sometimes increase the miss ratio. But simple FIFO queues are more robust. However, *it is not true that S3-FIFO is better on every trace*.

    * Note that some of the S3-FIFO results in Otter's repo are not updated and have an implementation bug, and we are working with the owner to update them.

    [1] https://github.com/Thesys-lab/sosp23-s3fifo?tab=readme-ov-fi...

What are some alternatives?

When comparing libCacheSim and sosp23-s3fifo you can also consider the following projects:

Caffeine - A high performance caching library for Java

otter - A high performance lockless cache for Go.

xsync - Concurrent data structures for Go

maphash

golang-fifo - Modern efficient cache design with simple FIFO queue only in Golang

go-cache-benchmark - Cache benchmark for web cache workloads in golang.

theine-go - high performance in-memory cache