Font Size: a A A

Research On Reactor Based Muduo Network Framework Technology

Posted on:2017-03-08Degree:MasterType:Thesis
Country:ChinaCandidate:K XiaoFull Text:PDF
GTID:2308330482980993Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
The emergence of a large number of clients has a high concurrency, low latency and other new requirements for the server application. C++ is widely used in server application development, many high performance computer software is developped by C++. However, the development of C++ is very difficult. The traditional C++ development model is difficult to meet the new requirements, so we need to realize the development of modern high performance network technology.In this paper, we study the implementation process of the traditional network development model in the connection establishment, data transmission and so on, and the development bottleneck of the traditional network development model is the network IO and high performance low. Aiming at the bottleneck of the traditional network development model, this paper mainly studied the IO reuse technology, which is used to enhance the network performance, and the Reactor technology to improve the efficiency of the multi thread, and improve the performance of the ThreadPool technology. However, the improvement of the Reactor model is the cost of developing complexity. In order to reduce the difficulty of the development of C++ network, the Muduo network framework based on Reactor model is selected, which is clear and simple, which can be used for the development of C++.In this paper, two aspects of network applications are implemented, which are network IO Caching Application and high concurrency, low latency applications. The performance of the Muduo network framework can be applied to the network IO and high concurrency, low latency applications, etc. IO network caching application framework using Muduo simulation software memcached and performance evaluation, the software is a traditional cache access software, the performance of high speed and reliable, Muduo simulation of memcached in performance does not strive, confirmed that Muduo performance in IO network and cache. On the other hand, the instant messaging service is a typical high concurrency, low latency network services, this paper through the real-time communication software research and development of practice and testing to verify that the Muduo in the multi thread and large data volume and message delivery can meet the needs of business performance, can be used as an important tool for the development of high concurrency, low response performance requirements.Through the theoretical research and practical application of the performance test results analysis, we can see that the Muduo network framework can meet the needs of modern network applications in the performance, for the development of such applications C++ provides a more excellent reference.
Keywords/Search Tags:Network application, NIO, Reactor, Muduo, multithreading
PDF Full Text Request
Related items