Font Size: a A A

Improving MRB Message Middleware Using SCTP

Posted on:2009-12-08Degree:MasterType:Thesis
Country:ChinaCandidate:F ChenFull Text:PDF
GTID:2178360245470139Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Message Oriented Middleware (MOM) almost uses Transmission Control Protocol (TCP) as its transport protocol. MOM's performance is confined by TCP which has drawbacks including Head-of-Line (HOL) blocking, unfairly bandwidth when using multiple connection, byte-oriented characteristic. Many protocols come forth in order to get over these drawbacks. SCTP (Stream Control Transmission Protocol), proposed by Internet Engineering Task Force (IETF), is one of them. SCTP not only has the ability of reliable transport, but also introduces multistreaming, multihoming, unordered reliable transport and so on. SCTP was proposed to transport SS7 signal on IP network. Its advantages give other applications an alternative.This paper discusses improving the performance of MRB (Message Requst Broker) by SCTP, which is used by INMS (Intelleget Network Management System). Because MRB's transport protocol is TCP, it is not competent for transporting mass paroxysmal message and large size message for the drawbacks introdued above, which leads to multiple methods of communication coexisting in INMS. The maintance and stability of INMS is challenged by the disunity.So unifying the communication methods to MRB is this paper's goal and the main work is redesigning the MRB. It take place of TCP by SCTP and redesign the distribute system solution. Basing on these, it adds the new funcationalities including priority control and large data transmission control.At beginning of the thesis, it introduces INMS and MRB, indicates the drawbacks of INMS. Then it introduces the background of SCTP, and compares it to TCP from some sides, such as package header structure, initialization, transmission, control and shutdown and so on. At the end of this chapter, it points out the main tasks.In chapter two of the thesis, it analyzes the structure of MRB from two sides, MRB server and MRB API. It analysis the MRB architecture and load balancing strategy. It concludes the MRB's drawbacks because of the design model basing on TCP. It illumates the performance enhancement when TCP is taken place by SCTP. In chapter three of the thesis, it discusses the general improved solution. It redesigns the MRB server and API according with the principles such as effecience, reliability, scalability and so on. The improved server is composed by five modules which are message tramission module, link management module, message management module, client management module and support module. Concurrent threads control functionality is added to the API.In the chapter four of the thesis, it designs the improve solution. From the server side, it designs the five modules such as load balancing, message transmission module, message management module and so on. It redesigns the concurrent server model in order to exert the concurrent transmission capability of SCTP, and add new functionalities such as priority transmission and memory management. Then it redesigns API including network interface and predefined message encoding-decoding class.In the chapter of five of the thesis, it discusses three key technic applied in the improved solution. They are thread pool, priority algorithm and memory pool.In the end of the thesis, it tests and evaluates the improved solution from two sides. The first side is the performance of deliverying paroxysmal message. The second side is the performance of transmission of large data.
Keywords/Search Tags:Message-Oriented Middleware, SCTP, TCP/IP, load-balancing
PDF Full Text Request
Related items