My Simple Performance Benchmark for Spring Integration
Join the DZone community and get the full member experience.
Join For FreeI was looking for any official performance benchmarks I could find for the Spring Integration framework, but I was unable to find any. So, I decided to create my own benchmark in order to better understand the framework’s performance ability.
I measured my test on a physical server that has 8 CPU’S. The producers and the consumers are in the same network on different JVM’S\Machines. The application included two Direct (Queue’s) channels:
Producer1 – > Queue1 -> Consumer1 -> Producder2-> Queue2 -> Consumer2
The message is a six-character String converted to a ByteArray. The message measurement starting point is at Producder1.
For executing 3 million messages, here were the stats I recorded:
1. Throughput: ~10,000 m/s
2. Latency: ~0.1244 ms
Pretty good results compared to the current message queue market.
Published at DZone with permission of Idan Fridman, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments