The moose likes Web Services and the fly likes Performance tips for Spring based WS on Glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Performance tips for Spring based WS on Glassfish" Watch "Performance tips for Spring based WS on Glassfish" New topic
Author

Performance tips for Spring based WS on Glassfish

Michal Piotrowski
Greenhorn

Joined: Jan 09, 2012
Posts: 1
Hello,

I assumed this is the right place to ask because of many libraries/solutions used. I've WebService created with Spring (annotation based). WebService runs on glassfish v2.2 server and is preceeded by Apache server load-balancer. WebService itself validates SOAP request and pushes data from it to JMS queue. It's rather simple thing.

Problem was with performance - clients were able to shot more requests to the server than it could process at a time. So during the load-tests with SoapUI I assumed that using @Oneway annotation to perform async requests would be great idea (and it is - 400% performance boost). The problem with @Oneway though, is that it can't return any value and throw any Exception. So that could be potentially dangerous to not see if something is going wrong. So besides releasing new WSDL with additional async method, I want to tune Spring/Apache/Glassfish performance. Any ideas what look for or change? I have full access to configuration - Glassfish serves only as WebService server and JMS consumer. Spring is 3.0.6 and Apache is 2.2.13. Tips/resources/posts wolud be highly appreciated.


Thanks in advance,
Michal Piotrowski
 
 
subject: Performance tips for Spring based WS on Glassfish
 
Threads others viewed
Why JMS?
Deploy MDB on Glassfish
JAX-WS client within JAX-RS (Jersey) WS freezes GF2 app server
help w/ multiple web servers using mod_jk in Production env
EJB cluster
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture