From the decorator pattern to circuit breakers in microservices

Fabrizio Montesi, Janine Weber

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

Abstract

We analyse different deployment setups for circuit breaker, a design pattern for preventing cascading failures by guarding calls towards a target service. Then, we define a unifying implementation strategy in the setting of microservices, by using the Jolie programming language. Our implementation captures all setups with a single program, by interpreting a circuit breaker as a decorator that is generic on the interface of its target service.

Original languageEnglish
Title of host publicationProceedings of the 33rd Annual ACM Symposium on Applied Computing
VolumePart F137816
PublisherAssociation for Computing Machinery
Publication date2018
Pages1733-1735
ISBN (Electronic)9781450351911
DOIs
Publication statusPublished - 2018
Event33rd Annual ACM Symposium on Applied Computing, SAC 2018 - Pau, France
Duration: 9. Apr 201813. Apr 2018

Conference

Conference33rd Annual ACM Symposium on Applied Computing, SAC 2018
CountryFrance
CityPau
Period09/04/201813/04/2018
SponsorACM Special Interest Group on Applied Computing (SIGAPP)

    Fingerprint

Keywords

  • Circuit breaker
  • Decorator pattern
  • Microservices

Cite this

Montesi, F., & Weber, J. (2018). From the decorator pattern to circuit breakers in microservices. In Proceedings of the 33rd Annual ACM Symposium on Applied Computing (Vol. Part F137816, pp. 1733-1735). Association for Computing Machinery. https://doi.org/10.1145/3167132.3167427