







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Ken Birman, Gregory Chockler, Robbert van Renesse Abstract The 2008 LADIS workshop on Large Scale Distributed Systems brought together leaders from the commercial cloud computing community with researchers working on a variety of topics in distributed computing. The dialog yielded some surprises: some hot research topics seem to be of limited near-term importance to the cloud builders, while some of their practical challenges seem to pose new questions to us as systems researchers. This brief note summarizes our impressions. Workshop Background LADIS is an annual workshop focusing on the state of the art in distributed systems. The workshops are by invitation, with the organizing committee setting the agenda. In 2008, the committee included ourselves, Eliezer Dekel, Paul Dantzig, Danny Dolev, and Mike Spreitzer. The workshop website, at http://www.cs.cornell.edu/projects/ladis2008/, includes the detailed agenda, white papers, and slide sets [23]; proceedings are available electronically from the ACM Portal web site [22]. LADIS 2008 Topic The 2008 LADIS topic was Cloud Computing, and more specifically:
focus on three insights we gained by comparing the perspectives articulated in the keynote talks with the cloud computing perspective represented by our research speakers:
seem oblivious to the way mechanisms are used. Researchers are often unaware that cloud systems have overarching design principles that guide developers towards a cloud-computing mindset quite distinct from what we may have been familiar with from our work in the past, for example on traditional client-server systems or traditional multicast protocols. Failing to keep the broader principles in mind can have the effect of overemphasizing certain cloud computing components or technologies, while losing track of the way that the cloud uses those components and technologies. Of course if the use was arbitrary or similar enough to those older styles of client-server system, this wouldn’t matter. But because the cloud demands obedience to those overarching design goals, what might normally seem like mere application-level detail instead turns out to be dominant and to have all sorts of lower level implications. Just as one could criticize the external perspective (“ubiquitous computing”) as an oversimplification, LADIS helped us appreciate that when the research perspective overlooks the roles of our technologies, we can sometimes wander off on tangents by proposing “new and improved” solutions to problems that actually run contrary to the overarching spirit of the cloud mechanisms that will use these technologies. To see how this can matter, consider the notion of distributed systems consistency. The research community thinks of consistency in terms of very carefully specified models such as the transactional database model, atomic broadcast, Consensus, etc. We tend to reason along the following lines: Google uses Chubby (a locking service) and Chubby uses State Machine Replication based on Paxos. Thus Consensus, an essential component of State Machine Replication, should be seen as a legitimate cloud computing topic: Consensus is “relevant” by virtue of its practical application to a major cloud computing infrastructure. We then generalize: research on Consensus, new Consensus protocols and tools, alternatives to Consensus are all “cloud computing topics”. While all of this is true, our point is that Consensus, for Google, wasn’t the goal. Sure, locking matters in Google, this is why they built a locking service. But the bigger point is that even though large data centers need locking services, if one can trust our keynote speakers, application developers are under huge pressure not to use them. We’re reminded of the old story of the blind men touching the elephant. When we reason that “Google needed Chubby, so Consensus as used to support locking is a key cloud computing technology,” we actually skip past the actual design principle and jump directly to the details: this way of building a locking service versus that one. In doing so, we lose track of the broader principle, which is that distributed locking is a bad thing that must be avoided! This particular example is a good one because, as we’ll see shortly, if there was a single overarching theme within the keynote talks, it turns out to be that strong synchronization of the sort provided by a locking service must be avoided like the plague. This doesn’t diminish the need for a tool like Chubby; when locking actually can’t be avoided, one wants a reliable, standard, provably correct solution. Yet it does emphasize the sense in which what we as researchers might have thought of as the main point (“the vital role of consistency and Consensus”) is actually secondary in a cloud setting. Seen in this light, one realizes that while research on Consensus remains valuable, it was a mistake to portray it as if it was research on the most important aspect of cloud computing. Our keynote speakers made it clear that in focusing overly narrowly, the research community often misses the bigger point. This is ironic: most of the researchers who attended LADIS are the sorts of people who teach their students to distinguish a problem statement from a solution to that problem, and yet by overlooking the reasons that cloud platforms need various mechanisms, we seem to be
guilty of fine-tuning specific solutions without adequately thinking about the context in which they are used and the real needs to which they respond – aspects that can completely reshape a problem statement. To go back to Chubby: once one realizes that locking is a technology of last resort, while building a great locking service is clearly the right thing to do, one should also ask what research questions are posed by the need to support applications that can safely avoid locking. Sure, Consensus really matters, but if we focus too strongly on it, we risk losing track of its limited importance in the bigger picture. Let’s look at a second example just to make sure this point is clear. During his LADIS keynote, Microsoft’s James Hamilton commented that for reasons of autonomous control, large data centers have adopted a standard model resembling the well-known Recovery-Oriented Computing (ROC) paradigm [27], [5]. In this model, every application must be designed with a form of automatic fault handling mechanism. In short, this mechanism suspects an application if any other component complains that it is misbehaving. Once suspected by a few components, or suspected strenuously by even a single component, the offending application is rebooted – with no attempt to warn its clients or ensure that the reboot will be graceful or transparent or non-disruptive. The focus apparently is on speed: just push the reboot button. If this doesn’t clear the problem, James described a series of next steps: the application might be automatically reinstalled on a fresh operating system instance, or even moved to some other node—again, without the slightest effort to warn clients. What do the clients do? Well, they are forced to accept that services behave this way, and developers code around the behavior. They try and use idempotent operations, or implement ways to resynchronize with a server when a connection is abruptly broken. Against this backdrop, Hamilton pointed to the body of research on transparent task migration: technology for moving a running application from one node to another without disrupting the application or its clients. His point? Not that the work in question isn’t good, hard, or publishable. But simply that cloud computing systems don’t need such a mechanism: if a client can (somehow) tolerate a service being abruptly restarted, reimaged or migrated, there is no obvious value to adding “transparent online migration” to the menu of options. Hamilton sees this as analogous to the end- to-end argument: if a low level mechanism won’t simplify the higher level things that use it, how can one justify the complexity and cost of the low level tool? Earlier, we noted that although it wasn’t really our intention when we organized LADIS 2008, Byzantine Consensus turned out to be a hot topic. It was treated, at least in passing, by surprisingly many LADIS researchers in their white papers and talks. Clearly, our research community is not only interested in Byzantine Consensus, but also perceives Byzantine fault tolerance to be of value in cloud settings. What about our keynote speakers? Well, the quick answer is that they seemed relatively uninterested in Consensus, let alone Byzantine Consensus. One could imagine many possible explanations. For example, some industry researchers might be unaware of the Consensus problem and associated theory. Such a person might plausibly become interested once they learn more about the importance of the problem. Yet this turns out not to be the case for our four keynote speakers, all of whom have surprisingly academic backgrounds, and any of whom could deliver a nuanced lecture on the state of the art in fault-tolerance.
This is a surprising insight: for our research community, the prevailing assumption has been that Byzantine Protocols would be used pervasively if only people understood that they no longer need to be performance limiting bottlenecks. But Shoup’s point is that eBay avoids them for a different reason. His worry involves what could be characterized as “spooking correlations” and “self synchronization”. In effect, any mechanism capable of “coupling” the behavior of multiple nodes even loosely would increase the risk that the whole data center might begin to thrash. Shoup related stories about the huge effort that eBay invested to eliminate convoy effects, in which large parts of a system go idle waiting for some small number of backlogged nodes to work their way through a seemingly endless traffic jam. Then he spoke of feedback oscillations of all kinds: multicast storms, chaotic load fluctuations, thrashing. And from this, he reiterated, eBay had learned the hard way that any form of synchronization must be limited to small sets of nodes and used rarely. In fact, the three of us are aware of this phenomenon from projects on which we’ve collaborated over the years. We know of many episodes in which data center operators have found their large- scale systems debilitated by internal multicast “storms” associated with publish-subscribe products that destabilized on a very large scale, ultimately solving those problems by legislating that UDP multicast would not be used as a transport. The connection? Multicast storms are another form of self-synchronizing, destructive behavior that can arise when coordinated actions (in this case, loss recovery for a reliable multicast protocol) are unleashed on a large scale. Thus for our keynote speakers, “fear of synchronization” was an overarching consideration that in their eyes, mattered far more than the theoretical peak performance of such-and-such an atomic multicast or Consensus protocol, Byzantine-tolerant or not. In effect, the question that mattered wasn’t actually performance, but rather the risk of destabilization that even using mechanisms such as these introduces. Reflecting on these comments, which were echoed by Cuomo and Hamilton in other contexts, we find ourselves back in that room with the elephant. Perhaps as researchers focused on the performance and scalability of multicast protocols, or Consensus, or publish-subscribe, we’re in the position of mistaking the tail of the beast for the critter itself. Our LADIS keynote speakers weren’t naïve about the properties of the kinds of protocols on which we work. If anything, we’re the ones being naïve, about the setting in which those protocols are used. To our cloud operators, the overarching goal is scalability, and they’ve painfully learned one overarching principle of scale: decoupling. The key is to enable nodes to quietly go about their work, asynchronously receiving streams of updates from the back-office systems, synchronously handling client requests, and avoiding even the most minor attempt to interact with, coordinate with, agree with or synchronize with other nodes. However simple or fast a consistency mechanism might be, they still view such mechanisms as potential threats to this core principle of decoupled behavior. And thus their insistency on asynchronous convergence as an alternative to stronger consistency: yes, over time, one wants nodes to be consistent. But putting consistency ahead of decoupling is, they emphasized, just wrong. Towards a Cloud Computing Research Agenda Our workshop may have served to deconstruct some aspects of the traditional research agenda, but it also left us with elements of a new agenda – and one not necessarily less exciting than the one we are being urged by these leaders to shift away from. Some of the main research themes that emerge are:
o Are there deep architectural principles waiting to be uncovered – perhaps even entirely new operating systems or virtualization architectures – when one thinks about support for massively scalable protocols running in such settings?
LADIS 2009 is now being planned running just before the ACM Symposium on Operating Systems in October 2009, at Big Sky Resort in Utah. In contrast to the two previous workshops, the papers are being solicited through both an open Call For Papers, and targeted solicitation. If SOSP 2009 isn’t already enough of an attraction, we would hope that readers of this essay might consider LADIS 2009 to be absolutely irresistible! You are most cordially invited to submit a paper and attend the workshop. More information can be found at http://www.sigops.org/sosp/sosp09/workshops- cfp/ladis09-cfp.pdf and http://www.cs.cornell.edu/projects/ladis2009. References [1] Aguilera, M. K., Merchant, A., Shah, M., Veitch, A., & Karamanolis, C. (2007). Sinfonia: a new paradigm for building scalable distributed systems. SOSP '07: Proceedings of twenty-first ACM SIGOPS Symposium on Operating Systems Principles (pp. 159-174). Stevenson, Washington: ACM. [2] Amazon.com. Amazon Simple Storage Service (Amazon S3). http://aws.amazon.com/s3/ [3] Apache.org. HDFS Architecture. http://hadoop.apache.org/core/docs/current/hdfs_design.html [4] Burrows, M. (2006). The Chubby lock service for loosely-coupled distributed systems. OSDI '06: Proceedings of the 7th USENIX Symposium on Operating Systems Design and Implementation (pp. 24-24). Seattle, WA: USENIX Association. [5] Candea, G., & Fox, A. (2003). Crash-only software. HOTOS'03: Proceedings of the 9th conference on Hot Topics in Operating Systems (pp. 12-12). Lihue, Hawaii: USENIX Association. [6] Castro, M., & Liskov, B. (1999). Practical Byzantine fault tolerance. OSDI '99: Proceedings of the third Symposium on Operating Systems Design and Implementation (pp. 173-186). New Orleans, Louisiana: USENIX Association. [7] Chang, F., Dean, J., Ghemawat, S., Hsieh, W.C., Wallach, D.A., Burrows, M., Chandra, T., Fikes, A., & Gruber, R.E. Bigtable: A Distributed Storage System for Structured Data. OSDI'06: Seventh Symposium on Operating System Design and Implementation, Seattle, WA, November, 2006. [8] Chockler, G., Keidar, I., & Vitenberg, R. (2001). Group communication specifications: a comprehensive study. ACM Computing Surveys, 33 (4), 427-469. [9] Chockler, G., Melamed, R., Tock, Y., & Vitenberg, R. SpiderCast: a scalable interest-aware overlay for topic-based pub/sub communication. DEBS '07: Proceedings of the 2007 inaugural International Conference on Distributed Event-Based Systems. Toronto, Ontario, Canada: ACM,
conference on Symposium on Operating Systems Design & Implementation (pp. 8-8). San Francisco, CA: USENIX Association. [26] memcached: a Distributed Memory Object Caching System. http://www.danga.com/memcached/ [27] Patterson, D. Recovery Oriented Computing. Retrieved from http://roc.cs.berkeley.edu [28] Reed, B., & Junqueira, F. P. (2008). A simple totally ordered broadcast protocol. Second Workshop on Large-Scale Distributed Systems and Middleware (LADIS 2008). Yorktown Heights, NY: ACM. ISBN: 978- 1 - 60558 - 296 - 2. [29] Shoup, Randy. (2007) Randy Shoup on eBay's Architectural Principles. San Francisco, CA, USA. http://www.infoq.com/presentations/shoup-ebay-architectural-principles. A related video is available at http://www.se-radio.net/podcast/2008-09/episode- 109 - ebay039s-architecture- principles-randy-shoup. [30] Singh, A., Fonseca, P., Kuznetsov, P., Rodrigues, R., & Maniatis, P. (2008). Defining Weakly Consistent Byzantine Fault-Tolerant Services. Second Workshop on Large-Scale Distributed Systems and Middleware (LADIS 2008). Yorktown Heights, NY: ACM. ISBN: 978- 1 - 60558 - 296 - 2. [31] Singh, A., Fonseca, P., Kuznetsov, P., Rodrigues, R., & Maniatis, P. (2009). Zeno: Eventually Consistent Byzantine Fault Tolerance. Proceedings of USENIX Networked Systems Design and Implementation (NSDI). Boston, MA: USENIX Association. [32] Terry, D. B., Theimer, M. M., Petersen, K., Demers, A. J., Spreitzer, M. J., & Hauser, C. H. (1995). Managing update conflicts in Bayou, a weakly connected replicated storage system. SOSP '95: Proceedings of the fifteenth ACM Symposium on Operating Systems Principles (pp. 172 - 182). Copper Mountain, Colorado: ACM. [33] Van Renesse, R., Birman, K. P., & Vogels, W. (2003). Astrolabe: A robust and scalable technology for distributed system monitoring, management, and data mining. ACM Trans. Comput. Syst. , 21 (2), 164-206. [34] Van Renesse, R., Dumitriu, D., Gough, V., & Thomas, C. (2008). Efficient Reconciliation and Flow Control for Anti-Entropy Protocols. Second Workshop on Large-Scale Distributed Systems and Middleware (LADIS 2008). Yorktown Heights, NY: ACM. ISBN: 978- 1 - 60558 - 296 - 2. [35] Vigfusson, Y., Abu-Libdeh, H., Balakrishnan, M., Birman, K., & Tock, Y. Dr. Multicast: Rx for Datacenter Communication Scalability. HotNets VII: Seventh ACM Workshop on Hot Topics in Networks. ACM, 2008. [36] Yalagandula, P. and Dahlin, M. A Scalable Distributed Information Management System. ACM SIGCOMM, August, 2004. Portland, Oregon. [37] Yu, Y., Isard, M., Fetterly, D., Budiu, M., Erlingsson, U., Gunda, P. K., et al. (2008). DryadLINQ: A System for General-Purpose Distributed Data-Parallel Computing Using a High- Level Language. Symposium on Operating System Design and Implementation (OSDI). San Diego, CA, December 8-10, 2008. http://research.microsoft.com/en-us/projects/DryadLINQ.