ydb-platform / ydb

YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions
https://ydb.tech
Apache License 2.0
3.99k stars 563 forks source link

YDB and CAP/PACELC theorem #154

Open grolegor opened 1 year ago

grolegor commented 1 year ago

How to categorise YDB using CAP/PACELC theorem? If it's even possible due to the fact that these theorems aren't ideal (please stop calling databases CP or AP) But categorising distributed system using these theorems still has some basic value though. How to do it for YDB? Maybe it depends on settings of YDB cluster. Could you elaborate on this please. It might be useful for developers who are thinking about migration to YDB.

kirillgrachoff commented 1 year ago

Maybe the answer could be found here: https://ydb.tech/en/docs/concepts/#:~:text=Strict%20consistency%20which%20can%20be%20relaxed%20to%20increase%20performance.