Font Size: a A A

Research And Implementation Of Adaptive Distributed Data Communication Library

Posted on:2014-04-19Degree:MasterType:Thesis
Country:ChinaCandidate:H ZhaoFull Text:PDF
GTID:2268330401459113Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of computer technology and the popularity of applications, thedistributed systems had to face different system platforms, multiple operating systems,heterogeneous network environment. Messaging middleware structure loosely coupleddistributed systems of communications solutions. By shielding the heterogeneity of theunderlying operating system and network platform, the application software can be a smoothrun on different platforms. But now the middleware based on proxy server, are complex,bloated and low efficiency, not suitable for an embedded environment, so we urgently need adata communication library environment suitable for an embedded environment.In this paper, the main work was designed and implemented distributed adaptive datacommunication library based on open source libevent and openpgm, the library has thesimplicity, ease of use and efficiency. In order to improve the usability of the system, thelibrary using unified naming service to shield the distributed communication system networkunderlying implementation details, it unified inner-process communications, inter-processcommunication, programming between the host,. In order to improve the communicationefficiency of the library, using “big small Pointers” point to the the message to improve theefficiency of system memory allocation, using batch processing message to decrease thenumber of calls for system, using the lock-free queue data structure to reduce thread waits fora message queue, and using unlocked thread communication model and the synchronous andasynchronous concurrent model to improve the response speed of systemFinally, the functionality and performance testing show that the adaptive datacommunication library based on a unified naming service could be for adaptivecommunication, and the communication performance is higher than the open sourcemessaging middleware RabbitMQ, ActiveMQ, so it is suitable for an embedded environment.
Keywords/Search Tags:adaptive, unified naming service, lock-free queue, batch process, lock-free threadcommunication
PDF Full Text Request
Related items