Rethinking State Management in Actor Systems for Cloud-Native Applications

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

1 Downloads (Pure)

Abstract

The actor model has gained increasing popularity. However, it lacks support for complex state management tasks, such as enforcing foreign key constraints and ensuring data replication consistency across actors. These are crucial properties in partitioned application designs, such as microservices. To fill this gap, we start by analyzing the key impediments in state-of-the-art actor systems. We find it difficult for developers to express complex data relationships across actors and reason about the impact of state updates on performance due to opaque state management abstractions. To solve this conundrum, we develop SmSa, a novel data management layer for actor systems, allowing developers to declare data dependencies that cut across actors, including foreign keys, data replications, and other dependencies. SmSa can transparently enforce the declared dependencies, reducing the burden on developers. Furthermore, SmSa employs novel logging and concurrency control algorithms to support transactional maintenance of data dependencies.We demonstrate SmSa can support core data management tasks where dependencies across components appear frequently without jeopardizing application logic expressiveness and performance. Our experiments show SmSa significantly reduces the logging overhead and leads to increased concurrency level, improving by up to 2X the performance of state-of-the-art deterministic scheduling approaches. As a result, SmSa will make it easier to design and implement highly partitioned and distributed applications.
Original languageEnglish
Title of host publicationSoCC '24: Proceedings of the 2024 ACM Symposium on Cloud Computing
Number of pages17
PublisherAssociation for Computing Machinery, Inc.
Publication date2024
Pages898–914
DOIs
Publication statusPublished - 2024
Event15th ACM Symposium on Cloud Computing - Microsoft Campus, Redmond, United States
Duration: 20 Nov 202422 Nov 2024
https://acmsocc.org/2024/

Conference

Conference15th ACM Symposium on Cloud Computing
LocationMicrosoft Campus
Country/TerritoryUnited States
CityRedmond
Period20/11/202422/11/2024
Internet address

Keywords

  • actor system
  • application safety
  • consistency
  • microservices
  • state management

Cite this