Bar Gossip
Aleksander Jurkowski
University of Warsaw aj262944@students.mimuw.edu.pl
October 18, 2010
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 1 / 25
Bar Gossip Aleksander Jurkowski University of Warsaw - - PowerPoint PPT Presentation
Bar Gossip Aleksander Jurkowski University of Warsaw aj262944@students.mimuw.edu.pl October 18, 2010 Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 1 / 25 Introduction Goal Provide p2p data streaming system usable for live
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 1 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 2 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 2 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 3 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 3 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 4 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 4 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 4 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 5 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 5 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 5 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 6 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 6 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 6 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 7 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 8 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 8 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 8 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 8 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 9 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 9 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 9 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 9 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 10 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 10 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 10 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 11 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 11 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 12 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 12 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 13 / 25
1 Client S seeds the PRNG (Pseudo Random Number Generator) with
2 The numbers generated by the PRNG is deterministically mapped
3 S sends the seed and the list of eviction notices to R 4 R validates the data:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 14 / 25
1 Client S seeds the PRNG (Pseudo Random Number Generator) with
2 The numbers generated by the PRNG is deterministically mapped
3 S sends the seed and the list of eviction notices to R 4 R validates the data:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 14 / 25
1 Client S seeds the PRNG (Pseudo Random Number Generator) with
2 The numbers generated by the PRNG is deterministically mapped
3 S sends the seed and the list of eviction notices to R 4 R validates the data:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 14 / 25
1 Client S seeds the PRNG (Pseudo Random Number Generator) with
2 The numbers generated by the PRNG is deterministically mapped
3 S sends the seed and the list of eviction notices to R 4 R validates the data:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 14 / 25
1 Client S seeds the PRNG (Pseudo Random Number Generator) with
2 The numbers generated by the PRNG is deterministically mapped
3 S sends the seed and the list of eviction notices to R 4 R validates the data:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 14 / 25
1 Client S seeds the PRNG (Pseudo Random Number Generator) with
2 The numbers generated by the PRNG is deterministically mapped
3 S sends the seed and the list of eviction notices to R 4 R validates the data:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 14 / 25
1 Client S seeds the PRNG (Pseudo Random Number Generator) with
2 The numbers generated by the PRNG is deterministically mapped
3 S sends the seed and the list of eviction notices to R 4 R validates the data:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 14 / 25
1 Client S seeds the PRNG (Pseudo Random Number Generator) with
2 The numbers generated by the PRNG is deterministically mapped
3 S sends the seed and the list of eviction notices to R 4 R validates the data:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 14 / 25
1 In the first message S sends i.a. a hash of its history - #HS 2 R verifies if it is allowed to communicate with S and sends its history
3 S sends its history to R 4 R verifies if the previously sent hash is consistent with the provided
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 15 / 25
1 In the first message S sends i.a. a hash of its history - #HS 2 R verifies if it is allowed to communicate with S and sends its history
3 S sends its history to R 4 R verifies if the previously sent hash is consistent with the provided
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 15 / 25
1 In the first message S sends i.a. a hash of its history - #HS 2 R verifies if it is allowed to communicate with S and sends its history
3 S sends its history to R 4 R verifies if the previously sent hash is consistent with the provided
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 15 / 25
1 In the first message S sends i.a. a hash of its history - #HS 2 R verifies if it is allowed to communicate with S and sends its history
3 S sends its history to R 4 R verifies if the previously sent hash is consistent with the provided
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 15 / 25
1 S and R exchange k most recent updates the other client lack in
S
2 R and S verify the received messages:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 16 / 25
1 S and R exchange k most recent updates the other client lack in
S
2 R and S verify the received messages:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 16 / 25
1 S and R exchange k most recent updates the other client lack in
S
2 R and S verify the received messages:
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 16 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 17 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 17 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 17 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 18 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 18 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 19 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 19 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 19 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 19 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 20 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 20 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 21 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 22 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 23 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 24 / 25
Aleksander Jurkowski (MIM UW) Bar Gossip October 18, 2010 25 / 25