Home Conference Sessions 3 Common Pitfall...

3 Common Pitfalls in Microservice Integration and How to Avoid Them

Bernd Rücker | GOTO Berlin 2019

You need to be signed in to add a collection

Integrating microservices and taming distributed systems is hard. In this talk I will present three challenges I've observed in real-life projects and discuss how to avoid them. 1. Communication is complex. With everything being distributed failures are normal so you need sophisticated failure handling strategies (e.g. stateful retry). 2. Asynchronicity requires you to handle timeouts. This is not only about milliseconds, systems get much more resilient when you can wait for minutes, hours or even longer. 3. Distributed transactions cannot simply be delegated to protocols like XA. So you need to solve the requirement to retain consistency in case of failures. I will not only use slides but also demonstrate concrete source code examples available on GitHub.

Share on:
linkedin facebook
Copied!

Transcript

Integrating microservices and taming distributed systems is hard. In this talk I will present three challenges I've observed in real-life projects and discuss how to avoid them.

  1. Communication is complex. With everything being distributed failures are normal so you need sophisticated failure handling strategies (e.g. stateful retry).

  2. Asynchronicity requires you to handle timeouts. This is not only about milliseconds, systems get much more resilient when you can wait for minutes, hours or even longer.

  3. Distributed transactions cannot simply be delegated to protocols like XA. So you need to solve the requirement to retain consistency in case of failures.

I will not only use slides but also demonstrate concrete source code examples available on GitHub.

About the speakers

Bernd Rücker

Bernd Rücker

Co-founder & chief technologist at Camunda