AlgoViz

Cassandra

hard 38 min

Apache Cassandra spreads rows around a ring of equal nodes and copies each row to several of them.

Where it shows up

The same pattern appears across everyday software.

  • Apple

    The Apache project's case studies quote Apple running over 75,000 Cassandra nodes with more than 10 petabytes, and one cluster of over 1,000 nodes.

  • Netflix

    The project's case studies describe Netflix managing petabytes of data in Cassandra that must be read in milliseconds.

  • Instagram

    Instagram began using Cassandra in 2012 to replace Redis, as quoted in the project's case studies, and grew one of the larger deployments.

  • Discord, and why it left

    Discord kept messages in Cassandra, 12 nodes in 2017 and 177 in early 2022, then moved to ScyllaDB, a compatible database, with 72 nodes, because of hot partitions, latency and effort.

  • Spotify

    The project's case studies quote Spotify's satisfaction with Cassandra for personalisation data.

  • eBay

    The case studies list dozens of nodes, over 200 TB of storage and more than 400 million writes a day.

  • Sensor and activity data

    Readings, audit trails and feeds fit well: many writes, read by key and time, removed by TTL.