Computer Science, asked by Jeswanth4356, 1 year ago

Difference between lock based protocol and timestamp based protocol

Answers

Answered by Akhilrajput1
1
Timestamp-based Protocols:- The most commonly used concurrency protocol is the timestamp based protocol. ... Lock-based protocols manage the order between the conflicting pairs among transactions at the time of execution, whereas timestamp-based protocols start working as soon as a transaction is created.
Answered by yoodyannapolis
5

Difference between lock based protocol and timestamp-based protocol is given below:-

Explanation:

Lock-based protocol

  • Lock-based protocols control the balance between competing pairs of payments at the time of operation.
  • A lock is a process for controlling sequential access to a data item.
  • Locking protocol is a set of rules accompanied by all exchanges while asking for and distributing locks. Locking protocols limit the number of possible timetables.

Timestamp based protocol

  • Timestamp-based protocols will start to work as soon as a transaction is made.
  • Each transaction has a date stamp connected with it, and the order is determined by the maturity of the transactions.
  • The Timestamp Ordering Protocol is being used to schedule transfers depending on their Timestamps to evaluate the time span of the payment, this method uses device time or logical clock.

Learn more:-

brainly.in/question/3667676

brainly.in/question/7606612

Similar questions