
Gossip Protocols and Prioritization in Cloud Computing
Explore the principles of gossip protocols in cloud computing, including its slow but effective spread, robustness against packet drops, and the importance of prioritization. Discover how the MICA system simplifies building gossip-based solutions in Java.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
CS5412 / GOSSIP-RELATED CONTENT (ENRICHMENT/REVIEW) Ken Birman Fall, 2022 HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2022FA 1
GOSSIP CONCEPT Based on random exchange of information Uses fixed size messages, at a fixed rate. This bounds the load gossip can impose on a system, which is valuable in settings like monitoring But the fixed size and randomness also introduce some issues HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2022FA 2
GOSSIP IS SLOW TO SPREAD BUT REACHES EVERYONE Reinfection eventually becomes dominant Push-Pull Terminates quickly and reaches every non-faulty process 1.0 Average load is constant, independent of size of the system. % infected Total network load linear in system size. 0.0 Information spreads in log(N) time, yet that limit on work per process remains in effect! Time CS5412 CLOUD COMPUTING, FALL 2022 3
GOSSIP CONTINUES TO WORK IF PACKETS ARE DROPPED Gossip is sent over unreliable messages. This is good because overloaded routers are designed to drop packets as a way to signal congestion. This makes gossip extremely robust and tolerant of failures or network problems. Information can flow down an exponential number of paths But several factors limit gossip to probabilistic robustness a major one is that because we limit message sizes, data tends to age out. HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2022FA 4
PRIORITIZATION Refers to the need to decide which information to put in the message, because of the size limit on messages Normally, applications prioritize recent information Old data might never reach some participants! Thus, gossip is very robust but not perfectly reliable. In contrast, atomic multicast is totally reliable but might have to pause (or change a group view) if something fails HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2022FA 5
MICA SYSTEM Makes it easy to build layered gossip-based solutions in Java Your code decides what to put in the gossip messages. Mica handles the implementation of the gossip exchanges Inside the gossip messages you might find the actual data, or a summary (digest) of data if some items are large. HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2022FA 6
COMBINING GOSSIP WITH MULTICAST This was a popular idea for a while, but UDP multicast storms became a concern Today we more often combine gossip with unreliable multicast that tunnels over TCP. This idea was proposed in pbcast by Guerraoui and Kermarrec. It doesn t use UDP multicast, yet enables a Bimodal Multicast behavior. Expander graph: a term for a routing graph that will reach every process within log(N) hops. Important if each gossiping node only knows a few neighbors HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2022FA 7
GOSSIP INSIDE DATA CENTERS We discussed Kelips, a gossip-based key-value store. More useful in WAN settings. Astrolabe, a gossip-based data mining system Bimodal Multicast, for rapid and robust data sharing S3 uses gossip to track available space on storage servers Many management systems use gossip to track slowly changing state HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2022FA 8
INFORMATION-SPACE PERSPECTIVE In this way of thinking we focus on how data spreads in a system rather than thinking about the actual messages it sends Because gossip sends at such a slow and steady pace, but information needs to spread exponentially quickly, the information-space perspective actually can tell us something the protocol itself causes but might not explicitly reveal a simulation or an analysis of data spread is often needed to understand how a given protocol will spread information HTTP://WWW.CS.CORNELL.EDU/COURSES/CS5412/2022FA 9
INFORMATION SPACE PERSPECTIVE Bad Astrolabe aggregation graph: diameter O(n) D L B J F N H G E F B A C D L K I J N M O P A C E G I K M O A B C D E F G H I J K L M N O P Official (correct) Astrolabe version: diameter O(log(n)) A I A I E M C D A B G H E F A C E G I K M O K L M N I J O P A B C D E F G H I J K L M N O P CS5412 CLOUD COMPUTING, FALL 2022 10