Re:Starbucks Does Not Use Two-Phase Commit
by bsaunder on Tuesday April 08, 2008 @08:16AM
(#157781)
I think many enterprise managers have a philosophically hard time with this notion. And for some business models, perhaps they are correct to be concerned. In general, I think async with error correction mechanisms is the way to go.
Re:Starbucks Does Not Use Two-Phase Commit
by michaelneale on Monday April 07, 2008 @06:37PM
(#157267)
Gregor is a good writer - he makes it very clear. His stuff kind of got lost in the web 2.0 noise about how you don't need enterprisey stuff like integration or messaging, but his points are always valid. Good to see people are still reading him.
Re:Starbucks Does Not Use Two-Phase Commit
by meat-eater on Monday April 07, 2008 @03:53PM
(#157141)
In the starbucks shops from where I live, you have to pay when you order. That is before they write your name in your cup. So the problem the article is talking about simply does not apply.
Re:Starbucks Does Not Use Two-Phase Commit
by joshwa on Monday April 07, 2008 @04:49PM
(#157187)
Starbucks in NYC will radio or call out your drink order to the barista while you're waiting in line for the cashier, then correlate by drink type (barista yells "iced tall 2-pump classic iced coffee!")
side note-- there is a specific order to the way they call the drinks, too, as in the example above: iced (go to the stack of plastic cups) tall (pick the size) 2-pump classic (put the flavor/sugar syrup in the cup) iced coffee (finally put the beverage in). Helps the baristas remember your drink order by correlating the auditory with the physical, aiding short-term memory.
Re:Starbucks Does Not Use Two-Phase Commit
by neilc on Monday April 07, 2008 @06:24PM
(#157256)
On the contrary, that is precisely the scenario the author is describing:
"The interaction between two parties (customer and coffee
shop) consists of a short synchronous interaction (ordering
and paying) and a longer, asynchronous interaction (making
and receiving the drink). This type of conversation is
quite common in purchasing scenarios."
Every Starbucks leaves a few unclaimed drinks ever day, but they are still raking in the cash.
side note-- there is a specific order to the way they call the drinks, too, as in the example above: iced (go to the stack of plastic cups) tall (pick the size) 2-pump classic (put the flavor/sugar syrup in the cup) iced coffee (finally put the beverage in). Helps the baristas remember your drink order by correlating the auditory with the physical, aiding short-term memory.