McRouter logo

McRouter

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.3K GitHub stars and 535 GitHub forks. Here’s a link to McRouter's open source repository on GitHub

Who uses McRouter?

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

Developers
12 developers on StackShare have stated that they use McRouter.

Blog Posts

Dec 22 2020 at 9:26PM

Pinterest

Amazon EC2C langMemcached+4
10
2687
JavaScriptGitHubPython+42
53
22124

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
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
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.
MySQL
The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
PostgreSQL
PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
See all alternatives

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