facebook/mcrouter

Mcrouter is a memcached protocol router for scaling memcached deployments.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 21 minutes ago
Added to GitGenius on September 20th, 2026
Created on January 24th, 2014
Open Issues & Pull Requests: 116 (+0)
GitHub issues: Enabled
Number of forks: 554
Total Stargazers: 3,333 (+0)
Total Subscribers: 238 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 610 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Mcrouter is a memcached protocol router for scaling memcached deployments. It sits between clients and memcached servers, handling routing decisions and connection management to enable large-scale cache infrastructure.

The tool solves the problem of efficiently distributing cache requests across multiple memcached instances. Rather than requiring clients to implement complex routing logic, mcrouter acts as a proxy that accepts memcached protocol requests and forwards them to appropriate backend servers based on configurable routing rules. This approach centralizes routing intelligence, simplifies client implementations, and allows dynamic reconfiguration without restarting clients.

Mcrouter suits organizations running large memcached deployments that need sophisticated request distribution, failover capabilities, and operational flexibility. It is particularly valuable when you require features like prefix-based routing, replicated pools for redundancy, traffic shadowing for testing, or multi-cluster support. The tool handles the memcached ASCII protocol and supports connection pooling, multiple hashing schemes, health monitoring with automatic failover, and online reconfiguration. Teams should adopt it when memcached's built-in client-side hashing becomes a bottleneck or when operational requirements demand centralized control over cache routing behavior.

Development activity shows consistent maintenance with regular build testing through automated workflows. The project maintains comprehensive documentation through its wiki and actively supports user discussions through a dedicated community group. Installation is straightforward through both package management on supported platforms and from source via standard autotools, with clear dependency specifications for required Facebook libraries.