From the decorator pattern to circuit breakers in microservices

Fabrizio Montesi, Janine Weber [2018].
In proceedings of SAC 2018, pp. 1733-1735.

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.
Additional notes
Cite (BibTeX)
Click to expand
  author       = {Fabrizio Montesi and
                  Janine Weber},
  editor       = {Hisham M. Haddad and
                  Roger L. Wainwright and
                  Richard Chbeir},
  title        = {From the decorator pattern to circuit breakers in microservices},
  booktitle    = {Proceedings of the 33rd Annual {ACM} Symposium on Applied Computing,
                  {SAC} 2018, Pau, France, April 09-13, 2018},
  pages        = {1733--1735},
  publisher    = {{ACM}},
  year         = {2018},
  url          = {},
  doi          = {10.1145/3167132.3167427},
  timestamp    = {Wed, 25 Sep 2019 18:12:13 +0200},
  biburl       = {},
  bibsource    = {dblp computer science bibliography,}

A PDF is available (possibly a preprint):

Download PDF