Memcached vs Riak: What are the differences?
Memcached: High-performance, distributed memory object caching system. 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; Riak: A distributed, decentralized data storage system. Riak is a distributed database designed to deliver maximum data availability by distributing data across multiple servers. As long as your client can reach one Riak server, it should be able to write data. In most failure scenarios, the data you want to read should be available, although it may not be the most up-to-date version of that data.
Memcached and Riak belong to "Databases" category of the tech stack.
"Fast object cache" is the top reason why over 133 developers like Memcached, while over 9 developers mention "High Performance " as the leading cause for choosing Riak.
Memcached and Riak are both open source tools. Memcached with 8.99K GitHub stars and 2.6K forks on GitHub appears to be more popular than Riak with 3.24K GitHub stars and 530 GitHub forks.
According to the StackShare community, Memcached has a broader approval, being mentioned in 755 company stacks & 267 developers stacks; compared to Riak, which is listed in 15 company stacks and 10 developer stacks.
What is Memcached?
What is Riak?
Want advice about which of these to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Memcached?
What are the cons of using Riak?
Sign up to get full access to all the companiesMake informed product decisions
Sign up to get full access to all the tool integrationsMake informed product decisions
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.
Distributed cache exposed through Google App Engine APIs; use to stage fresh data (incoming and recently processed) for faster access in data processing pipeline.
Memcache caches database results and articles, reducing overall DB load and allowing seamless DB maintenance during quiet periods.
Used to cache most used files for our clients. Connected with CloudFlare Railgun Optimizer.