McRouter logo


A memcached protocol router for scaling memcached deployments, by Facebook

What is McRouter?

Mcrouter is a memcached protocol router for scaling memcached deployments. It's a core component of cache infrastructure at Facebook and Instagram where mcrouter handles almost 5 billion requests per second at peak.
McRouter is a tool in the Memcached Tools category of a tech stack.
McRouter is an open source tool with 3.1K GitHub stars and 531 GitHub forks. Here’s a link to McRouter's open source repository on GitHub

Who uses McRouter?

5 companies reportedly use McRouter in their tech stacks, including Facebook, Zapier, and Yammer.

12 developers on StackShare have stated that they use McRouter.

Blog Posts

Dec 22 2020 at 9:26PM


Amazon EC2MemcachedC lang+4

McRouter's Features

  • Memcached ASCII protocol
  • Connection pooling
  • Multiple hashing schemes
  • Prefix routing
  • Replicated pools
  • Production traffic shadowing
  • Online reconfiguration
  • Flexible routing
  • Destination health monitoring/automatic failover
  • Cold cache warm up
  • Broadcast operations
  • Reliable delete stream
  • Multi-cluster support
  • Rich stats and debug commands
  • Quality of service
  • Large values
  • Multi-level caches
  • IPv6 support
  • SSL support

McRouter Alternatives & Comparisons

What are some alternatives to McRouter?
twemproxy (pronounced "two-em-proxy"), aka nutcracker is a fast and lightweight proxy for memcached and redis protocol. It was built primarily to reduce the number of connections to the caching servers on the backend. This, together with protocol pipelining and sharding enables you to horizontally scale your distributed caching architecture.
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams.

McRouter's Followers
61 developers follow McRouter to keep up with related blogs and decisions.