Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Expect the un-expected: How to handle errors gr...

Expect the un-expected: How to handle errors gracefully

Even though you tested your application perfectly, errors and bugs will still happen in production, especially if other services or databases go down or are under high load. Thus it is very important to see errors happening and to be able to react to them quickly. In this session we’ll introduce you to efficient ways for monitoring and logging for errors and show how you can handle them if they happen, covering deployment strategies, using intelligent circuit breakers, and gracefully reducing functionality. The session will give examples and recommendations so that you can quickly get started with implementing these.

Bastian Hofmann

March 15, 2018
Tweet

More Decks by Bastian Hofmann

Other Decks in Programming

Transcript

  1. http service http service http service http service create unique

    trace_id for request user request trace_id trace_id trace_id trace_id log log log log log gateway service
  2. Service A Service B Error Circuit Breaker Status: -> open

    Error rate: > threshold Test if still failing
  3. Service A Service B 200 OK Circuit Breaker Status: ->

    close Error rate: 0 Test if still failing