kafaka, activityMQ, rabbitMQ Comparative messaging middleware

kafaka, activityMQ, rabbitMQ Comparative messaging middleware

Explanation

This test, using kafaka, activityMQ, rabbitMQ messaging middleware contrast, uses a message queue, delay sending and receiving the test message middleware.

Test preconditions

1. The consumer side and only one consumer to consumer data.
2. Multi-threaded with jmeter only be tested by http requests.
3.actitvityMQ at 1000 thread 100, the delay is too big, not subject to computer performance test.

Test Results

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

in conclusion

From the results, in terms of message sending, the higher efficiency kafak, followed RabbitMQ, activityMQ slowest; activityMQ higher message processing delay in terms of a single thread where efficiency, followed kafak, RabbitMQ slowest, but considering activityMQ to slow transmission, message queues less accumulation, so that processing delay is small, the reference is not strong; kafak multithreading process faster, followed RabbitMQ, activityMQ slowest. In terms of reliability test message while 100,000 messages were not found message loss problem, but the situation will have a small amount of reading material kafak lost messages exist. Combine aspects of business considerations, the demand needed to ensure reliable message can be used rabbitMQ, for example: plans to issue the production, control investment and other services. For high throughput, but the reliability requirements it is not too high kafak may be employed, for example, logging messages.

Published 60 original articles · won praise 52 · views 3725

Guess you like

Origin blog.csdn.net/Asia1752/article/details/104215501