[resteasy-dev] Performance issues with async/CompletionStage/RxJava

Alessio Soldano asoldano at redhat.com
Thu Oct 25 07:18:59 EDT 2018


That would be great, thanks John.
Stephane, can you please share the app you've been using when noticing the
problem?
Thanks

On Thu, Oct 25, 2018 at 12:27 PM John O'Hara <johara at redhat.com> wrote:

> If the benchmark is accessible somewhere, I can take a look at why there
> is throughput degradation.
>
> Thanks
>
> John
>
> On Sat, Oct 20, 2018 at 3:22 PM Alessio Soldano <asoldano at redhat.com>
> wrote:
>
>> Hi Stephane,
>> I think we should definitely profile this. Can you share a bit more
>> details/reproducer?
>> In the past we've also relied on the internal performance team to get jfr
>> recordings under proper load in a suitable bench environment.
>> Cheers
>>
>> On Thursday, October 18, 2018, Stephane Epardaud <stef at epardaud.fr>
>> wrote:
>>
>>> Hi,
>>>
>>> I was doing some benchmarks with gatling and came across very strange
>>> results where if I have a REST endpoint with normal result types I get 1200
>>> requests per second, but if I return those results inside RxJava's Single
>>> (with Single.just()) I get about 250 requests per second, and if I change
>>> that with CompletionStage (using CompletableFuture.completedFuture()) I get
>>> about 310 requests per second.
>>>
>>> Frankly I'm not sure how to go about finding out why we have such a
>>> difference, and whether we can mitigate it, but we should definitely try.
>>> How do you usually tackle these problems? Any help?
>>>
>>> Thanks, cheers.
>>>
>>
>>
>> --
>>
>> Alessio Soldano
>>
>> Associate Manager
>>
>> Red Hat
>>
>> <https://www.redhat.com>
>> <https://red.ht/sig>
>>
>> _______________________________________________
>> resteasy-dev mailing list
>> resteasy-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/resteasy-dev
>>
>
>
> --
>
> JOHN O'HARA
>
> PRINCIPAL SOFTWARE ENGINEER
>
> Red Hat <https://www.redhat.com/>
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
> @redhat <https://twitter.com/redhat>   @redhatinc
> <https://instagram.com/redhatinc>   @redhatsnaps
> <https://snapchat.com/add/redhatsnaps>
>


-- 

Alessio Soldano

Associate Manager

Red Hat

<https://www.redhat.com>
<https://red.ht/sig>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/resteasy-dev/attachments/20181025/51a15d64/attachment.html 


More information about the resteasy-dev mailing list