Font Size: a A A

Design And Implementation Of General Network Service Model Based On ACE

Posted on:2016-04-30Degree:MasterType:Thesis
Country:ChinaCandidate:Y X XuFull Text:PDF
GTID:2308330482964089Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The architecture of network applications based on client/server mode has been widely used with the development of network technology. The network application servers that supporting high concurrency are playing important roles in some scenarios. But the differences between network programming platform, hardware and software environment differences, and different mode of application, bring complexity of application server development. In addition, the network programming APIs provided by the operating system generally lack of type securtity, portable, scalable features, also increase the likelihood of incorrect when network service is running.To solve these problems, ACE (Adaptive Communication Environment) Self-adapted communication environment gives a good solution. ACE is a good network programming middleware that can span multiple OS platforms, OS platform encapsulates the differences between the characteristics of the implementation of universal communication programming tasks. It uses object-oriented design methods, combined with software design patterns, provides a network programming components of the package under a variety of platforms, build a variety of object-oriented framework on top of these packages.This paper analyses and discusses the key issues existing in the server development combined with high concurrency, high stability, flexible configuration, the actual requirements for server framework abstraction, design and implementation of a generic service model with better scalability based on ACE middleware. The innovation of the model is that it combines the advantages of multi process and thread pool, and has a good scalability, and it is suitable for the application of high cocurrency and high throughput. The general network service model has been used to shield the development of middleware, and it also can reduce the threshold of server development. It has a great significance for the development of server.This paper outlines the topic development background, main issues and organizations to address the paper first, and then analyses the demand of the model, introduce the background of the demand, design goals and specific demand. The following sections describe the technologies related to the subject background, including ACE middleware and research used in design mode.On this basis, we designed and implemented a generic service model using ACE object-oriented technology and reusable software framework structure. The model uses a variety of techniques, including multi-process/multi-threaded concurrency mechanism, efficient multiplexing mechanism, as well as general and flexible configuration management system to meet the cross-platform, high concurrency and other business needs, and the model and can dynamically adjust its scheduling strategy based on real system resources and traffic, with good stretch space.Finally, an echo server as an example, the model and the traditional concurrency model compared test results show that the model under different systems and hardware resource conditions have better concurrency features and more optimal in using system resources, and enhance the overall stability and performance of the server, and also reduces the difficulty of developing cross-platform net server.
Keywords/Search Tags:ACE, High Concurrency, Thread Pool, Multiplex
PDF Full Text Request
Related items