cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vjacheslav V. Borisov" <slav...@gmail.com>
Subject Re: How to limit concurrent requests served by resource?
Date Mon, 18 Jan 2016 10:54:12 GMT
Sergey, how should we adopt this approach to jax-rs services?

Which is there jax-rs analogs to  AbstractPhaseInterceptor<Message> ?


2016-01-15 16:19 GMT+04:00 Sergey Beryozkin <sberyozkin@gmail.com>:

> Hi
>
> CXF ships its own throttling feature, Dan did it, see
>
>
> https://fisheye6.atlassian.com/browse/cxf/distribution/src/main/release/samples/throttling
>
> The threads will be temporarily suspended If the threshold is reached.
> One thing that still needs to be done is to support actually returning 503
> (if preferred) as opposed to suspending the clients.
>
> Sergey
>
>
> On 15/01/16 11:12, Vjacheslav V. Borisov wrote:
>
>> Hi,
>>
>> How to  limit concurrent requests served by specific resource, or by
>> application iteself?
>>
>> Found this thread
>>
>> http://stackoverflow.com/questions/5563442/how-to-set-limit-to-the-number-of-concurrent-request-in-servlet
>>
>> Should i do something like showed in accepted answer,
>> or cxf has his  limit configuration ?
>>
>>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message