Tagged articles

CB-SQL

7 articles · Page 1 of 1
JD Retail Technology
JD Retail Technology
Sep 27, 2019 · Databases

Linearizability, Raft, and CB‑SQL Consistency: Range Lease and Node Lease Optimizations

This article explains linearizability in distributed systems, compares Raft read strategies, and describes how CB‑SQL uses range leases and node leases to achieve strong consistency while reducing overhead, illustrating the trade‑offs and evolutionary design choices behind its consensus mechanisms.

CB-SQLDistributed DatabasesLinearizability
0 likes · 11 min read
Linearizability, Raft, and CB‑SQL Consistency: Range Lease and Node Lease Optimizations
JD Retail Technology
JD Retail Technology
Sep 20, 2019 · Databases

Follower Reads, Closed Timestamp, and Minimum Proposal Tracker in CB‑SQL

This article explains how CB‑SQL implements follower reads by using safe (closed) timestamps, describes the CT update mechanism with a Minimum Proposal Tracker, and discusses routing, replica read validation, timestamp forwarding, range split/merge handling, and recovery strategies for consistent distributed reads.

CB-SQLCDCClosed Timestamp
0 likes · 15 min read
Follower Reads, Closed Timestamp, and Minimum Proposal Tracker in CB‑SQL
JD Retail Technology
JD Retail Technology
Sep 5, 2019 · Databases

CB‑SQL Backup and Restore: Logical and Physical Methods

This article explains CB‑SQL's two backup approaches—logical (using DUMP and IMPORT) and physical (using BACKUP and RESTORE)—detailing their mechanisms, supported formats, storage options, performance characteristics, and how they ensure reliable data recovery for large‑scale distributed databases.

BackupCB-SQLLogical Backup
0 likes · 7 min read
CB‑SQL Backup and Restore: Logical and Physical Methods
JD Retail Technology
JD Retail Technology
Jul 19, 2019 · Databases

Optimizing Distributed Transactions in CB‑SQL: From Two‑Phase Commit to Parallel and Pipeline Commit

This article explains how CB‑SQL improves distributed transaction performance by introducing a transaction record table, parallel prepare requests, one‑phase commit for single‑shard writes, latch‑based consistent reads, transaction pipelines, and a staged parallel‑commit mode, dramatically reducing latency and I/O overhead.

CB-SQLLatchRaft
0 likes · 13 min read
Optimizing Distributed Transactions in CB‑SQL: From Two‑Phase Commit to Parallel and Pipeline Commit