skip to main content
research-article

Stateful functions as a service in action

Published:01 August 2019Publication History
Skip Abstract Section

Abstract

In the serverless model, users upload application code to a cloud platform and the cloud provider undertakes the deployment, execution and scaling of the application, relieving users from all operational aspects. Although very popular, current serverless offerings offer poor support for the management of local application state, the main reason being that managing state and keeping it consistent at large scale is very challenging. As a result, the serverless model is inadequate for executing stateful, latency-sensitive applications. In this paper we present a high-level programming model for developing stateful functions and deploying them in the cloud. Our programming model allows functions to retain state as well as call other functions. In order to deploy stateful functions in a cloud infrastructure, we translate functions and their data exchanges into a stateful dataflow graph. With this paper we aim at demonstrating that using a modified version of an open-source dataflow engine as a runtime for stateful functions, we can deploy scalable and stateful services in the cloud with surprisingly low latency and high throughput.

References

  1. P. A. Bernstein and S. Bykov. Developing cloud services using the orleans virtual actor model. IEEE Internet Computing, 20(5), 2016. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. P. Carbone, S. Ewen, G. Fóra, S. Haridi, S. Richter, and K. Tzoumas. State management in Apache Flink®: consistent stateful distributed stream processing. PVLDB, 10(12):1718--1729, 2017. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. P. Carbone, A. Katsifodimos, S. Ewen, V. Markl, S. Haridi, and K. Tzoumas. Apache Flink®: Stream and Batch Processing in a Single Engine. IEEE Data Engineering Bulletin, 38, 2015.Google ScholarGoogle Scholar
  4. B. Chandramouli, G. Prasaad, D. Kossmann, J. J. Levandoski, J. Hunter, and M. Barnett. FASTER: A concurrent key-value store with in-place updates. In ACM SIGMOD, 2018. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. R. C. Fernandez, M. Migliavacca, E. Kalyvianaki, and P. Pietzuch. Making state explicit for imperative big data processing. In USENIX ATC, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. J. M. Hellerstein, J. M. Faleiro, J. E. Gonzalez, J. Schleier-Smith, V. Sreekanti, A. Tumanov, and C. Wu. Serverless computing: One step forward, two steps back. In CIDR '19, 2019.Google ScholarGoogle Scholar
  7. E. Jonas, J. Schleier-Smith, V. Sreekanti, C.-C. Tsai, A. Khandelwal, Q. Pu, V. Shankar, J. Carreira, K. Krauth, N. Yadwadkar, J. E. Gonzalez, R. A. Popa, I. Stoica, and D. A. Patterson. Cloud programming simplified: A berkeley view on serverless computing, 2019.Google ScholarGoogle Scholar
  8. A. Katsifodimos and M. Fragkoulis. Operational stream processing: Towards scalable and consistent event-driven applications. In EDBT. ACM, 2019.Google ScholarGoogle Scholar
  9. J. Meehan, N. Tatbul, S. Zdonik, C. Aslantas, U. Cetintemel, J. Du, T. Kraska, S. Madden, D. Maier, A. Pavlo, et al. S-store: streaming meets transaction processing. PVLDB, 8(13):2134--2145, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M. Saey, J. De Koster, and W. De Meuter. Skitter: A dsl for distributed reactive workflows. In ACM SIGPLAN Workshop on Reactive and Event-Based Languages and Systems, 2018. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. V. Shah and M. A. Vaz Salles. Reactors: A case for predictable, virtualized actor database systems. In ACM SIGMOD, 2018. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. L. Wang, M. Li, Y. Zhang, T. Ristenpart, and M. Swift. Peeking behind the curtains of serverless platforms. In USENIX ATC '18, 2018. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Stateful functions as a service in action
    Index terms have been assigned to the content through auto-classification.

    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

    Full Access

    • Published in

      cover image Proceedings of the VLDB Endowment
      Proceedings of the VLDB Endowment  Volume 12, Issue 12
      August 2019
      547 pages

      Publisher

      VLDB Endowment

      Publication History

      • Published: 1 August 2019
      Published in pvldb Volume 12, Issue 12

      Qualifiers

      • research-article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader