Tag

CB-SQL

1 views collected around this technical thread.

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.

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

Design and Challenges of CB‑SQL Changefeed for Distributed Cloud‑Native Databases

The article explains CB‑SQL’s distributed changefeed architecture, its CDC implementation, the challenges of horizontal scalability and transactional ordering, and the innovative RangeFeed mechanism that enables ordered row‑level streams, resolved timestamps, and seamless integration with external systems like Kafka.

CB-SQLCDCChangefeed
0 likes · 13 min read
Design and Challenges of CB‑SQL Changefeed for Distributed Cloud‑Native Databases
JD Retail Technology
JD Retail Technology
Aug 16, 2019 · Databases

Online Schema Change in Distributed Databases: Insights from Google F1 and CB‑SQL

The article explains how distributed databases can perform online, asynchronous schema changes without blocking reads or writes by using lease‑based coordination, intermediate delete‑only and write‑only states, and a multi‑step algorithm inspired by Google F1 and implemented in CB‑SQL.

CB-SQLDistributed DatabasesGoogle F1
0 likes · 11 min read
Online Schema Change in Distributed Databases: Insights from Google F1 and CB‑SQL
JD Retail Technology
JD Retail Technology
Aug 9, 2019 · Databases

CB‑SQL Overview: Architecture, RocksDB Foundations, and Performance Optimizations

This article introduces CB‑SQL, a MySQL‑compatible elastic database built on CockroachDB and RocksDB, explains RocksDB’s LSM‑tree design, details key configuration parameters, and describes the read/write/clear/file‑operation optimizations employed by CB‑SQL to achieve high scalability and stability.

CB-SQLDatabase ArchitectureDistributed storage
0 likes · 13 min read
CB‑SQL Overview: Architecture, RocksDB Foundations, and Performance Optimizations
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-SQLDatabase OptimizationRaft
0 likes · 13 min read
Optimizing Distributed Transactions in CB‑SQL: From Two‑Phase Commit to Parallel and Pipeline Commit