Overview
Explore three common pitfalls in microservice integration and learn effective strategies to avoid them in this 51-minute conference talk. Dive into real-life project challenges, including complex communication, asynchronicity, and distributed transactions. Discover sophisticated failure handling strategies, such as stateful retry, and understand the importance of handling timeouts for increased system resilience. Examine alternatives to XA protocols for maintaining consistency in distributed systems. Benefit from concrete source code examples and practical insights to improve microservice architecture and tame distributed systems effectively.
Syllabus
Intro
Distributed systems
Who am I
Example
Fail fast
Handling state
Workflow engines
Examples in code
Stateful retrying
Idempotency
Customerfacing examples
You should do it
My favorite slide
We are not done
Three scenarios
BPMN
Technology
Synchronous communication
Synchronous communications
Checkins example
Message hospitals
Thundering Herd
Distributed Transactions Consistency
The Basic Problem
Lost in Transaction
Twophase commit
Compensation
Retry compensation
Orchestration vs choreography
Order fulfillment
Taught by
Devoxx