O'Reilly logo

Microservices in .NET Core: with examples in Nancy by Christian Horsdal Gammelgaard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Designing for robustness

This chapter covers

  • Communicating robustly between microservices
  • Letting the calling side take responsibility for robustness in the face of failure
  • Rolling back versus rolling forward
  • Implementing robust communication

This chapter introduces strategies for making a system of microservices robust in the face of failures. In general, whenever one microservice communicates with another microservice, the communication may fail. In this chapter, you’ll learn about and implement some patterns for dealing with such failures. The strategies are fairly simple, yet they’ll make the overall system much more robust.

Failures and errors

I’ll distinguish between the terms failure and error. A failure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required