Hybrid Embedded-Server Database Architecture with Lock-Free Concurrency
We present a hybrid database architecture that enables simultaneous operation of embedded (in-process) and server (network-accessible) modes on the same persistent data store without mode switching overhead. Our system uses lock-free concurrency primitives including atomic state transitions (Atom-icU8) and concurrent write buffering (DashMap) to enable multiple access patterns without mutex contention. This architecture addresses a fundamental limitation in existing database systems whereusers must choose between embedded deployment (SQLite) or server deployment (PostgreSQL) but cannot have both simultaneously.
Authors
- Daniel Moya Vaca
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-03-27
- DOI
- https://doi.org/10.5281/zenodo.19244085
- Primary Topic
- Distributed systems and fault tolerance
- Type
- article
- Field-Weighted Citation Impact
- 0.00