uncleflo

profile picture

Some cool dude. Higher order of decision making. Absolute.

Registered since September 28th, 2017

Has a total of 4281 bookmarks.

Showing top Tags within 1 bookmarks

howto   information   development   guide   reference   administration   design   website   software   solution   service   online   product   business   uk   tool   company   linux   code   server   system   application   web   list   video   marine   create   data   experience   tutorial   description   explanation   learn   technology   build   article   blog   world   boat   project   download   windows   lookup   security   free   performance   javascript   technical   london   control   network   beautiful   tools   support   course   file   research   purchase   image   library   programming   youtube   example   php   construction   opensource   install   community   html   quality   profile   computer   feature   power   browser   music   platform   mobile   process   work   manage   professional   user   share   database   hardware   buy   industry   internet   dance   advice   developer   installation   camera   search   3d   access   customer   material   travel   money   test   standard   develop   css   review   documentation   engineering   photography   engine   webdesign   digital   device   speed   api   source   event   question   management   program   client   phone   discussion   story   simple   content   water   marketing   app   yacht   account   setup   idea   interface   package   fast   communication   cheap   compare   script   market   study   easy   live   google   resource   operation   demonstration   startup   monitor  


Tag selected: postgres.

Clear all

Showing 1 results.

Looking up postgres tag. Showing 1 results. Clear

Distributed Transactions and Two-Phase Commit

http://blog.endpoint.com/2010/07/distributed-transactions-and-two-phase.html

Saved by uncleflo on January 27th, 2017.

The typical example of a transaction involves Alice and Bob, and their bank. Alice pays Bob $100, and the bank needs to debit Alice and credit Bob. Easy enough, provided the server doesn't crash. But what happens if the bank debits Alice, and then before crediting Bob, the server goes down? Or what if they credit Bob first, and then try to debit Alice only to find she doesn't have enough funds? A transaction allows the debit and credit operations to happen as a package ("atomically" is the word commonly used), so either both operations happen or neither happens, even if the server crashes halfway through the transaction. That way the bank never credits Bob without debiting Alice, or vice versa.

database opensource postgres distributed distributed rdbms transaction blog article explanation guide howto administration development commit inter-service


No further bookmarks found.