Open-source project
readysettech/readyset avatar
readysettech/readyset

ReadySet caches SQL results off the replication stream

Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached select statements and incrementally updates these results over time as the underlying data changes.

5,305 stars167 forksRustLicense varies

At a glance

What is it?
Readyset is a Rust caching layer that sits between an application and its Postgres or MySQL database, keeping cached select results current from the replication stream instead of hand written invalidation. It is worth evaluating on read heavy SQL and worth measuring on your own data, because the README ships no latency figures and no list of which query shapes it will cache.
Who is it for?
Adopt ReadySet when traffic is dominated by repeatable selects against Postgres or MySQL, you can point it at a server that exposes the logical decoding stream, and you are willing to measure the result on your own data. Do not adopt it for flows that must read back a write the user just made, and do not adopt it without reading the LICENSE file for the four year conversion date.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Rust, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • readysettech/readyset5,305 ★ · +25
Star history
Repository2026-09-232026-11-25
readysettech/readyset5.3k5.3k

25 Stars in the last 63 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Cached results are rebuilt from the replication stream instead of expired by hand

Readyset sits between your application and the database, and it keeps cached results in step with the source by consuming the database's replication stream rather than relying on you to expire keys by hand. Once a select statement is cached, Readyset keeps that statement's result set and updates it incrementally as the underlying data changes, which is how in memory lookup speed ends up serving SQL that was never rewritten. The cost of that arrangement is that cache correctness now belongs to the replication link instead of to your code, so a reader can observe rows the primary has already moved past by some amount of replication lag. The README gives no lag figure and no consistency guarantee, so if a page has to reflect a write the user just submitted, that window decides whether the cache belongs on that path at all.

Wire compatibility pushes the change into the connection string and onto every round trip

Because Readyset speaks both the Postgres and MySQL wire protocols, your ORM or database client keeps working and the change lands in the connection string rather than in query code. Nothing about the SQL you already wrote has to move. What does change is topology: the layer now sits on the request path for every statement, including writes and including the queries that never qualify for caching, since a statement has to be parsed before anything can be decided about it. That extra hop is paid on each round trip and lands as extra network latency even on a colocated setup. Two operational consequences follow. An unsupported query or a miss still needs the primary to answer, so primary capacity does not disappear, and the layer itself becomes a stateful service that has to be deployed, monitored and restarted like any other one in that path.

Postgres has to be started with logical decoding turned on

Readyset derives its updates from logical decoding, so on Postgres the server must be started in a mode that produces that stream. The compose file in the repository shows the setting the project itself relies on, alongside the MySQL service used for the other protocol:

code
services:
  mysql:
    image: mysql
    environment:
      - MYSQL_ROOT_PASSWORD=readyset
      - MYSQL_DATABASE=testdb
    ports:
      - '3306:3306'
  postgres:
    image: postgres:14
    environment:
      - POSTGRES_PASSWORD=readyset
      - POSTGRES_DB=testdb
    ports:
      - '5432:5432'
    command:
      - "postgres"
      - "-c"
      - "wal_level=logical"

That wal_level argument is the setting the repository's compose file uses on Postgres. On a managed instance where you cannot set server configuration, or where logical decoding is not exposed, this route is closed, and no setting inside Readyset replaces it. The repository ships no matrix of which hosted Postgres or MySQL services have been run against, so confirming that your provider allows the stream is your first task rather than something you can read off a page.

Three install paths, and only two of them let you pin a version

Three paths are offered and each hands you a different amount of control. The quickstart fetches a script and runs it:

code
bash -c "$(curl -sSL https://launch.readyset.io)"

Piping a remote script into bash means whatever sits at that address runs on your machine at that moment, and no checksum is published for it. The Docker image and the Linux binary are the paths where you decide what you get. Release tags follow a date pattern rather than semantic versioning: stable-261022 shipped on October 22, 2026, stable-260924 on September 24, 2026, and stable-260827 on August 27, 2026, so going back a version means naming an older tag. A fourth option is not an install at all. Readyset Cloud is offered as a managed service for teams that would rather not operate the layer themselves.

A source build resolves three Readyset forks before it reaches crates.io

Building from source does not use upstream database drivers. The root Cargo.toml redirects several dependencies to Readyset's own forks before the workspace resolves anything:

