MENU

Fun & Interesting

Do you know Distributed transactions?

Tech Dummies Narendra L 233,386 6 years ago
Video Not Working? Fix It Now

#distributedtransactions #concensus #2phasecommit #saga #r3phasecommit #transactions #systemdesigntips #systemdesign #computerscience #learnsystemdesign #interviewpreperation #amazoninterview #googleinterview #uberinterview #micrsoftinterview A distributed transaction is a database transaction in which two or more network hosts are involved. Usually, hosts provide transactional resources, while the transaction manager is responsible for creating and managing a global transaction that encompasses all operations against such resources. A consensus algorithm is a process in computer science used to achieve agreement on a single data value among distributed processes or systems. Consensus algorithms are designed to achieve reliability in a network involving multiple unreliable nodes. What happens if few commits in commit phase fails? https://stackoverflow.com/questions/171876/how-do-two-phase-commits-prevent-last-second-failure

Comment