You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by gowri shankar iyer <gs...@gmail.com> on 2013/08/01 09:25:33 UTC
cxf client retries service calls
Hello,
Is there any way that a cxf client retries service calls particularly in a
load scenario ? We have been observing when there is a spike in the website
traffic by 2x the number of service calls zooms by 10x. I googled and found
out in a thread that this could be a reason because of
"maxIdleConnectionTimeout" being very high, is this true ? If yes, can
someone explain in detail why this is the case.
Also please throw some light on how to set max idle timeout in a tomcat
server using spring ? We use <jaxws:endPoint> for configuring cxf on the
server side
Please keep me in the reply since I am not part of the group.
Thanks
Gowri Shankar
Re: cxf client retries service calls
Posted by Sergey Beryozkin <sb...@gmail.com>.
Further updated the page to mention that all strategies can be
configured to do the delays between the retries, and RetryStrategy can
also be used to try the same/last address for a number of times before
moving next
Sergey
On 01/08/13 12:25, Sergey Beryozkin wrote:
> Hi
>
> I've added a Failover Feature page:
>
> https://cwiki.apache.org/confluence/display/CXF20DOC/FailoverFeature
>
> I recall JAX-WS clients can be additionally configured to alternate
> between WSDL service ports - FailoverTest for JAXWS in
> systests/categorized does something with it but I'm not sure how that
> can be documented
>
> Cheers, Sergey
> On 01/08/13 08:25, gowri shankar iyer wrote:
>> Hello,
>>
>> Is there any way that a cxf client retries service calls particularly
>> in a
>> load scenario ? We have been observing when there is a spike in the
>> website
>> traffic by 2x the number of service calls zooms by 10x. I googled and
>> found
>> out in a thread that this could be a reason because of
>> "maxIdleConnectionTimeout" being very high, is this true ? If yes, can
>> someone explain in detail why this is the case.
>>
>> Also please throw some light on how to set max idle timeout in a tomcat
>> server using spring ? We use <jaxws:endPoint> for configuring cxf on the
>> server side
>>
>> Please keep me in the reply since I am not part of the group.
>>
>> Thanks
>> Gowri Shankar
>>
>
>
Re: cxf client retries service calls
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
I've added a Failover Feature page:
https://cwiki.apache.org/confluence/display/CXF20DOC/FailoverFeature
I recall JAX-WS clients can be additionally configured to alternate
between WSDL service ports - FailoverTest for JAXWS in
systests/categorized does something with it but I'm not sure how that
can be documented
Cheers, Sergey
On 01/08/13 08:25, gowri shankar iyer wrote:
> Hello,
>
> Is there any way that a cxf client retries service calls particularly in a
> load scenario ? We have been observing when there is a spike in the website
> traffic by 2x the number of service calls zooms by 10x. I googled and found
> out in a thread that this could be a reason because of
> "maxIdleConnectionTimeout" being very high, is this true ? If yes, can
> someone explain in detail why this is the case.
>
> Also please throw some light on how to set max idle timeout in a tomcat
> server using spring ? We use <jaxws:endPoint> for configuring cxf on the
> server side
>
> Please keep me in the reply since I am not part of the group.
>
> Thanks
> Gowri Shankar
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com