Serverless Runtime / Database Co-Design With Asynchronous I/O

Pekka Enberg, Sasu Tarkoma, Jon Crowcroft, Ashwin Rao

Research output: Chapter in Book/Report/Conference proceedingConference contributionScientificpeer-review

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 languageEnglish
Title of host publicationProceedings of the 7th International Workshop on Edge Systems, Analytics and Networking
Place of PublicationNew York, NY, USA
PublisherAssociation for Computing Machinery
Publication date2024
Pages49–54
ISBN (Print)979-8-4007-0539-7
DOIs
Publication statusPublished - 2024
MoE publication typeA4 Article in conference proceedings
EventEuropean Conference on Computer Systems - Athens, Greece
Duration: 22 Apr 202422 Apr 2024
Conference number: 19

Fields of Science

  • Edge computing
  • in-process databases
  • serverless computing
  • 113 Computer and information sciences

Cite this