Two Phase commit protocol:
Generals paradox:
In order to comprehend that the two-phase commit protocol solves some problem it is useful to analyze this generals paradox. There are two generals on campaign. They have an objective (a hill) that they desire to capture. If they concurrently march on the objective they are assured of success. If merely one marches he will be annihilated.
The generals are encamped merely a short distance apart however due to technical difficulties they can communicate merely via runners. These messengers have a flaw each time they venture out of camp they stand some chance of getting lost (they aren’t very smart.)
The problem is to discover some protocol that allows the generals to march together even though some messengers get lost. There is a plain proof that- no fixed length protocol exists: Let P is the express such protocol. Suppose the last messenger in P gets lost. Afterwards either this messenger is useless or one of the generals doesn't get a needed message. By the minimality of P the last message isn’t useless so one of the general doesn't march if the last message is lost. This contradiction establishes that no such protocol P exists.
The generals paradox (which as you now see isn’t a paradox) has strong analogies to problems faced by a data recovery management when doing commit processing. Imagine that one of the generals is a computer in Tokyo as well as that the other general is a cash-dispensing terminal in Fuessen Germany. The goal is to-
• Open a cash drawer with a million marks in it (at Fuessen) in addition to• Debit the appropriate account in the non-volatile storage of the Tokyo computer.
If merely one thing happens either the Germans or the Japanese will destroy the general that didn’t ‘march’.
Latest technology based Operating System Online Tutoring Assistance
Tutors, at the www.tutorsglobe.com, take pledge to provide full satisfaction and assurance in Operating System help via online tutoring. Students are getting 100% satisfaction by online tutors across the globe. Here you can get homework help for Operating System, project ideas and tutorials. We provide email based Operating System help. You can join us to ask queries 24x7 with live, experienced and qualified online tutors specialized in Operating System. Through Online Tutoring, you would be able to complete your homework or assignments at your home. Tutors at the TutorsGlobe are committed to provide the best quality online tutoring assistance for Operating System Homework help and assignment help services. They use their experience, as they have solved thousands of the Operating System assignments, which may help you to solve your complex issues of Operating System. TutorsGlobe assure for the best quality compliance to your homework. Compromise with quality is not in our dictionary. If we feel that we are not able to provide the homework help as per the deadline or given instruction by the student, we refund the money of the student without any delay.
Synthesis and Reactions of Iso-quinolines tutorial all along with the key concepts of Physical and Chemical Properties of Isoquinoline, Synthesis of Isoquinolines, Bischler-Napieralski Synthesis, Picket-Spengler Synthesis and Pomeranz-Fritsch Synthesis
tutorsglobe.com collection of rainwater from terrace assignment help-homework help by online rain water harvesting tutors
General Characteristics of Microorganisms tutorial all along with the key concepts of functions of Microorganisms, Bacteria, Fungi, Viruses, Algae and Protozoa
Objectives of Cost Accounting - To determine the cost of production on per unit basis, for instance cost per liter, cost per kg, cost per meter, cost per ton etc.
tutorsglobe.com socialist economy assignment help-homework help by online economic systems tutors
Manipulating Strings and their various functions including the key concepts of strcpy Function, strncpy Function, strdup Function, strcat Function, strchr Function, strcspn Function, Assignment help and Homework help.
online sat exam preparation course and online sat tutoring package offered by TutorsGlobe are the most comprehensive and customized collection of study resources on the web, offering best collection of sat practice papers, quizzes, sat test papers, and guidance.
Facing difficulties to finish assignments timely? Hire qualified tutors from Epistemology Assignment Help and live freely!
a good insulating material has to possess the following characteristics - extremely high insulation resistance, high dielectric strength, low thermal expansion.
tutorsglobe.com gluconeogenesis of lactic acid assignment help-homework help by online gluconeogenesis tutors
Theory and lecture notes of Factor Price Equalization all along with the key concepts of Factor Price Equalization. Tutorsglobe offers homework help, assignment help and tutor’s assistance on Factor Price Equalization.
a ct scanner is a unique type of x-ray machine. in place of sending a single beam of x-ray by the body as with ordinary x-rays, various beams are sent at the same time from dissimilar angles.
chemical bonding-metallic and intermolecular bonding tutorial all along with the key concepts of metallic bonding, uses of metals, intermolecular bonding, van der waal's forces, dipole-dipole attractions and hydrogen bonding
Chemical Kinetics tutorial all along with the key concepts of Factors that affect Reaction rates, Reaction Rates, Rate Laws, Units of rate constant and rate law from experimental data
Theory and lecture notes of How to find Global Deadlocks all along with the key concepts of how to find global deadlocks, lock management pragmatics, local deadlock detector. Tutorsglobe offers homework help, assignment help and tutor’s assistance on How to find Global Deadlocks.
1942921
Questions Asked
3689
Tutors
1465611
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!