Vibeleaderboard
Index / tool
Category
Developer Tools
Rank
No. 4087Tools index
Pricing
Open Source
Type
TOOL
Use case
Deployment & Operations
GitHub
11 stars
Date

About

A key/value memory cache that is multi-threaded and lock-free. It has built-in anti-dogpiling (protection against many clients recomputing the same missing entry at once), TLS support and a Raft-based clustering solution. It is released under the GPL-2.0 license.

At a glance

Umem-cache is a self-hosted key-value cache for applications backed by a database. It is worth a staging trial if bursts of requests for the same missing key strain the database and you can coordinate cache invalidation with your database transactions. On a miss, one connection gets permission to fill the key while others wait.

Good fit

Backend teams that control both the cache client and the database write path and want to limit simultaneous database reads for the same key.

Consider something else when

Skip it if you need an existing Redis or Memcached client to work unchanged, or if requests must keep working when the cache goes down.

Start here

Use a staging database and a client that speaks the documented protocol. Send concurrent reads for one uncached synthetic key and count how many reach the database. Update the value using the documented invalidation sequence, then check that a fresh read returns the new value.

Cost and requirements

The GPL-2.0-only server requires 64-bit Linux with 4 KB pages and GCC to build. You supply the hosting and client integration. Optional mutual TLS also requires GnuTLS and kernel TLS support.

Limits to know

The documented consistency design requires the application to invalidate the cache before committing a database update. That puts cache availability on the write path. The maintainer benchmark used skewed traffic and key-value entries up to 1 KB. Measure your own workload before using it to size a deployment.

Suggest an improvement

Similar tools

Browse all tools →

Tags

cachekey-valuelock-freerafttlsc

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.