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.2K GitHub stars and 525 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 EC2C langMemcached+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.
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
See all alternatives

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