首页> 外文学位 >An architecture for highly concurrent, well-conditioned Internet services.
【24h】

An architecture for highly concurrent, well-conditioned Internet services.

机译:高并发,条件良好的Internet服务的体系结构。

获取原文
获取原文并翻译 | 示例

摘要

This dissertation presents an architecture for handling the massive concurrency and load conditioning demands of busy Internet services. Our thesis is that existing programming models and operating system structures do not adequately meet the needs of complex, dynamic Internet servers, which must support extreme concurrency (on the order of tens of thousands of client connections) and experience load spikes that are orders of magnitude greater than the average. We propose a new software framework, called the staged event-driven architecture (or SEDA), in which applications are constructed as a network of event-driven stages connected with explicit queues. In this model, each stage embodies a robust, reusable software component that performs a subset of request processing. By performing admission control on each event queue, the service can be well-conditioned to load, preventing resources from being overcommitted when demand exceeds service capacity. SEDA employs dynamic control to tune runtime parameters (such as the scheduling parameters of each stage) automatically, as well as to manage load, for example, by performing adaptive load shedding.; In this dissertation, we show that the SEDA design yields higher performance than traditional service designs, while exhibiting robustness to huge variations in load. We begin by evaluating existing approaches to service design, including thread-based and event-driven concurrency mechanisms, and demonstrate that these approaches fail to meet the concurrency and load conditioning demands of busy network services. Next, we present the SEDA design, and motivate its use through a set of design patterns that describe how to map an Internet service onto the SEDA structure. We also derive a performance model for SEDA-based Internet services based on queueing networks; this model is used to highlight the performance and load aspects of the architecture, as well as to drive design decisions affecting the decomposition of services into stages.; We present an implementation of an Internet services platform, called Sandstorm, based on the SEDA architecture. Sandstorm is constructed entirely in Java and makes use of nonblocking I/O primitives for sustaining high concurrency. We evaluate the use of SEDA through several applications, including a high-performance HTTP server, a packet router for the Gnutella peer-to-peer file sharing network, and a Web-based e-mail service using dynamic scripting and database access. Finally, we describe several control-based mechanisms for automatic tuning and load conditioning of busy Internet services in the SEDA design, including thread pool sizing, event hatching, and queue-based admission control for overload management. Our results show that SEDA is an effective design approach for complex Internet services, yielding high performance and robust behavior under heavy load.
机译:本文提出了一种用于处理繁忙的Internet服务的大量并发和负载调节需求的体系结构。我们的观点是,现有的编程模型和操作系统结构无法充分满足复杂的动态Internet服务器的需求,这些服务器必须支持极高的并发性(成千上万的客户端连接),并且会经历数量级的负载峰值大于平均值。我们提出了一个新的软件框架,称为阶段性事件驱动的体系结构(或SEDA),在该框架中,应用程序被构建为事件驱动阶段与显式队列连接的网络。在此模型中,每个阶段都包含一个健壮的,可重复使用的软件组件,该组件执行请求处理的子集。通过对每个事件队列执行准入控制,可以很好地调节服务的加载条件,从而防止在需求超出服务容量时过度分配资源。 SEDA采用动态控制来自动调整运行时参数(例如每个阶段的调度参数),并通过执行自适应减载来管理负载。在本文中,我们表明SEDA设计具有比传统服务设计更高的性能,同时对负载的巨大变化表现出鲁棒性。我们首先评估现有的服务设计方法,包括基于线程和事件驱动的并发机制,并证明这些方法无法满足繁忙的网络服务的并发和负载调节要求。接下来,我们介绍SEDA设计,并通过一组描述如何将Internet服务映射到SEDA结构的设计模式来激发其使用。我们还导出了基于排队网络的基于SEDA的Internet服务的性能模型;该模型用于突出显示体系结构的性能和负载方面,并推动影响服务分解到各个阶段的设计决策。我们基于SEDA体系结构提出了一个称为 Sandstorm 的Internet服务平台的实现。 Sandstorm完全用Java构造,并利用非阻塞I / O原语来维持高并发性。我们通过几种应用程序评估SEDA的使用,包括高性能HTTP服务器,用于Gnutella对等文件共享网络的分组路由器以及使用动态脚本和数据库访问的基于Web的电子邮件服务。最后,我们在SEDA设计中描述了几种基于控制的机制,用于自动调整和调整繁忙的Internet服务的负载,其中包括线程池大小,事件阴影以及用于过载管理的基于队列的准入控制。我们的结果表明SEDA是用于复杂Internet服务的有效设计方法,可以在重负载下产生高性能和强健的行为。

著录项

  • 作者

    Welsh, Matthew David.;

  • 作者单位

    University of California, Berkeley.;

  • 授予单位 University of California, Berkeley.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2002
  • 页码 190 p.
  • 总页数 190
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术 ;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号