QU
QuangTung97/memproxy
Library for Memcached Lease, Thundering Herd Protection, Fail-over and Memcached Proxy
Golang Memcache Proxy Library
Why this library?
This library helps to utilize memcached in a consistent and efficient way.
Supporting features:
- Deal with Consistency between Memcached and Database using the Lease Mechanism.
- Prevent thundering herd (a.k.a Cache Stampede).
- Efficient batching get to the underlining database, batching between lease gets
and between retries for preventing thundering-herd. - Memcached replication similar to MCRouter, without the need for an external proxy.
- Memory-weighted load-balancing for replication.
Table of Contents
- Usage
- Consistency between Memcached and Database
- Preventing Thundering Herd
- Efficient Batching
- Memcache Replication & Memory-Weighted Load Balancing
Usage
On this page
Languages
Go99.7%Makefile0.3%
Contributors
MIT License
Created December 9, 2022
Updated October 6, 2025