Giter Club home page Giter Club logo

Comments (2)

skrdgraph avatar skrdgraph commented on August 10, 2024 1

There is a blog post about ristretto if you are curious https://dgraph.io/blog/post/introducing-ristretto-high-perf-go-cache/ ...

I don't have much insights into the past naming conventions - but if you read the blog post, it kind of tells you that all terminologies are related coffee (hence ristretto).

After publishing the [blog post](https://blog.dgraph.io/post/caching-in-go/), we built a team to address the challenges mentioned therein and create a Go cache library worthy of being compared to non-Go cache implementations. In particular, [Caffeine](https://github.com/ben-manes/caffeine) which is a high performance, near-optimal caching library based on Java 8. It is being used by many Java-based databases, like Cassandra, HBase, and Neo4j. T[here](http://highscalability.com/blog/2016/1/25/design-of-a-modern-cache.html)’s an article about the design of Caffeine here.

Ristretto: Better Half of Espresso

We have since [read](https://dgraph.io/blog/refs/bp_wrapper.pdf) [the](https://dgraph.io/blog/refs/Adaptive%20Software%20Cache%20Management.pdf) [literature](https://dgraph.io/blog/refs/TinyLFU%20-%20A%20Highly%20Efficient%20Cache%20Admission%20Policy.pdf), extensively tested implementations and discussed every variable there is to consider in writing a cache library. And today, we are proud to announce that it is ready for the wider Go community to use and experiment with.

Hope this helps!

from ristretto.

joshua-goldstein avatar joshua-goldstein commented on August 10, 2024 1

@rfyiamcool Ben Manes maintains an excellent Java cache called Caffeine that is based on the TinyLFU admission policy. Ristretto is also based on the same theory and was inspired by Caffeine. I believe the blog posts also mention some of these connections if you are curious. Hope that helps.

from ristretto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.