skip to main content
10.1145/3630202.3630225acmconferencesArticle/Chapter ViewAbstractPublication PagesconextConference Proceedingsconference-collections
abstract

Towards Database and Serverless Runtime Co-Design

Published:05 December 2023Publication History

ABSTRACT

In serverless computing, minimizing database access latency is crucial, but databases predominantly reside in cloud environments, necessitating 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 changing the SQLite virtual machine to provide asynchronous bytecode instructions to avoid blocking in the library and decoupling the query and storage engines to facilitate database and serverless runtime co-design.

References

  1. Cloudflare. 2023. Workers. https://workers.cloudflare.com.Google ScholarGoogle Scholar
  2. Kevin P. Gaffney, Martin Prammer, Larry Brasfield, D. Richard Hipp, Dan Kennedy, and Jignesh M. Patel. 2022. SQLite: Past, Present, and Future. Proc. VLDB Endow. (2022).Google ScholarGoogle Scholar
  3. D. Richard Hipp. 2023. SQLite. https://www.sqlite.org/index.html.Google ScholarGoogle Scholar
  4. Ben Johnson. 2023. LiteFS. https://github.com/superfly/litefs.Google ScholarGoogle Scholar
  5. Eric Jonas, Johann Schleier-Smith, Vikram Sreekanti, Chia-Che Tsai, Anurag Khandelwal, Qifan Pu, Vaishaal Shankar, Joao Carreira, Karl Krauth, Neeraja Yadwadkar, Joseph E. Gonzalez, Raluca Ada Popa, Ion Stoica, and David A. Patterson. 2019. Cloud Programming Simplified: A Berkeley View on Serverless Computing. https://www2.eecs.berkeley.edu/Pubs/TechRpts/2019/EECS-2019--3.pdf.Google ScholarGoogle Scholar
  6. libSQL. 2023. libSQL. https://github.com/libsql/libsql.Google ScholarGoogle Scholar
  7. Gil Tene. 2023. HdrHistogram: A High Dynamic Range Histogram. http://hdrhistogram.org/.Google ScholarGoogle Scholar
  8. Kenton Varda. 2023. D1 storage engine. https://x.com/KentonVarda/status/1659551757796515846?s=20.Google ScholarGoogle Scholar

Index Terms

  1. Towards Database and Serverless Runtime Co-Design

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        CoNEXT-SW '23: Proceedings of the on CoNEXT Student Workshop 2023
        December 2023
        41 pages
        ISBN:9798400704529
        DOI:10.1145/3630202

        Copyright © 2023 Owner/Author

        Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 5 December 2023

        Check for updates

        Qualifiers

        • abstract
      • Article Metrics

        • Downloads (Last 12 months)74
        • Downloads (Last 6 weeks)11

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader