Abstract
Minimizing database access latency is crucial in serverless edge computing for many applications, but databases are predominantly deployed in cloud environments, resulting in costly network round-trips. Embedding an in-process database library such as SQLite into the serverless runtime is the holy grail for low-latency database access. However, SQLite's architecture limits concurrency and multitenancy, which is essential for serverless providers, forcing us to rethink the architecture for integrating a database library.We propose rearchitecting SQLite to provide asynchronous byte-code instructions for I/O to avoid blocking in the library and decoupling the query and storage engines to facilitate database and serverless runtime co-design. Our preliminary evaluation shows up to a 100x reduction in tail latency, suggesting that our approach is conducive to runtime/database co-design for low latency.
Original language | English |
---|---|
Title of host publication | Proceedings of the 7th International Workshop on Edge Systems, Analytics and Networking |
Place of Publication | New York, NY, USA |
Publisher | Association for Computing Machinery |
Publication date | 2024 |
Pages | 49–54 |
ISBN (Print) | 979-8-4007-0539-7 |
DOIs | |
Publication status | Published - 2024 |
MoE publication type | A4 Article in conference proceedings |
Event | European Conference on Computer Systems - Athens, Greece Duration: 22 Apr 2024 → 22 Apr 2024 Conference number: 19 |
Fields of Science
- Edge computing
- in-process databases
- serverless computing
- 113 Computer and information sciences