Categorygithub.com/QuangTung97/memproxy
repositorypackage
1.2.1
Repository: https://github.com/quangtung97/memproxy.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

memproxy Coverage Status

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 external proxies.
  • Memory-weighted load-balancing for replication.

Table of Contents

  1. Usage
  2. Consistency between Memcached and Database
  3. Preventing Thundering Herd
  4. Efficient Batching
  5. Memcache Replication & Memory-Weighted Load Balancing

Usage