Memcached vs MongoDB vs RocksDB

Get Advice Icon

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

Memcached
Memcached

2.9K
1.8K
+ 1
452
MongoDB
MongoDB

19.1K
15.6K
+ 1
3.9K
RocksDB
RocksDB

48
63
+ 1
10

What is Memcached?

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

What is 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.

What is RocksDB?

RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads. RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores, to efficiently use fast storage, to support IO-bound, in-memory and write-once workloads, and to be flexible to allow for innovation.
Get Advice Icon

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

Why do developers choose Memcached?
Why do developers choose MongoDB?
Why do developers choose RocksDB?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
      Be the first to leave a con
      What companies use Memcached?
      What companies use MongoDB?
      What companies use RocksDB?

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

      What tools integrate with Memcached?
      What tools integrate with MongoDB?
      What tools integrate with RocksDB?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Memcached, MongoDB, and RocksDB?
      Redis
      Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
      Ehcache
      Ehcache is an open source, standards-based cache for boosting performance, offloading your database, and simplifying scalability. It's the most widely-used Java-based cache because it's robust, proven, and full-featured. Ehcache scales from in-process, with one or more nodes, all the way to mixed in-process/out-of-process configurations with terabyte-sized caches.
      Varnish
      Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents. Varnish Cache is really, really fast. It typically speeds up delivery with a factor of 300 - 1000x, depending on your architecture.
      Hazelcast
      With its various distributed data structures, distributed caching capabilities, elastic nature, memcache support, integration with Spring and Hibernate and more importantly with so many happy users, Hazelcast is feature-rich, enterprise-ready and developer-friendly in-memory data grid solution.
      Couchbase
      Developed as an alternative to traditionally inflexible SQL databases, the Couchbase NoSQL database is built on an open source foundation and architected to help developers solve real-world problems and meet high scalability demands.
      See all alternatives
      Decisions about Memcached, MongoDB, and RocksDB
      No stack decisions found
      Interest over time
      Reviews of Memcached, MongoDB, and RocksDB
      No reviews found
      How developers use Memcached, MongoDB, and RocksDB
      Avatar of Tarun Singh
      Tarun Singh uses MongoDBMongoDB

      Used MongoDB as primary database. It holds trip data of NYC taxis for the year 2013. It is a huge dataset and it's primary feature is geo coordinates with pickup and drop off locations. Also used MongoDB's map reduce to process this large dataset for aggregation. This aggregated result was then used to show visualizations.

      Avatar of Trello
      Trello uses MongoDBMongoDB

      MongoDB fills our more traditional database needs. We knew we wanted Trello to be blisteringly fast. One of the coolest and most performance-obsessed teams we know is our next-door neighbor and sister company StackExchange. Talking to their dev lead David at lunch one day, I learned that even though they use SQL Server for data storage, they actually primarily store a lot of their data in a denormalized format for performance, and normalize only when they need to.

      Avatar of Foursquare
      Foursquare uses MongoDBMongoDB

      Nearly all of our backend storage is on MongoDB. This has also worked out pretty well. It's enabled us to scale up faster/easier than if we had rolled our own solution on top of PostgreSQL (which we were using previously). There have been a few roadbumps along the way, but the team at 10gen has been a big help with thing.

      Avatar of AngeloR
      AngeloR uses MongoDBMongoDB

      We are testing out MongoDB at the moment. Currently we are only using a small EC2 setup for a delayed job queue backed by agenda. If it works out well we might look to see where it could become a primary document storage engine for us.

      Avatar of Matt Welke
      Matt Welke uses MongoDBMongoDB

      Used for proofs of concept and personal projects with a document data model, especially with need for strong geographic queries. Often not chosen in long term apps due to chance data model can end up relational as needs develop.

      Avatar of Reactor Digital
      Reactor Digital uses MemcachedMemcached

      As part of the cacheing system within Drupal.

      Memcached mainly took care of creating and rebuilding the REST API cache once changes had been made within Drupal.

      Avatar of Casey Smith
      Casey Smith uses MemcachedMemcached

      Distributed cache exposed through Google App Engine APIs; use to stage fresh data (incoming and recently processed) for faster access in data processing pipeline.

      Avatar of The Independent
      The Independent uses MemcachedMemcached

      Memcache caches database results and articles, reducing overall DB load and allowing seamless DB maintenance during quiet periods.

      Avatar of eXon Technologies
      eXon Technologies uses MemcachedMemcached

      Used to cache most used files for our clients. Connected with CloudFlare Railgun Optimizer.

      Avatar of ScholaNoctis
      ScholaNoctis uses MemcachedMemcached

      Memcached is used as a simple page cache across the whole application.

      How much does Memcached cost?
      How much does MongoDB cost?
      How much does RocksDB cost?
      Pricing unavailable
      Pricing unavailable