SLIDE 22 SLIDES CREATED BY: SHRIDEEP PALLICKARA L19.22
CS555: Distributed Systems [Fall 2019]
- Dept. Of Computer Science, Colorado State University
CS555: Distributed Systems [Fall 2019]
- Dept. Of Computer Science, Colorado State University
L19.43 Professor: SHRIDEEP PALLICKARA
Quantifying the numerical deviations at each replica
Operation Result <5, B> x= x+2 [ x = 2 ] Operation Result <5, B> x= x+2 [ x = 2 ] <10, B> y= y+5 [ y = 5 ] <8, A> y= y+2 [ y = 2 ] <12, A> y= y+1 [ y = 3 ] <14, A> x= yx2 [ x = 6 ]
Conit: x=6, y=3 Conit: x=2, y=5 Replica A Replica B
Unseen Updates = 1 Unseen Updates = 1 Unseen updates = 3 Unseen updates = 3
Weight = Max[diff(2,2), diff (0,5)] Weight = Max[diff(2,2), diff (0,5)] = 5 = 5 Weight= Max[diff(0,6), diff(0,3)] Weight= Max[diff(0,6), diff(0,3)] = 6 = 6
October 29, 2019
Note: B’s committed value is (0,0)
CS555: Distributed Systems [Fall 2019]
- Dept. Of Computer Science, Colorado State University
L19.44 Professor: SHRIDEEP PALLICKARA
Tradeoffs between fine grained and coarse grained conits
¨ If conit represents a lot of data ¤ Updates aggregated for all data in conit ¤ Replicas become inconsistent sooner ¨ If conit is smaller ¤ Fewer updates needed ¤ Total number of conits to be managed goes up
October 29, 2019