Grid service container based on SEDA
-
摘要: 网格服务容器是服务网格中的基础模块,负责屏蔽资源的异构性并和网格服务的运行提供支持.大多数网格服务容器均采用基于线程的并发机制来处理用户请求,在性能和可伸缩性上都存在局限.采用分级事件驱动架构SEDA(Staged Event Driven Architecture),通过划分阶段Stage的方式解除耦合,在阶段之间采用事件进行异步消息通信,结合非阻塞的I/O机制设计实现了一个事件驱动的网格服务容器,并从吞吐量、平均响应时间等方面和基于线程的服务容器进行了比较.结果表明事件驱动架构的确能在性能和可伸缩性方面带来效益,异步通信方式有效的减少了系统中的同步阻塞,带来更好的并发性.Abstract: The grid service container is a fundamental component in a service grid, which is responsible for shielding resource heterogeneity and hosting grid application services. Most current grid service container implementations adopt thread-based concurrency approach to process concurrent user requests, which has limitations in terms of performance and scalability. An event-driven architecture called SEDA (staged event driven architecture) was adopted to improve the performance of concurrent processing and scalability. It results in decoupling architecture with demarcation stages between which events asynchronous communicate and in which the non-blocking I/O mechanism can be adopted naturally. The early implementation experience and some optimistic performance evaluation results were presented, which show that the event-driven architecture can indeed raise the performance like throughput and latency and get better scalability by the asynchronous message mechanism and the reduction of the system synchronous obstruction.
-
Key words:
- stages /
- containers /
- asynchronous sequential logic
-
[1] Foster I, Kesselman C. The grid 2:blueprint for a new computing infrastructure [M]. San Francisco: Morgan Kaufmann, 2003 [2] Foster I, Kesselman C, Nick J M, et al. Grid services for distributed system integration [J]. IEEE Computer, 2002, 35:37-46 [3] Welsh M D. SEDA: An architecture for highly concurrent, well-conditioned internet Service . Berkeky: Department of Electric Enginnering and Computer Science, University of California at Berkeley, 2002 [4] 胡春明, 怀进鹏, 孙海龙. 基于Web服务的网格体系结构及其支撑环境研究[J]. 软件学报, 2004,15(7):1064-1073 Hu Chunming, Huai Jinpeng, Sun Hailong. Web service-based grid architecture and its supporting environment [J]. J Softw, 2004, 15 (7):1064-1073 (in Chinese) [5] Rhea S, Godfrey B, Karp B, et al. OpenDHT: a public DHT service and its uses[J]. Computer Communication Review, 2005,35(4):73-84
点击查看大图
计量
- 文章访问数: 3096
- HTML全文浏览量: 243
- PDF下载量: 1923
- 被引次数: 0