What is Redis?

Redis is an in-memory data store. Salvatore Sanfilippo started it in 2009 while scaling a web analytics product, and the name stands for Remote Dictionary Server. Redis Ltd., formerly Redis Labs, has sponsored its development since 2015.

Redis keeps data in memory, organized in data structures: strings, hashes, lists, sets, sorted sets and streams, plus JSON and vector sets since Redis 8. It can also save data to disk and replicate it to other Redis servers.

Redis was published under the BSD license until March 2024, when Redis 7.4 moved to two source-available licenses, RSALv2 and SSPLv1. Redis 8, released in May 2025, added the AGPLv3 as a third option. The 2024 change led to Valkey, a fork of Redis.

What is PgCache?

PgCache is a transparent, wire-compatible caching proxy and smart read replica for PostgreSQL. It sits between your application and your database without requiring application code changes, and keeps its cache current through Postgres logical replication. Writes, and reads PgCache can't serve from cache, go to your database.

PgCache works with PostgreSQL 16, 17 and 18, including Amazon RDS and Aurora. It's source-available under the Elastic License 2.0.