Mcrouter is an open-source memcached protocol router developed by Facebook to scale and manage large memcached deployments efficiently. It acts as an intermediary between clients and memcached servers, handling routing, load balancing, and failover, thereby abstracting the complexity of managing numerous cache servers. Mcrouter is designed to be a drop-in replacement, requiring minimal or no changes to existing client configurations. It supports the standard memcached ASCII protocol, making it compatible with existing memcached clients. At Facebook, Mcrouter handles a substantial portion of cache traffic, demonstrating its capability to operate at scale.​

Features

  • Supports the standard memcached ASCII protocol, ensuring compatibility with existing clients
  • Implements connection pooling to reduce the number of open connections to memcached servers
  • Offers multiple hashing schemes, including consistent hashing, for efficient key distribution
  • Provides prefix-based routing to direct specific key patterns to designated server pools
  • Supports replicated pools for data redundancy and high availability
  • Enables production traffic shadowing for testing new configurations without impacting live traffic
  • Includes health checks and automatic failover mechanisms to maintain system reliability​

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Mcrouter

Mcrouter Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mcrouter!

Additional Project Details

Programming Language

C++

Related Categories

C++ Software Development Software

Registered

2025-04-18