Abstract: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.