Mid
From PDF
Microservices
Microservices
Prepare Phase:?
Short answer: The coordinator (typically a transaction manager) sends a prepare request to all participant services (e.g., databases). Each participant service checks if it can commit the transaction (e.g., by ensuring its local transaction is successful) and responds with a vote (either commit or abort).
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png