摘要
通常一个Web应用系统由多个功能模块组成,但不同功能模块面临的压力不一样,以致各模块对资源的需求不同.对Web应用系统进行性能扩展普遍采用集群方式,集群的粒度是整个Web应用系统,而不能对应用内部某些负载压力较大的功能模块进行特殊处理.设计了一种基于OSGi的分布式Web应用结构,可以以模块为粒度进行部署,按照模块的实际负载情况调整部署结构.该分布式结构基于OSGi规范,把Web应用拆分成多个模块,以RFC119为标准实现分布式节点之间服务交互.这种结构将更加有效的利用系统资源,节约应用部署成本.实验表明,该研究成果可优化大型Web应用结构的设计,并且随着应用模块数量的增多,系统并发数的增加,采用该分布式Web应用结构的优势越明显.
The pressure of different functional modules in Web application system is different; the demand for resources of each module is different. The traditional way of cluster size in the cluster can only be applied for the entire cluster, rather than some internal function modules can apply for special treatment. This paper presents a distributed OSGi-based Web application structure, module size can be deployed in accordance with the actual load adjustment module deployment structure. This distributed architecture is based on the OSGi specification, the Web application into multiple modules to RFC119 standard for distributed service interactions between nodes. This structure will be more efficient use of system resources, saving application deployment costs. Experiments show that the research results can be optimized for a large Web application architecture design, and with the increasing number of application modules, the system increases the number of concurrent, distributed Web applications using the structure of the more obvious advantages.
出处
《计算机系统应用》
2015年第8期73-78,共6页
Computer Systems & Applications