Rust Caching

Open-source Rust projects categorized as Caching

Top 9 Rust Caching Projects

  • readyset

    ReadySet is a transparent database cache for Postgres & MySQL that gives you the performance and scalability of an in-memory key-value store without requiring that you rewrite your app or manually handle cache invalidation. Based on the Noria project from MIT. Built using Rust. 🚀

    Project mention: Fine-grained caching strategies of dynamic queries | | 2023-09-21

    This example is a great use case for partial incremental view maintenance systems like ReadySet: you automatically get something like the “prepopulating the cache” section (toward the end of the blog) while only caching the data the application is using, and avoiding the need to manually implement any sort of invalidation logic.

    (Disclaimer: I used to work for them, but don’t anymore. It’s all available for free on GitHub though for anyone interested:

  • cached

    Rust cache structures and easy function memoization

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

  • stretto

    Stretto is a Rust implementation for Dgraph's ristretto ( A high performance memory-bound Rust cache. (by al8n)

  • bkt

    a subprocess caching utility, available as a command line binary and a Rust library.

    Project mention: Tip: slow fzf --preview commands can be cached using bkt to make the preview more responsive | /r/commandline | 2023-04-14
  • magic-nix-cache

    Save 30-50%+ of CI time without any effort or cost. Use Magic Nix Cache, a totally free and zero-configuration binary cache for Nix on GitHub Actions.

    Project mention: Show HN: WarpBuild – x86-64 and arm GitHub Action runners for 30% faster builds | | 2023-12-08

    This looks promising, but it doesn't work on personal accounts. I'm not ready to install it on my organization account just yet.

    Can I expect complex caching actions like to work as quickly as they do on GitHub?

  • rust-memcache

    memcache client for rust

  • retainer

    Minimal async cache in Rust with support for key expirations

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • reinda

    Easily embed and manage assets for your web application to build standalone-executables. Offers filename hashing, templating and more.

  • singleflight

    Rust port of Go's singleflight package

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-08.

Rust Caching related posts


What are some of the best open-source Caching projects in Rust? This list will help you:

Project Stars
1 readyset 2,559
2 cached 1,249
3 stretto 373
4 bkt 186
5 magic-nix-cache 152
6 rust-memcache 118
7 retainer 47
8 reinda 26
9 singleflight 8
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives