An Investigation of Stage-based Parallel Programming Model for Stateful Network Services on COTS Platforms
Stateful network services are a growing population of applications in the Internet, whose architecture relies more and more on COTS components.A good parallel programming model is the key to the success of network services. In this paper we argue that Stage-based parallel programming model is the most suitable candidate, which takes the whole service logic as a set of stages interconnected by event queues, and in each stage, one or multiple threads reside to service messages. And we also reveal several key design principles for this model. 1)The number of stages should not be over 10 for a single CPU system. 2)For stages with blocking calls, a good estimation of the number of threads for that stage can be gotten by (call arrival rate*blocking time) and moreover excessive threads give minor performance degradation. 3)To deliver message quickly, it is much better to locate this part of service in a separate non-blocking stage.
parallel programming stage-based programming stateful application COTS
Chen Yan Fan Xinyuan Yang Wenjun Chen Kai Xu Guozhi
Department of Electronics Engineering Shanghai Jiaotong University, Shanghai, 200030, China
国际会议
成都
英文
511-517
2003-08-27(万方平台首次上网日期,不代表论文的发表时间)