Font Size: a A A

Design And Implementation Of Message Queuing Middleware Performance Testing Tool

Posted on:2018-05-22Degree:MasterType:Thesis
Country:ChinaCandidate:J S ZhangFull Text:PDF
GTID:2428330545961198Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Message queue middleware is a component for message publishing,subscription and management.It is important in e-commerce and other fields.It solves the problem that the traditional client/server message processing process can not adapt to the large throughput scene,and provides the functions of decoupling,message caching and persistence to meet the needs of different business scenarios.Recently,the company is also developing message queue middleware JetMQ,but general performance testing tool is not available,and current manual encoding test is tedious,error-prone,and has a long test cycle.For these reason,this paper designs and implements a performance testing tool for message queuing middleware.In this paper,message queue middleware and its performance testing is deeply studied.Performance testing using load testing to detect middleware in a specific load performance.Execution code is written in Java and called through shell scripts.Server node resource data collection using the free and sar performance tools,and then processed by expect scripts.In view of the existing problems,this paper provides the corresponding solutions.In terms of testing methods,the existing test code relies on Web project,the deployment process is complicated.This paper refers to the test method of Kafka,using shell scripts to achieve the overall function.For test flow control,the current test flow is controlled by the number of messages.This paper changed it to the execution time.The multi-threading technology can improve the test load that a single client can provide.The shared variables are used to measure the whole test data.The use of scheduled tasks to calculate the average performance of each period of data,the test more accurate and flexible.Compared with current message middleware testing method,the testing tools realized in this paper can shorten the testing time greatly,reduce the testing difficulty and improve the work efficiency.After testing,the tool is reasonable in design and function.The deviation between estimated value and actual value is about one thousandth,and the test result is basically accurate.One node test time is shortened to 15%,multi-server node test time is reduced to 10%,while the test data can be automatically archived.It is a set of practicable test tools for message queue middleware performance test.
Keywords/Search Tags:Message queue, middleware, performance test, Linux system
PDF Full Text Request
Related items