Grokking the System Design Interview, Volume II
Vote

0% completed

​

High-level Architecture

This lesson looks at how Cassandra is built. We start with its common terms. Then we move to the primary key and the mechanism that spreads data across nodes.

Cassandra common terms

Before we go deep into Cassandra's architecture, let's go through some of its common terms.

Column. A column is a key-value pair. It is the most basic unit of Cassandra's data structure.

  • Column key. Uniquely identifies a column in a row.
  • Column value. Stores one value, or a collection of values.

Row. A row is a container for columns, referenced by a primary key

.....

.....

.....

Like the course? Get enrolled and start learning!
L

liaoshi2001

· 2 years ago

In Cassandra, a client may connect to any node in the cluster to initiate a read or write query. This node is known as the coordinator node. But in Dynamo, a coordinator node is the first node that falls clockwise in the consistent hash ring.

My understanding is Dynamo allows zero hop where a client can directly talk with a node that's responsible for the key. But curious if there are any other differences and tradeoffs.

Reading Progress

0%


Vote for new content