Two Phase Commit - it’s just like a wedding

Posted by andy in : Humour on April 27, 2005

Michael Thorpe told me about this wonderful explanation of two stage commits (from the book Transaction Processing : Concepts and Techniques):

The chapter on two phase commit compared it to a wedding with the minister being the commit point. “do you take this man” (vote to commit) - yes, then PREPARE to commit, “do you take this woman” (vote to commit) - yes, then PREPARE to commit. “Anyone out there have a good reason not to do this?” – no, then “I pronounce you man and wife” - transaction is committed.

Add to del.icio.us , Digg this ,

Leave a Reply

 

Site Map | design by twothirty