TEXT 25
Parallel & Distributed Class 3 Guest on 11th October 2022 02:12:57 PM
  1. There are three clocks
  2. Coordination between the distrbuted
  3. Achieving the common goal is called distributed coordination
  4. - No shared memory
  5. - No shared clock
  6. - Message delays
  7. - Lack of global knowledge
  8. - Syncs global clock to local clock
  9.  
  10.  
  11. Q1 15 marks difference  
  12. global clock
  13. local clock
  14. logical clock
  15. when commiting any event on application local time is consider.
  16. // shared clock are in parallel
  17.  
  18. local transaction ,remote transaction, global
  19.  
  20. challenging task when there's lack of global clock
  21.  
  22. global state detection
  23. transaction process T - transaction get recorded with the time
  24.  
  25. Every event needs to have their own state
  26. e.g, transferring money, when one sender sends money, it records the current amount, and the amount that has to be transferred, deducts from sender side and receives at the receipent side, all these events are recorded.
  27.  
  28. Difference between N and N1 = N - Sent messages
  29. N is current state, N1 is next state
  30.  
  31. M = receive messages
  32.  
  33.  
  34. N = sent messages wherea m = recieved message . for example 1st time n=0 and m=0; when we send n1=1 and when recieved m1=1

Coding Base is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.