Over a million developers have joined DZone.

My Simple Performance Benchmark for Spring Integration

· Integration Zone

Learn how API management supports better integration in Achieving Enterprise Agility with Microservices and API Management, brought to you in partnership with 3scale

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.

Unleash the power of your APIs with future-proof API management - Create your account and start your free trial today, brought to you in partnership with 3scale.

Topics:

Published at DZone with permission of Idan Fridman, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}