code
[patch.crates-io]
moka = { git = "https://github.com/readysettech/moka", branch = "cost-aware-lfu" }
mysql_async = { git = "https://github.com/readysettech/mysql_async", branch = "rs-v0.37.0" }
postgres = { git = "https://github.com/readysettech/rust-postgres.git", tag = "readyset-20260625" }
postgres-protocol = { git = "https://github.com/readysettech/rust-postgres.git", tag = "readyset-20260625" }
postgres-types = { git = "https://github.com/readysettech/rust-postgres.git", tag = "readyset-20260625" }
tokio-postgres = { git = "https://github.com/readysettech/rust-postgres.git", tag = "readyset-20260625" }

The moka entry tracks a branch called cost-aware-lfu, which is an eviction policy rather than a released version, and the driver entries track branches and a dated tag. Practical effect for you: a source build fetches those forks over the network before the public registry, so a locked down network fails earlier than an ordinary build would, and a branch can move under you. The workspace members list runs long, including readyset-server, readyset-repl, readyset-mysql, readyset-psql and readyset-schema next to test crates such as readyset-e2e-tests and readyset-logictest. Contributors are pointed at community-development.md.

The quickstart directory is a demo harness, not a benchmark

Reading the quickstart directory shows what the project's own example workload looks like. It holds compose.yml plus compose.mysql.yml and compose.postgres.yml for the two protocols, imdb-mysql.sql and imdb-postgres.sql as the sample dataset, readyset_demo.sh as the driver, check_db_size.sh and check_db_postgres.sh as sanity checks on what got loaded, and metrics.py with requirements.txt for measurement. Note what that implies for your own evaluation: the sample rows come from a movie ratings dump rather than from your tables, and the timing work is left to a Python script you run yourself. No latency or throughput figures appear in the README, so any speedup number attached to this layer has to come from measurements you take against your own queries.

Query coverage and eviction are the two gaps you will hit first

Two limits are worth stating plainly before you plan around this. First, what gets cached is cached select statements, so reads accelerate while writes still travel to the primary, which makes a read dominant application the candidate and a write heavy one a poor fit. Second, nothing in the README enumerates which SQL shapes it declines to cache, nothing there shows the statement that marks a query as cached in the first place, and nothing there documents a command to evict or rebuild a single cached statement. For a reader that means you discover query coverage by watching traffic rather than by reading a table.

BSL 1.1 with a four year clock and no start date in the summary

Readyset is licensed under BSL 1.1 and converts to the open source Apache 2.0 license after four years, and it is free to use on any number of nodes. The node count is a statement about the license text rather than about price: Readyset Cloud at readyset.cloud is a separate managed product carrying its own terms, so self hosted use and the hosted tier are two different commercial situations. The four year conversion is stated without a start date in the README, which leaves the calendar date your legal review needs to be found in the LICENSE file at the repository root instead of in the summary. For a policy that accepts only Apache 2.0 today, that date is the whole decision, so read it before the trial rather than after. The default branch main was pushed on November 2, 2026, so the repository is being worked on as of now.

Editorial conclusion

Adopt ReadySet when traffic is dominated by repeatable selects against Postgres or MySQL, you can point it at a server that exposes the logical decoding stream, and you are willing to measure the result on your own data. Do not adopt it for flows that must read back a write the user just made, and do not adopt it without reading the LICENSE file for the four year conversion date. Before rollout, pin a dated tag such as stable-260924 instead of the install script, and establish which of your queries it actually caches, since the README gives no list of supported shapes.

Frequently asked questions

Is ReadySet a caching server?

Yes. Readyset is a transparent cache that sits between your application and the database, is wire compatible with Postgres and MySQL, and keeps cached query results in step with the source by using the database's replication stream, so the app is not rewritten and cache keys are not expired by hand.

what is readyset

Readyset is a caching layer for Postgres and MySQL written in Rust. It caches the results of cached select statements and updates those results incrementally over time as the underlying data changes, and it is licensed under BSL 1.1, converting to Apache 2.0 after four years.

What are ReadySet's main features?

It is wire compatible with Postgres and MySQL so an existing ORM or database client keeps working, requires no app rewrite and no manual cache invalidation, and installs by quickstart script, Docker image or Linux binary. Readyset Cloud is offered as a managed alternative.

What is a ReadySet dashboard?

The README does not name a dashboard component. What it points to is an interactive demo at https://readyset.io/docs/, described as an interactive walk through of Readyset's features, with deeper documentation at https://docs.readyset.io.

Official sources

  1. Issues
  2. Project website
  3. README
  4. readysettech/readyset on GitHub
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/readysettech-readyset.svg)](https://hysenlabs.com/projects/readysettech-readyset)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/readysettech-readyset.svg)](https://hysenlabs.com/projects/readysettech-readyset)

Was this useful?