Hello,

I've faced with interesting behaviour of cxf, will be thankfull if somebody
could explain why it happens and what can be done to avoid it.

Lets say I have two types of REST GET http requests to my server part - the
first one calls relatively "heavy" method in my REST server implementation,
the second one gets response much faster.

When I perform both types of requests in parallel, I've noticed that
sometimes "light" queries run as long as "heavy" ones. I've wrote
interceptors for all phases and added some basic logging there, and
according to it request hangs on after PRE_INVOKE (or sometimes UNMARSHAL)
phase.
Looks like there are some synchronization bottlenecks or something like that 
- may be cxf use some kind of pool and it can be configured somehow?

I've tried to upgrade from 2.2.3 version to 2.2.10 - no difference.
Tuning my Jboss 4.2.2 thread pool,  experimenting with keep-alive settings
didn't help either.

If interested, I can try to create simple test case that reproduces this
behaviour.
 

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Heavy-REST-requests-block-Light-ones-tp4448329p4448329.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to