Want to see who topped the 2019 Best Software Awards?
G2 Crowd User in Computer Software

When Riak is Less of a Good Fit

over 2 years ago

We recommend running no fewer than 5 data servers in a cluster. This means that Riak can be overkill for small databases. If you’re not already sure that you will need a distributed database, there’s a good chance that you won’t need Riak.

If explosive growth is a possibility, however, you are always highly advised to prepare for that in advance. Scaling at Internet speeds is sometimes compared to overhauling an airplane mid-flight. If you feel that such a transition might be necessary in the future, then you might want to consider Riak.

Riak’s simple data model, consisting of keys and values as its atomic elements, means that your data must be denormalized if your system is to be reasonably performant. For most applications this is not a serious hurdle. But if your data simply cannot be effectively managed as keys and values, Riak will most likely not be the best fit for you.

Correspondingly, if your application demands a high query load by any means other than key/value lookup—e.g. SQL-style SELECT * FROM table operations—Riak will not be as efficient as other databases. If you wish to compare Riak with other data technologies, Basho offers a tool called Basho Bench to help measure its performance, so that you can decide whether the availability and operational benefits of Riak outweigh its disadvantages.