Hi
On 02/08/13 09:57, gowri shankar iyer wrote:
Hello Sergey,

Thanks for the reply. We have not configured any retry/failover
behaviour but doubt that cxf has an implicit retry particularly during
load conditions. I wanted to understand this is because of
maxIdleConnectionTimeout setting being very high, and if yes why. Can
you throw some light on this ?

Sorry, no idea about 'maxIdleConnectionTimeout' parameter, I don't see it in the CXF source code, and Google links me to this thread :-).

But either way I'm not aware of the CXF server itself trying to smartly manage the pending requests.

May be you can try and add @UseAsyncRequest annotation ?
Or even go and use CXF Continuations API - I will be documenting it next, I was asked to do it 1 year ago :-), but with the async invocations support in CXF it is really now the time to do it

Sergey
Thanks
Gowri Shankar


On Fri, Aug 2, 2013 at 2:16 PM, Sergey Beryozkin <[email protected]
<mailto:[email protected]>> wrote:

    I replied twice yesterday, have you seen a pointer to a Failover
    wiki page ?

    Re configuring that property in Tomcat: I think you need to manage
    that kind of settings at Tomcat connector levels

    Sergey

    On 02/08/13 09:34, gowri shankar iyer wrote:

        Can someone please help ?
        Gowri Shankar


        ---------- Forwarded message ----------
        From: gowri shankar iyer <[email protected]
        <mailto:[email protected]>>
        Date: Thu, Aug 1, 2013 at 12:52 PM
        Subject: cxf client retries service calls
        To: [email protected] <mailto:[email protected]>


        Hello,

        Is there any way that a cxf client retries service calls 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



Reply via email to