May 2026
CUBRID Architecture Overview
Processes, Layered Stack, Query Pipeline, Distribution
Front-door router for the CUBRID code-analysis tree. Names the four long-lived processes (cub_master, cub_server, cub_pl, cub_broker + cub_cas) and their IPC; walks the layered storage stack from disk to workspace; traces the query pipeline from parser to cursor; sketches the concurrency axis (MVCC + lock + log + checkpoint + recovery + DWB), the distribution layer (heartbeat + HA + CDC + 2PC + flashback + backup), the PL family, and the cross-cutting infrastructure. One diagram per axis, with cross-refs into ~70 detail docs across eight subcategories.