Cassandra vs Riak

Cassandra
Cassandra

1.8K
2.6K
441
Riak
Riak

74
374
35
Add tool

Cassandra vs Riak: What are the differences?

Developers describe Cassandra as "A partitioned row store. Rows are organized into tables with a required primary key". Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL. On the other hand, Riak is detailed as "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.

Cassandra and Riak can be primarily classified as "Databases" tools.

"Distributed" is the top reason why over 96 developers like Cassandra, while over 9 developers mention "High Performance " as the leading cause for choosing Riak.

Cassandra and Riak are both open source tools. Cassandra with 5.23K GitHub stars and 2.33K forks on GitHub appears to be more popular than Riak with 3.22K GitHub stars and 526 GitHub forks.

According to the StackShare community, Cassandra has a broader approval, being mentioned in 337 company stacks & 230 developers stacks; compared to Riak, which is listed in 15 company stacks and 10 developer stacks.

What is Cassandra?

Partitioning means that Cassandra can distribute your data across multiple machines in an application-transparent matter. Cassandra will automatically repartition as machines are added and removed from the cluster. Row store means that like relational databases, Cassandra organizes data by rows and columns. The Cassandra Query Language (CQL) is a close relative of SQL.

What is Riak?

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.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose Cassandra?
Why do developers choose Riak?
What are the cons of using Cassandra?
What are the cons of using Riak?
    Be the first to leave a con
    What companies use Cassandra?
    What companies use Riak?
    What are some alternatives to Cassandra and Riak?
    HBase
    Apache HBase is an open-source, distributed, versioned, column-oriented store modeled after Google' Bigtable: A Distributed Storage System for Structured Data by Chang et al. Just as Bigtable leverages the distributed data storage provided by the Google File System, HBase provides Bigtable-like capabilities on top of Apache Hadoop.
    Hadoop
    The Apache Hadoop software library is a framework that allows for the distributed processing of large data sets across clusters of computers using simple programming models. It is designed to scale up from single servers to thousands of machines, each offering local computation and storage.
    Redis
    Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
    Couchbase
    Developed as an alternative to traditionally inflexible SQL databases, the Couchbase NoSQL database is built on an open source foundation and architected to help developers solve real-world problems and meet high scalability demands.
    MySQL
    The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
    See all alternatives
    What tools integrate with Cassandra?
    What tools integrate with Riak?
      No integrations found
        No integrations found
        Decisions about Cassandra and Riak
        No stack decisions found
        Interest over time
        Reviews of Cassandra and Riak
        No reviews found
        How developers use Cassandra and Riak
        Avatar of Soundcloud
        Soundcloud uses CassandraCassandra

        Stitch is a wrapper around a Cassandra database. It has a web application that provides read-access to the counts through an HTTP API. The counts are written to Cassandra in two distinct ways, and it's possible to use either or both of them:

        • Real-time: For real-time updates, Stitch has a processor application that handles a stream of events coming from a broker and increments the appropriate counts in Cassandra.

        • Batch: The batch part is a MapReduce job running on Hadoop that reads event logs, calculates the overall totals, and bulk loads this into Cassandra.

        Avatar of Vital Labs, Inc.
        Vital Labs, Inc. uses CassandraCassandra

        Cassandra is our data management workhorse. It handles all our key-value services, supports time-series data storage and retrieval, securely stores all our audit trails, and backs our Datomic database.

        Avatar of SocialCops
        SocialCops uses CassandraCassandra

        While we experimented with Cassandra in the past, we are no longer using it. It is, however, open for consideration in future projects.

        Avatar of ShareThis
        ShareThis uses CassandraCassandra

        We are using Cassandra in a few of our apps. One of them is as a count service application to track the number of shares, clicks.. etc

        Avatar of Kaiko
        Kaiko uses CassandraCassandra
        How much does Cassandra cost?
        How much does Riak cost?
        Pricing unavailable
        Pricing unavailable