Software Alternatives & Reviews

memcached VS RocksDB

Compare memcached VS RocksDB and see what are their differences

memcached logo memcached

High-performance, distributed memory object caching system

RocksDB logo RocksDB

A persistent key-value store for fast storage environments
  • memcached Landing page
    Landing page //
    2023-07-23
  • RocksDB Landing page
    Landing page //
    2022-03-12

memcached

Categories
  • Key-Value Database
  • Databases
  • NoSQL Databases
  • Graph Databases
Website memcached.org
Details $

RocksDB

Categories
  • Databases
  • NoSQL Databases
  • Key-Value Database
  • Relational Databases
Website rocksdb.org
Details $

memcached videos

Course Preview: Using Memcached and Varnish to Speed Up Your Linux Web App

RocksDB videos

How Online Backup works in MyRocks and RocksDB

More videos:

  • Review - RocksDB Meetup 2020 at Rockset
  • Review - TokuDB vs RocksDB

Category Popularity

0-100% (relative to memcached and RocksDB)
Databases
86 86%
14% 14
NoSQL Databases
90 90%
10% 10
Key-Value Database
92 92%
8% 8
Graph Databases
100 100%
0% 0

User comments

Share your experience with using memcached and RocksDB. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare memcached and RocksDB

memcached Reviews

Redis vs. KeyDB vs. Dragonfly vs. Skytable | Hacker News
Quick ask: I don’t see “some” of the other offering out there like MemCached… what was the criteria used to select these? I don’t see any source of how the test where run, specs of the systems, how the DB where set up, etc. Would be very valuable to have in order to attempt to re-validate these test on our own platform. I also came back and saw some of your updates...
Memcached vs Redis - More Different Than You Would Expect
So knowing how the difference between Redis and memcached in-memory usage, lets see what this means. Memcached slabs once assigned never change their size. This means it is possible to poison your memcached cluster and really waste memory. If you load your empty memcached cluster with lots of 1 MB items, then all of the slabs will be allocated to that size. Adding a 80 KB...
Redis vs. Memcached: In-Memory Data Storage Systems
Memcached itself does not support distributed mode. You can only achieve the distributed storage of Memcached on the client side through distributed algorithms such as Consistent Hash. The figure below demonstrates the distributed storage implementation schema of Memcached. Before the client side sends data to the Memcached cluster, it first calculates the target node of the...
Source: medium.com
Why Redis beats Memcached for caching
Both Memcached and Redis are mature and hugely popular open source projects. Memcached was originally developed by Brad Fitzpatrick in 2003 for the LiveJournal website. Since then, Memcached has been rewritten in C (the original implementation was in Perl) and put in the public domain, where it has become a cornerstone of modern Web applications. Current development of...

RocksDB Reviews

We have no reviews of RocksDB yet.
Be the first one to post

Social recommendations and mentions

Based on our record, memcached should be more popular than RocksDB. It has been mentiond 28 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

memcached mentions (28)

  • How to choose the right type of database
    Memcached: A simple, open-source, distributed memory object caching system primarily used for caching strings. Best suited for lightweight, non-persistent caching needs. - Source: dev.to / 29 days ago
  • A Developer's Journal: Simplifying the Twelve-Factor App
    Stores session state in a session store like Memcached or Redis. - Source: dev.to / 4 months ago
  • Django Caching 101: Understanding the Basics and Beyond
    Django supports using Memcached as a cache backend. Memcached is a high-performance, distributed memory caching system that can be used to store cached data across multiple servers. - Source: dev.to / 8 months ago
  • Node.js server-side authentication: Tokens vs. JWT
    In server-side authentication, the session state is stored on the server-side, which can be scaled horizontally across multiple servers using tools like Redis or Memcached. - Source: dev.to / 9 months ago
  • How Instagram handles data?
    The main components are sharding and caching. The storage is done with MySQL. The cache is done by memcached. Source: 11 months ago
View more

RocksDB mentions (11)

  • How to choose the right type of database
    RocksDB: A high-performance embedded database optimized for multi-core CPUs and fast storage like SSDs. Its use of a log-structured merge-tree (LSM tree) makes it suitable for applications requiring high throughput and efficient storage, such as streaming data processing. - Source: dev.to / 29 days ago
  • Fast persistent recoverable log and key-value store
    [RocksDB](https://rocksdb.org/) isn’t a distributed storage system, fwiw. It’s an embedded KV engine similar to LevelDB, LMDB, or really sqlite (though that’s full SQL, not just KV). - Source: Hacker News / about 1 month ago
  • The Hallucinated Rows Incident
    To output the top 3 rocks, our engine has to first store all the rocks in some sorted way. To do this, we of course picked RocksDB, an embedded lexicographically sorted key-value store, which acts as the sorting operation's persistent state. In our RocksDB state, the diffs are keyed by the value of weight, and since RocksDB is sorted, our stored diffs are automatically sorted by their weight. - Source: dev.to / 4 months ago
  • In-memory vs. disk-based databases: Why do you need a larger than memory architecture?
    Memgraph uses RocksDB as a key-value store for extending the capabilities of the in-memory database. Not to go into too many details about RocksDB, but let’s just briefly mention that it is based on a data structure called Log-Structured Merge-Tree (LSMT) (instead of B-Trees, typically the default option in databases), which are saved on disk and because of the design come with a much smaller write amplification... - Source: dev.to / 7 months ago
  • Event streaming in .Net with Kafka
    Streamiz wrap a consumer, a producer, and execute the topology for each record consumed in the source topic. You can easily create stateless and stateful application. By default, each state store is a RocksDb state store persisted on disk. - Source: dev.to / over 1 year ago
View more

What are some alternatives?

When comparing memcached and RocksDB, you can also consider the following products

Redis - Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.

MongoDB - MongoDB (from "humongous") is a scalable, high-performance NoSQL database.

Amazon DynamoDB - Amazon DynamoDB is a fully managed NoSQL database service offered by Amazon.

Aerospike - Aerospike is a high-performing NoSQL database supporting high transaction volumes with low latency.

PostgreSQL - PostgreSQL is a powerful, open source object-relational database system.

SQLite - SQLite Home Page