Raft or not? The Best Solution to Data Consistency in Cloud-native Databases

Why consensus-based replication algorithm is not the silver bullet for achieving data consistency in distributed databases?

Cover image

Understanding replication, consistency, and consensus




Consensus in a distributed system.

Consensus-based replication

Raft replication state machine
Structure of Raft replication state machine.

Pros and cons

A log replication strategy for cloud-native and distributed database

1. Replication as a service

The architecture of Socrates.
The Socrates XLog service.

2. Russian doll principle

Rockset architecture
Rockset architecture.

The approach of Milvus the vector database

Milvus architecture
Milvus architecture.





Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

Open-source Vector Database Powering AI Applications. #SimilaritySearch #Embeddings #MachineLearning