Font Size: a A A

Study And Design Of A Concurrent Message Bus Based On ACE Framework

Posted on:2009-10-09Degree:MasterType:Thesis
Country:ChinaCandidate:B T WangFull Text:PDF
GTID:2178360245969518Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Message Oriented Middleware (MOM) is an important branch of Middleware and it provides an asynchronous, loosely coupled framework for distributed application system. Since its method embodies the trends of modern software technology, it has been widely applied to enterprise application integration and distributed computing in many fields.Message Bus (MB), with its unique advantages, has significantly accelerated the development of integrated application system by injecting a powerful driving force into it. It is mainly used to establish the network communication channel and its strong point is that it can provide synchronous and asynchronous communication mechanism among the clients and the servers. It's applicable to distributed environment of multi-process communication and is very capable of fulfilling cross-platform operation to support application software running on different operating systems. Insomuch, MB frees the advanced applications based on it from the complexity of net-communication processing and enables them to concentrate on practical logic design and development so as to achieve the purposes of simplicity, efficiency and extensibility in a distributed environment.This paper is mainly focused on two key problems of MB server; they are concurrency model and memory management. We design a model which is based on ACE concurrent service components for process synchronization and introduce a technique for memory-pool assignment and put them into practice in the design of a MB system that is MTBus.Chapter I gives first a general view of the ACE communication framework and message middleware technology, then it introduces the Mobile Intelligent Network Management System which is based on MB architecture. The disadvantages of the system and the direction for designing an MTBus system are also concluded in this chapter.Chapter II expounds in general the aims and the function definitions of MTBus system and its design.Chapter III introduces in detail the design and implement of the system's components including their communication message, machine communication module, name information management module, message pool management and message process module.Chapter IV describes three key techniques to designing an MTBus system and their schemes.Chapter V shows the test results of MTBus system's overall performance and points out its shortcomings in the practice of web-management system.In addition, MTBus system designed the consistent interfaces in client APIs with MRB system,so the application which based on MRB system can smooth migration to MTBus system。Now, the system has been used in Mobile Intelligent Network Management System and CRBT service quality evaluation system. the application Feedback has further proved that MTBus system has high concurrent processing capabilities and can prevent the message flood effectively. Meanwhile MTBus server provides many maintenance functions,which can help users control and manage the communication processes better.
Keywords/Search Tags:Message Bus, Concurrent Model, Thread Pool, Half-sync/Half-asyn model, Leader/Follower model, Memory Pool
PDF Full Text Request
Related items