Two APIs

YSQL: PostgreSQL protocol + syntax. YCQL: Cassandra Query Language. Same underlying storage.

Advertisement

DocDB

Document-shaped storage on top of RocksDB. Sharded by hash + range. Raft per tablet.

Advertisement

Cross-shard transactions

2PC + Raft-committed transaction status. Cross-shard ACID. Uses HLC for ordering.