jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: Async API Usage Guidance

From: Markus KARG <markus_at_headcrashing.eu>
Date: Sun, 30 Sep 2012 22:40:10 +0200

Jan,

I think you could say that all APIs which are potentially blocking are
long-running. Obviously all of them will benefit from async operation.

Regards
Markus

> -----Original Message-----
> From: Jan Algermissen [mailto:jan.algermissen_at_nordsc.com]
> Sent: Sonntag, 30. September 2012 22:31
> To: jsr339-experts_at_jax-rs-spec.java.net
> Subject: [jsr339-experts] Async API Usage Guidance
>
> All,
>
> based on the implementation experience with the Async API to date, can
> you provide advice on what a developer should consider a 'long running
> operation'?
>
> What operations are usually long running enough to see a server
> performance or capacity gain when switching to the async API?
>
> File IO?
> JPA data read?
> JPA data write?
> Upstream HTTP request?
> ...
>
>
> Jan