13.07.2015 Views

CSL-89-1_Epidemic_Algorithms_for_Replicated_Database_Maintenance

CSL-89-1_Epidemic_Algorithms_for_Replicated_Database_Maintenance

CSL-89-1_Epidemic_Algorithms_for_Replicated_Database_Maintenance

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

10 EPIDEMIC ALGORITHMS FOR REPLICATED DATABASE MAINTENANCEthe above possibilities: simulations indicate that counters and feedback improve the delay, withcounters playing a more significant role than feedback.Table 1. Per<strong>for</strong>mance of an epidemic on 1000 sites using feedback and counters.Counter Residue Traffic Convergencek s m t ave tlast1 0.18 1.7 11.0 16.82 0.037 3.3 12.1 16.93 0.011 4.5 12.5 17.44 0.0036 5.6 12.7 17.55 0.0012 6.7 12.8 17.7Table 2. Per<strong>for</strong>mance of an epidemic on 1000 sites using blind and coin.Coin Residue Traffic Convergencek s m tave tlast1 0.96 0.04 19 382 0.20 1.6 17 333 0.060 2.8 15 324 0.021 3.9 14.1 325 0.008 4.9 13.8 32Push vs. Pull. So far we have assumed that all the sites would randomly choose destinationsites and push infective updates to the destinations. The push vs. pull distinction made already<strong>for</strong> anti-entropy can be applied to rumor mongering as well. Pull has some advantages, but theprimary practical consideration is the rate of update injection into the distributed database. Ifthere are numerous independent updates a pull request is likely to find a source with a non-emptyrumor list, triggering useful in<strong>for</strong>mation flow. By contrast, if the database is quiescent, the pushalgorithm ceases to introduce traffic overhead, while the pull variation continues to inject fruitlessrequests <strong>for</strong> updates. Our own CIN application has a high enough update rate to warrant the useof pull.The chief advantage of pull is that it does significantly better than the s = e- m relationshipof push. Here the blind vs. feedback and counter vs. coin variations are important. Simulationsindicate that the counter and feedback variations improve residue, with counters being more importantthan feedback. We have a recurrence relation modeling the counter with feedback casethat exhibits s = e-e(m3) behavior.Table 3. Per<strong>for</strong>mance of a pull epidemic on 1000 sites using feedback and counters t.Counter Residue Traffic Convergencek s m tave tlast1 3.1 X 10-:l 2.7 9.97 17.62 5.8 x 10- 4 4.5 10.07 15.43 4.0 x 10- 6 6.1 10.08 14.0t If more than one recipient pulls from a site in a single cycle, then at the end of the cycle theeffects on the counter are as follows: if any recipient needed the update then the counter is reset;if all recipients did not need the update then one is added to the counter.XEROX PARC, <strong>CSL</strong>-<strong>89</strong>-1, JANUARY 19<strong>89</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!