Over a million developers have joined DZone.

My Simple Performance Benchmark for Spring Integration

DZone's Guide to

My Simple Performance Benchmark for Spring Integration

· Integration Zone ·
Free Resource

WSO2 is the only open source vendor to be named a leader in The Forrester Wave™: API Management Solutions, Q4 2018 Report. Download the report now or try out our product for free.

I 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.

IAM is now more than a security project. It’s an enabler for an integration agile enterprise. If you’re currently evaluating an identity solution or exploring IAM, join this webinar.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}