Need advice about which tool to choose?Ask the StackShare community!

McRouter

20
64
+ 1
0
ZeroMQ

260
580
+ 1
71
Add tool

McRouter vs ZeroMQ: What are the differences?

Developers describe McRouter as "A memcached protocol router for scaling memcached deployments, by Facebook". 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. On the other hand, ZeroMQ is detailed as "Fast, lightweight messaging library that allows you to design complex communication system without much effort". The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.

McRouter and ZeroMQ are primarily classified as "Memcached" and "Message Queue" tools respectively.

Some of the features offered by McRouter are:

  • Memcached ASCII protocol
  • Connection pooling
  • Multiple hashing schemes

On the other hand, ZeroMQ provides the following key features:

  • Connect your code in any language, on any platform.
  • Carries messages across inproc, IPC, TCP, TPIC, multicast.
  • Smart patterns like pub-sub, push-pull, and router-dealer.

McRouter and ZeroMQ are both open source tools. It seems that ZeroMQ with 5.28K GitHub stars and 1.56K forks on GitHub has more adoption than McRouter with 2.48K GitHub stars and 435 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of McRouter
Pros of ZeroMQ
    Be the first to leave a pro
    • 23
      Fast
    • 20
      Lightweight
    • 11
      Transport agnostic
    • 7
      No broker required
    • 4
      Low level APIs are in C
    • 4
      Low latency
    • 1
      Open source
    • 1
      Publish-Subscribe

    Sign up to add or upvote prosMake informed product decisions

    Cons of McRouter
    Cons of ZeroMQ
      Be the first to leave a con
      • 5
        No message durability
      • 3
        Not a very reliable system - message delivery wise
      • 1
        M x N problem with M producers and N consumers

      Sign up to add or upvote consMake informed product decisions

      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.

      What is ZeroMQ?

      The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use McRouter?
      What companies use ZeroMQ?
      See which teams inside your own company are using McRouter or ZeroMQ.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with McRouter?
      What tools integrate with ZeroMQ?

      Blog Posts

      Dec 22 2020 at 9:26PM

      Pinterest

      Amazon EC2C langMemcached+4
      10
      2627
      JavaScriptGitHubPython+42
      53
      21866
      What are some alternatives to McRouter and ZeroMQ?
      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.
      See all alternatives