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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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