Font Size: a A A

SEDA-Based Server Application Design And Implement

Posted on:2009-11-09Degree:MasterType:Thesis
Country:ChinaCandidate:X Z LuFull Text:PDF
GTID:2178360272975482Subject:Computer software and theory
Abstract/Summary:
With the rapid development of the Internet, services on the Internet will become more and more onerous. It has propelled a challenge for various kinds of service which served for Internet. Although upgrading hardware of the computers have in some degree promoted the performance of services, but its performance is not able to fulfill the need of requirement. This are embodied in the service platforms devoid of considered in a comprehensive way which exists in extreme concurrent, dynamic contents, continuous high available, etc.Traditional service applications mainly fulfill the task by mean of blocking internet communication mechanism of Multi-thread high concurrence which has the disadvantage of poor performance, low concurrent. Based non-blocked event-driven internet communication mechanism can properly resolve the problems mentioned above. Event-driven model in the structure mainly focusing on the central of listener and it's mechanism of dispatch which lack of flexibility of constructed module application. Staged Event-Driven Architecture (SEDA) is intended to support massive concurrency demands and simplify the construction of well-conditioned services. SEDA has been introduced by the mechanism of modularize and structure idea. In SEDA, code has been organized to module or object-oriented component. SEDA make use of the mechanic of dynamic management to manage thread-pool. Modules communicate with each other by explicit event-queue.This thesis is based on the actual conditions putting the SEDA in depth research. The concept of stage in SEDA can solve the problem well which using even-drive model has encountered. Based on this architecture server's applications have flexibility, low resource consumption, programming easily etc. But currently SEDA is a newly soft architecture, server application based this architecture is fewer, only fewer open-source such like mule and mina using this technique. Those problems we mentioned above show that SEDA was not underdeveloped and exposed many problem that the division of functional module size over rough and the coupling between modules is too high.In order to solve this problem, the thesis proposed on an illustrational Civil Aeronautics Board airfare sell agent system, combine with the concrete condition that proxy server has needed. In light of high performance internet server's characterized high concurrent, robust and the self-regulation mechanism. The new model retains many advantages that construct and manage the stage more flexible, the whole constructs was more simple, application'modular construction and management is more flexible. This thesis gives the detail design and implementation scheme of the component. At last the components have been tested. It proves the exactness and feasibility of the expanded model. The design and implementation scheme also has referenced value for server applications that have simple structure and the need of high concurrence.
Keywords/Search Tags:Event-driven, Asynchronous I/O, Stage, Proxy server
Related items