Starbucks Does Not Use Two-Phase Commit
eaipatterns.com
eaipatterns.com
Highly recommended.
First, multiple baristas may be processing orders using different equipment. Blended drinks may take longer than a drip coffee.
Client side caching and processing is also at play. The cashiers usually fill the drip coffee themselves.
http://www.enterpriseintegrationpatterns.com/docs/IEEE_Softw...