answersLogoWhite

0

What is 2pc protocol?

Updated: 4/28/2022
User Avatar

Shihaz

Lvl 1
12y ago

Best Answer

The 2-phase commit (2PC) protocol is a distributed algorithm to ensure the consistent termination of a transaction in a distributed environment. Thus, via 2PC an unanimous decision is reached and enforced among multiple participating servers whether to commit or abort a given transaction, thereby guaranteeing atomicity. The protocol proceeds in two phases, namely the prepare (or voting) and the commit (or decision) phase, which explains the protocol's name.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is 2pc protocol?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you know if it has a 2 PC rear main seal?

can go to the auto parts store and have them look up the rear main seal, if it comes up only with 2pc then it is probably 2pc, if not then it could be 1pc or 2pc and likely would need to just get to it to find out


What does 2PC mean in fantasy football?

2 point conversion


What supports the 2pc driveshaft of a 1990 gmc 2500 pickup?

carrier bearing


The access code for sims 2pc?

ctrl alt c good cheat: boolprop TestingCheatsEnabled after that cheat hold shift and click


What is the difference between two phase commit and three phase commit in distributed system?

In computer networking and databases, the three-phase commit protocol (3PC)[1] is a distributed algorithm which lets all nodes in adistributed system agree to commit a transaction. Unlike the two-phase commit protocol (2PC) however, 3PC is non-blocking. Specifically, 3PC places an upper bound on the amount of time required before a transaction either commits or aborts. This property ensures that if a given transaction is attempting to commit via 3PC and holds some resource locks, it will release the locks after the timeout.3PC was originally described by Dale Skeen and Michael Stonebraker in their paper, "A Formal Model of Crash Recovery in a Distributed System"[1]. In that work, they modeled 2PC as a system of non-deterministic finite state automata and proved that it is not resilient to a random single site failure. The basic observation is that in 2PC, while one site is in the "prepared to commit" state, the other may be in either the "commit" or the "abort" state. From this analysis, they developed 3PC to avoid such states and it is thus resilient to such failures.


What the difference between protocol stack and protocol suite?

- In your own words, define the term 'protocol' and what is the difference between protocol and protocol suite


What is most familiar protocol to you?

There are various protocols ftp: file transfer protocol smtp: simple mail transfer protocol pop3: post office protocol ip: internet protocol tcp: transmission control protocol ospf: open shortest path first igrp: interior gateway routing protocol eigrp: enhanced interior gateway routing protocol rip: routing information protocol http: hyper text transfer protocol udp: user datagram protocol icmp: internet control message protocol


How do you write manifesto as a protocol prefect?

write manifesto as a protocol prefect


Is HTML protocol or not?

HTML is a protocol


Which term describes a specific set rules determine the formatting of messages and the process of encapsulation used tp forward data?

The answer is Protocol's. Protocol is the set of rules for formatting the data across the network.


Which is the international protocol to protect ozone layer?

Montreal Protocol is the protocol. It was signed in 1988.


What has a set of rules that defines how pages transfer on the Internet?

A set of rules used for transferring data over the Internet is called a "protocol".Hypertext transfer protocol, HTTP.