Enforcing Consistency in Microservice Architectures through Event-based Constraints

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

Standard

Enforcing Consistency in Microservice Architectures through Event-based Constraints. / Lesniak, Anna ; Nunes Laigner, Rodrigo; Zhou, Yongluan.

ACM International Conference on Distributed and Event‐based Systems (DEBS). 2021. ed. Minal, Italy : Association for Computing Machinery, 2021. p. 180–183.

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

Harvard

Lesniak, A, Nunes Laigner, R & Zhou, Y 2021, Enforcing Consistency in Microservice Architectures through Event-based Constraints. in ACM International Conference on Distributed and Event‐based Systems (DEBS). 2021 edn, Association for Computing Machinery, Minal, Italy, pp. 180–183, 15th ACM International Conference on Distributed and Event-based Systems, Virtual, 28/06/2021. https://doi.org/10.1145/3465480.3467839

APA

Lesniak, A., Nunes Laigner, R., & Zhou, Y. (2021). Enforcing Consistency in Microservice Architectures through Event-based Constraints. In ACM International Conference on Distributed and Event‐based Systems (DEBS) (2021 ed., pp. 180–183). Association for Computing Machinery. https://doi.org/10.1145/3465480.3467839

Vancouver

Lesniak A, Nunes Laigner R, Zhou Y. Enforcing Consistency in Microservice Architectures through Event-based Constraints. In ACM International Conference on Distributed and Event‐based Systems (DEBS). 2021 ed. Minal, Italy: Association for Computing Machinery. 2021. p. 180–183 https://doi.org/10.1145/3465480.3467839

Author

Lesniak, Anna ; Nunes Laigner, Rodrigo ; Zhou, Yongluan. / Enforcing Consistency in Microservice Architectures through Event-based Constraints. ACM International Conference on Distributed and Event‐based Systems (DEBS). 2021. ed. Minal, Italy : Association for Computing Machinery, 2021. pp. 180–183

Bibtex

@inproceedings{63d13516daf54038889b9fe71d1a51ad,
title = "Enforcing Consistency in Microservice Architectures through Event-based Constraints",
abstract = "Microservice architectures are an emerging paradigm for developing event-driven applications. By prescribing that an application is decomposed into small and independent components, each encapsulating its own state and communicating via asynchronous events, new components and events can be easily integrated into the system. However, by pursuing a model where events are generated and processed at the application-level, developers have a hard time to safeguard arbitrary event interleavings from doing harm to application safety.To address these challenges, we start by analyzing event-driven microservice open-source applications to identify unsafe interleavings. Next, we categorize event-based constraints to address such unsafe encodings, providing an easy-to-use guide for microservice developers. Finally, we introduce StreamConstraints, a library built on top of Kafka Streams designed to enforce explicit event-based constraints defined by developers. We showcase StreamConstraints based on the case of a popular event-driven microservice system, and demonstrate how it could benefit from event-based constraints to ensure application safety.",
author = "Anna Lesniak and {Nunes Laigner}, Rodrigo and Yongluan Zhou",
year = "2021",
month = jun,
day = "28",
doi = "10.1145/3465480.3467839",
language = "English",
pages = "180–183",
booktitle = "ACM International Conference on Distributed and Event‐based Systems (DEBS)",
publisher = "Association for Computing Machinery",
edition = "2021",
note = "15th ACM International Conference on Distributed and Event-based Systems ; Conference date: 28-06-2021 Through 02-07-2021",

}

RIS

TY - GEN

T1 - Enforcing Consistency in Microservice Architectures through Event-based Constraints

AU - Lesniak, Anna

AU - Nunes Laigner, Rodrigo

AU - Zhou, Yongluan

PY - 2021/6/28

Y1 - 2021/6/28

N2 - Microservice architectures are an emerging paradigm for developing event-driven applications. By prescribing that an application is decomposed into small and independent components, each encapsulating its own state and communicating via asynchronous events, new components and events can be easily integrated into the system. However, by pursuing a model where events are generated and processed at the application-level, developers have a hard time to safeguard arbitrary event interleavings from doing harm to application safety.To address these challenges, we start by analyzing event-driven microservice open-source applications to identify unsafe interleavings. Next, we categorize event-based constraints to address such unsafe encodings, providing an easy-to-use guide for microservice developers. Finally, we introduce StreamConstraints, a library built on top of Kafka Streams designed to enforce explicit event-based constraints defined by developers. We showcase StreamConstraints based on the case of a popular event-driven microservice system, and demonstrate how it could benefit from event-based constraints to ensure application safety.

AB - Microservice architectures are an emerging paradigm for developing event-driven applications. By prescribing that an application is decomposed into small and independent components, each encapsulating its own state and communicating via asynchronous events, new components and events can be easily integrated into the system. However, by pursuing a model where events are generated and processed at the application-level, developers have a hard time to safeguard arbitrary event interleavings from doing harm to application safety.To address these challenges, we start by analyzing event-driven microservice open-source applications to identify unsafe interleavings. Next, we categorize event-based constraints to address such unsafe encodings, providing an easy-to-use guide for microservice developers. Finally, we introduce StreamConstraints, a library built on top of Kafka Streams designed to enforce explicit event-based constraints defined by developers. We showcase StreamConstraints based on the case of a popular event-driven microservice system, and demonstrate how it could benefit from event-based constraints to ensure application safety.

U2 - 10.1145/3465480.3467839

DO - 10.1145/3465480.3467839

M3 - Article in proceedings

SP - 180

EP - 183

BT - ACM International Conference on Distributed and Event‐based Systems (DEBS)

PB - Association for Computing Machinery

CY - Minal, Italy

T2 - 15th ACM International Conference on Distributed and Event-based Systems

Y2 - 28 June 2021 through 2 July 2021

ER -

ID: 270162658