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

The new Gartner Critical Capabilities report explains how APIs and microservices enable digital leaders to deliver better B2B, open banking and mobile projects.

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.

The new Gartner Critical Capabilities for Full Lifecycle API Management report shows how CA Technologies helps digital leaders with their B2B, open banking, and mobile initiatives. Get your copy from CA Technologies.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}