Comparison between databases

less than 1 minute read

Published:

BigTable vs DynamoDB

DynamoDBBigTable
ArchitectureDecentralized
Every node has same set of responsibilites
Centralized
Master handles metadata, tablet server handle reads/writes
DataModelKey-ValueMultidimensional Sorted-Map
PartitioningConsistent Hashing
Each node is assigned to a random position on the ring
Tablets
Each table is broken into a contiguous range of rows called tablets
ReplicationSloppy Quorum
Each data item is replicated to 'N' number of nodes
GFS Chunk replication
Data is stored in GFS. Files in GFS are broken into chunks, and these chunks are replicated to different servers
CAPAPCP
OperationsBy KeyBy Key-Range
StoragePlug-inSSTables in GFS
Memberships and failure detectionGossip based protocolHandshakes initiated by the master

Cassandra is a distributed, decentralized, and highly available NoSQL database. Its architecture is based on Dynamo and BigTable. Cassandra can be described as a BigTable-like datastore running on a Dynamo-like infrastructure. Cassandra is also a wide-column store and utilizes the storage model of BigTable, i.e., SSTables and MemTables.

Leave a Comment