-
Jan 11th, 2011, 04:51 PM
#1
Performance Tuning
Does anyone have any guidance on performance tuning of a spring-amqp application.
We recently put a spring-amqp (glasfish, ehcache, java 1.6) app into production, and we are seeing extremely poor performance out of it. From what we can see initially the performance hit is somewhere between rabbit and out implemenation of the SimpleMessageListener.
How can I get metrics/information on what spring-amqp is doing, and how can I tune what it does? Specifically I am curious about channelCaches, prefetch, etc......
Has anyone put a high-performance app into production using spring-amqp that I can hopefully glean some information from?
As some additional information. I ran visual-vm against the running app and found the following
1 amqp connection set for 8 consumers. Each of the individual SimpleAsync threads was sitting in a "wait" status for ~ 95% of the time.
Profiling CPU show that BlockingCache.nextDelievery was the single most expensive operation happening. No custom application logic even registered in the top 50 operations.
Last edited by jesmith17; Jan 11th, 2011 at 10:22 PM.
Reason: Additional Information
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules