StarRocks: FE query planning and the MPP path
StarRocks is a MySQL-compatible MPP OLAP engine. A cluster is Frontend (FE) nodes for metadata and query coordination plus Backend (BE) or Compute …
StarRocks is a MySQL-compatible MPP OLAP engine. A cluster is Frontend (FE) nodes for metadata and query coordination plus Backend (BE) or Compute …
RocksDB is the embeddable LSM key-value engine under each TiKV store. TiKV builds tikv/rocksdb (branch 8.10.tikv) through rust-rocksdb, and opens two …
TiKV is TiDB’s row store built on Multi-Raft: every Region is a Raft group, every durable write is a Raft log entry, and RocksDB holds the Raft log ( …
The CAP theorem states what a replicated store can guarantee when the network splits. Raft implements CAP’s CP choice via majority quorum. This post …
TiDB is a MySQL-compatible distributed SQL system. A deployment is a cluster of TiDB servers (compute), PD (control), TiKV (row store), and optionally …
Apache Lucene is the Java library behind each Elasticsearch shard’s on-disk store. This post walks how a Lucene index is laid out—segments, index …
Elasticsearch is a distributed search engine: clients speak HTTP, nodes form a TCP mesh, a master publishes ClusterState, and each data node stores …
Redis stores the live keyspace in memory and may persist it to disk with RDB snapshots and AOF logs. In Cluster mode the keyspace is partitioned into …
Redis Cluster keeps a second network plane beside client RESP: the cluster bus. Nodes use it to discover peers, share slot and epoch views, detect …
Redis Pub/Sub is an in-process fan-out over named channels and glob patterns. It is not the keyspace: messages are not stored as keys, have no TTL or …
Redis stores keys in memory and serves RESP commands on a single-threaded event loop. This post covers four areas from the current source under …
Build Redis from source on Fedora and debug redis-server in CLion. Architecture notes: Redis internals, Pub/Sub, Cluster bus.
This article examines MySQL INSERT and UPDATE from the SQL command layer through table and metadata locking into InnoDB record locking, undo …
For many years, MySQL executed SQL queries using a deeply nested, monolithic executor loop. Functions like JOIN::exec() and evaluate_join_record() …
Grouping and aggregation are cornerstones of relational databases. In MySQL, executing a GROUP BY statement involves a sophisticated dance between the …
This article introduces RocketMQ server Architecture and Implementation
This article introduces the internal architecture and implementation details of MySQL’s default storage engine, InnoDB, exploring its memory …
This article provides an in-depth dive into MySQL query processing internals, tracing the lifecycle of a query from the network connection to parsing, …