Questions tagged [riak]

Riak is a key/value data store written in Erlang. It implements principles from Amazon's Dynamo paper.

Riak is a NoSQL database implementing the principles from Amazon's Dynamo paper. Riak is designed to deliver maximum data availability by distributing data across multiple servers. As long as your Riak client can reach one Riak server, it should be able to write data.

While Riak is typically known as an eventually consistent system, beginning with version 2.0 it can be used either as an eventually or strongly consistent system, and these two approaches can be mixed and matched in a single cluster.

For more information please refer to:

  1. Home page
  2. Downloads

Related tags :

771 questions
80
votes
1 answer

Explain Merkle Trees for use in Eventual Consistency

Merkle Trees are used as an anti-entropy mechanism in several distributed, replicated key/value stores: Dynamo Riak Cassandra No doubt an anti-entropy mechanism is A Good Thing - transient failures just happen, in production. I'm just not sure I…
Johnny Graettinger
  • 1,078
  • 1
  • 8
  • 7
49
votes
3 answers

How does Leveldb compare with Redis or Riak or Tokyo Tyrant?

Leveldb seems to be a new interesting persistent key value store from Google. How does Leveldb differ from Redis or Riak or Tokyo Tyrant? In what specific use cases is one better than the other?
rafidude
  • 4,496
  • 7
  • 27
  • 23
40
votes
6 answers

Run a service automatically in a docker container

I'm setting up a simple image: one that holds Riak (a NoSQL database). The image starts the Riak service with riak start as a CMD. Now, if I run it as a daemon with docker run -d quintenk/riak-dev, it does start the Riak process (I can see that in…
qkrijger
  • 26,686
  • 6
  • 36
  • 37
24
votes
10 answers

Full-text search in NoSQL databases

Has anyone here have any experience deploying a real online system that had a full text search in any of the NoSQL databases? For example, how does the full-text search compare in MongoDB, Riak and CouchDB? Some of the metric that I am looking…
unj2
  • 52,135
  • 87
  • 247
  • 375
21
votes
1 answer

Good practices when developing an application in Erlang (and Riak)?

We are getting familiar with Erlang/OTP and Riak (Core, KV, Pipe, and so on) trying to build an open-source distributed application in turn. Our project is going to have a bunch of dependencies : tools like erlang_js, protobuffs, etc., but also…
matehat
  • 5,214
  • 2
  • 29
  • 40
20
votes
5 answers

Cassandra vs Riak

I am looking for an eventually consistent data store and it looks like it may be coming down to Riak or Cassandra. Has anyone got expereinces of a view on this?
yazz.com
  • 57,320
  • 66
  • 234
  • 385
19
votes
3 answers

Why big companies use Mnesia instead of using Riak or CouchDB

I can see 2 big companies like Klarna and Whatsapp are using Mnesia as their in memory database (not sure how they persist data with Mnesia with 2GB limit). My question is: why companies like those, and may be more I don't know, use Mnesia instead…
securecurve
  • 5,589
  • 5
  • 45
  • 80
17
votes
5 answers

Downsides of storing binary data in Riak?

What are the problems, if any, of storing binary data in Riak? Does it effect the maintainability and performance of the clustering? What would the performance differences be between using Riak for this rather than a distributed file system?
mikeal
  • 4,037
  • 2
  • 27
  • 22
17
votes
5 answers

Riak on Windows

I want to play with Riak http://riak.basho.com/ or a least get it running on a Windows system. I have downloaded the source code and compiled it but that's where I get stuck, how do I start it?
Michael Edwards
  • 6,308
  • 6
  • 44
  • 75
16
votes
9 answers

Which NoSQL DB is best fitted for OLTP financial systems?

We're designing an OLTP financial system. it should be able to support 10.000 transactions per second and have reporting features. So we have come to the idea of using: a NoSQL DB as our main storage a MySQL DB (Percona server actually) making some…
SDReyes
  • 9,798
  • 16
  • 53
  • 92
16
votes
3 answers

Riak performance - unexpected results

In the last days I played a bit with riak. The initial setup was easier then I thought. Now I have a 3 node cluster, all nodes running on the same vm for the sake of testing. I admit, the hardware settings of my virtual machine are very much…
Max
  • 15,693
  • 14
  • 81
  • 131
16
votes
3 answers

What library should I use for accessing Riak from Scala?

For a project I'm using both Scala and Riak (two things I have never worked with before ;) ). Google searches seem to suggest using Riakki. However, it seems like that particular library hasn't been maintained since 2009 and doesn't even compile on…
Marlies
  • 927
  • 1
  • 5
  • 18
14
votes
8 answers

Which, if any, of the NoSQL databases can provide stream of *changes* to a query result set?

Which, if any, of the NoSQL databases can provide stream of changes to a query result set? Could anyone point me at some examples? Firstly, I believe that none of the SQL databases provide this functionality - am I correct? I need to be able to…
fadedbee
  • 42,671
  • 44
  • 178
  • 308
14
votes
2 answers

When (and when not) to define a Monad

This is a question relating to the API design practises for defining your own Monad instances for Haskell libraries. Defining Monad instances seems to be a good way to isolate DSL's e.g. Par monad in monad-par, hdph; Process in distributed-process;…
Rob Stewart
  • 1,812
  • 1
  • 12
  • 25
13
votes
2 answers

How to structure data in Riak?

I'm trying to figure out how to model data in Riak. Let's say you are building something like a CMS with two features, news and products. You need to be able to store this information for multiple clients X and Y. How would you typically structure…
Fabian Alenius
  • 143
  • 1
  • 6
1
2 3
51 52