Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are Riak advantages for Redis Key-Value store?

I have come across Riak being used as Key-Value store in major corporations. Wondering what are its distinguished features from popular Key-Value store like Redis?

like image 786
Cast Away Avatar asked May 05 '16 20:05

Cast Away


People also ask

Is Riak a key-value store?

Riak (pronounced "ree-ack") is a distributed NoSQL key-value data store that offers high availability, fault tolerance, operational simplicity, and scalability.

How is the Redis different from other key-value stores or DBS )?

Redis is different compared to other key-value stores because of the following: Redis is a different evolution path in the key-value databases where values can contain more complex data types, with atomic operations defined on those data types.

What is Redis key-value store?

redis is an in-memory, key/value store. Think of it as a dictionary with any number of keys, each of which has a value that can be set or retrieved. However, Redis goes beyond a simple key/value store as it is actually a data structures server, supporting different kinds of values.


1 Answers

The biggest difference is the "typical usage" for each. Redis is typically used as a high-speed in-memory cache for applications, whereas Riak is typically used as a scalable highly available persistent data store / database. Each has their strengths, and weaknesses, but it is similar to comparing apples and oranges.

Redis focuses on speed, inherent data structures, and does offer capabilities to cluster instances as master/slave and shard data, but with extra configuration.

Riak focuses on easy scalability, data safety, and hides the sharding / consistency models from most developers, but at the cost of higher latency since it writes to disk instead of to memory, and handles shards/replicas internally.

In the end it depends on what your engineering needs are.

Adron Hall has a good in-depth writeup here.

Disclosure: I work for Basho.

like image 180
Alex Moore Avatar answered Sep 28 '22 20:09

Alex Moore