This question evaluates understanding of in-memory database engine design, including data model and API surface, in-memory storage layout and indexing, query execution, transaction isolation and concurrency control, durability mechanisms (WAL, snapshots, recovery), and strategies for replication and sharding.
Design the core of an in-memory, single-node database engine intended to be the building block for a larger distributed system. Data is primarily memory-resident on each node; durability and scale-out are achieved via logging, snapshots, and replication/sharding across multiple such nodes.
Provide a design that covers:
Login required