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

SnapLogic is the leading self-service enterprise-grade integration platform. Download the 2018 GartnerMagic Quadrant for Enterprise iPaaS or play around on the platform, risk free, for 30 days.

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.

Download A Buyer's Guide to Application and Data Integration, your one-stop-shop for research, checklists, and explanations for an application and data integration solution.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}