Pogocache: Open Source Caching Software with Low Latency and Multiple Wire Protocols
Briefly

Pogocache: Open Source Caching Software with Low Latency and Multiple Wire Protocols
"Pogocache supports multiple popular protocols while claiming better throughput and lower latency than other open-source caching alternatives. Started by Josh Baker, creator of the geospatial database and geofencing server Tile38 and the TG geospatial library, Pogocache is written in C and runs as a server-based program. Pogocache supports Memcache, Valkey/Redis, HTTP, and PostgreSQL wire protocols, allowing the use of system tools such as curl and psql, as well as third-party client libraries."
"The project includes a section with design details that highlights a sharded hashmap inspired by the author's shardmap project and significant improvements in thread handling. Pogocache stores entries (key-value pairs) in a sharded hash map that has a high fan-out, often with 4096 shards. The number of shards is automatically configured at startup, but can be changed by the user, with each shard having its own independent hashmap. That hashmap uses open addressing with Robin Hood hashing."
Pogocache reached 1.0 general availability as an open-source caching server written in C, designed for low latency and CPU efficiency. It supports Memcache, Valkey/Redis, HTTP, and PostgreSQL wire protocols, enabling use of curl, psql, and third-party clients. Target use cases include session storage, database query caching, real-time data feeds, and API acceleration. The implementation uses a sharded hashmap with high fan-out (often 4096 shards), automatic shard configuration, per-shard independent hashmaps using open addressing with Robin Hood hashing. Thread handling and low contention optimizations aim to deliver superior single-threaded and multithreaded throughput and latency.
Read at InfoQ
Unable to calculate read time
[
|
]