shlogg · Early preview
Franck Pachot @franckpachot

YugabyteDB Two-Layer Architecture Simplified

YugabyteDB's 2-layer design: SQL processing layer & distributed transactional storage. Both layers on all nodes for easy deployment & scaling. Supports multiple query APIs like YSQL & YCQL.

YugabyteDB is designed with a logical architecture in two layers. In each database node, the upper half is the SQL processing layer that parses the SQL query, builds an optimized execution plan, and executes it. The application connects to a PostgreSQL backend, transforming the complex SQL execution into key-value read and write operations to be sent to the distributed transactional storage. This distributed storage is the lower half, which holds a part of the data on each node. Both logical layers are physically available on all nodes, making the deployment easier: all nodes are equal and act...