Shared Nothing Architecture

April 29, 2024 | 1 Minute Read

Shared nothing architecture provides low latency, high bandwidth, as well as high availability.

The three most commonly mentioned architectures for multiprocessor high transaction rate systems are:

  • Shared memory (SM), i.e. multiple processors shared a common central memory
  • Shared disk (SD), i.e. multiple processors each with private memory share a common collection of disks
  • Shared nothing (SN), i.e. neither memory nor peripheral storage is shared among processors

ScyllaDB

  • ScyllaDB is the monstrously fast and scalable NoSQL database. Fully compatible with apache Cassandra and Amazon DynamoDB,
  • ScyllaDB embraces a shared-nothing approach that increases throughput and storage capacity as much as 10X that of Cassandra.
  • Comcast, Medium, Starbucks, Ola Cabs Adopted ScyllaDB to realize order-of-magnitude performance improvements and reduce hardware costs

Why Discord migrated from Cassandra to ScyllaDB

Cassandra is a LSM Based data store, reads are more expensive than writes. Writes are appended to a commit log and written to an in memory structure called a memtable that is eventually flushed to disk. Reads, however, need to query the memtable and potentially multiple SSTables (on-disk files), a more expensive operation.

Read this blog how discord migrated to ScyllaDB to improve performance and lower latency levels.

Reference