DOC PREVIEW
U of I CS 525 - Merged Epidemics

This preview shows page 1-2-3-4-25-26-27-51-52-53-54 out of 54 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 54 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EpidemicsProblem: MulticastChallengesEpidemic Algorithm for Replicated Database MaintenanceMotivation: Replicated databaseApproachDirect MailAnti-EntropyAnti-Entropy: Push and PullPull > PushAnti-Entropy: OptimizationComplex Epidemics: “Not Anti-entropy” Rumor SpreadingSlide 13Designing a Good EpidemicVariants of Rumor SpreadingProblem with DeletionDiscussionBimodal MulticastDilemmaProbabilistic Broadcast: pbcastPbcast 2-stage ProtocolPbcast: Best Effort DisseminationPbcast: Random Spanning TreeSlide 24Slide 25Slide 26Pbcast: Hierarchical MulticastSlide 28Slide 29Pbcast: Two phase anti-entropyPbcast: Anti-entropyOptimizations (2)Optimizations (1)Analytic ResultsBimodal Delivery DistributionExperimental SetupSource to dest latency distributionsThroughput variation as a function of scale (25% nodes perturbed)Slide 39Exploring the Energy – Latency Trade-off for Broadcasts in Energy-Saving Sensor NetworksWSN ApplicationsBackground: IEEE 802.11 PSMReducing Latency : Immediate BroadcastProbability-Based Broadcast Forwarding (PBBF)Effect of p and q on Reliability, Energy, LatencySlide 46Energy, ELatency, LReliability, REnergy – Latency TradeoffAdaptive PBBFConclusionSlide 53AcknowledgmentsEpidemicsSpring 2008: CS525Farhana Ashraf and Fariba Khan1Problem: MulticastSimultaneously deliver information to a group of destinations.Examples:News groupsUpdate for replicated database systems Real-time media (i.e. Sports)Conference bridgeSoftware update in ad-hoc and sensor network2ChallengesReliable: Strong Best-effort Probabilistic (bimodal)DelayBandwidthFault-tolerance3Epidemic Algorithm for Replicated Database MaintenanceAlan Demers, Dan Greene, Carl Hauser, Wes Irish, John Larson, Scott Shenker, Howard Sturgis, Dan Swineheart, Doug TerryPODC 19874Motivation: Replicated databaseXerox ClearinghouseData is replicated in 300 sites worldwide. An update in any site has to be forwarded to other 299.Financial Distributed SystemsData and Code replicated worldwide. There is a 7-hour window between the stock market closing in Tokyo and opening in NYC.5ApproachNaiveDirect MailEpidemicAnti-entropyRumor-mongering6Direct MailTimelyImmediately mailed from the entry site to all other siteNot entirely reliableIncomplete information about other sitesMail may be lostPostMailPostMailPostMailPostMailPostMailPostMailSusceptible nodeInfectious nodeAnti-EntropyExtremely reliableResolves difference with random site periodicallySlow & ExpensiveExamines the contents of the entire databasesDatabase content sent over networkSusceptible nodeInfectious nodeResolveDiffResolveDiffResolveDiffResolveDiffAnti-Entropy: Push and PullSusceptible nodeInfectious nodePUSHPULLNot updatedNot updatedPUSH - PULLPull > PushIf Anti-entropy is back-up for, e.g., Direct-MailPull converges faster than push, thus providing better delaypi1pi2pi1pi11nn1piPullPushpi – Probability that a node is susceptible after the ith roundAnti-Entropy: OptimizationChecksumExchange checksum first, compare database if checksum disagree [saves network traffic]As network size increases, time to distribute update to all sites increase [more possibility of checksum mismatch]Recent update listExchange recent update list within T to update database and new checksumCompare databases if new checksum disagreeChoice of T criticalInverted index of database by timestampExchange updates in reverse timestamp order, compute checksum until checksum matchCost of additional inverted index at each siteSynchronization of timeComplex Epidemics: “Not Anti-entropy”Rumor SpreadingLess expensiveRequire fewer resourcesCan be done more frequently than anti-entropyLess reliableSome chance that updates will not reach all sitesSusceptible nodeInfectious nodeRemoved nodeComplex Epidemics: “Not Anti-entropy”Rumor SpreadingLess expensiveRequire fewer resourcesCan be done more frequently than anti-entropyLess reliableSome chance that updates will not reach all sitesSusceptible nodeInfectious nodeRemoved nodeDesigning a Good EpidemicResidueNumber of sites not receiving the update, when epidemic ends TrafficAverage number of messages sent from a typical siteDelaytavg: difference between initial injection and avg. arrival of update at a given siteTlast: Delay until reception by the last site that receives the update during epidemicVariants of Rumor SpreadingBlind vs. FeedbackBlind: sender looses interest with prob. 1/k regardless of recipientFeedback: sender looses interest with prob. 1/k only if recipient already knows the rumorCounter vs. CoinCounter: loose interest only after k unnecessary contactsPush vs. PullProblem with DeletionProblemAbsence of an item does not spreadPropagation of old copies of deleted item will cause insertion of the item back to the siteSolutionReplace deleted item with Death Certificate (DC)DiscussionDirect Mail or Epidemics?Economics and Industry?Anti-entropy or Rumor?Bimodal MulticastKen Birman, Mark Hayden, Oznur Ozkasap, Zhen Xiao, Mihai Budiu, Yaron MinskyACM TOCS 199918DilemmaApplication is extremely critical: stock market, air traffic control, medical systemHence need a strong model, guaranteesBut these applications often have a soft-realtime subsystemSteady data generationMay need to deliver over a large scaleProbabilistic Broadcast: pbcastAtomicity: bimodal delivery guaranteealmost all or almost noneThroughput stability: variation can be characterizedOrdering: FIFO per senderMulticast stability: safely garbage collected (no dormant death certificate)Detection of lost messagesScalability: cost is a function of network sizeSoft failure recovery: bounded number of recoveries from buffer overflow, transient network. 20Pbcast 2-stage ProtocolStage 1: Best effort disseminationHierarchical broadcastUnreliable best-effort approachStage 2: Anti-entropyExchange digest and correct lossProbabilistic end-to-end21Pbcast: Best Effort DisseminationIP multicastor“virtual” multicast spanning treesSender randomly generates a spanning treeNeighbors forward based on the tree identifierNumber of random trees can be tuned22Pbcast: Random Spanning TreeP QR S23Pbcast: Random Spanning TreeP QR S24Pbcast: Random Spanning TreeP QR S25Pbcast: Random Spanning TreeP QR


View Full Document

U of I CS 525 - Merged Epidemics

Documents in this Course
Epidemics

Epidemics

12 pages

LECTURE

LECTURE

7 pages

LECTURE

LECTURE

39 pages

LECTURE

LECTURE

41 pages

P2P Apps

P2P Apps

49 pages

Lecture

Lecture

48 pages

Epidemics

Epidemics

69 pages

GRIFFIN

GRIFFIN

25 pages

Load more
Download Merged Epidemics
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Merged Epidemics and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Merged Epidemics 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?