Hi Miguel,

Thank you for the hints.

I will try to use WOLongResponse.

Cheers,
Rafal

On Fri, Apr 22, 2011 at 1:44 PM, Miguel Arroz <[email protected]> wrote:

> Hi,
>
> On 2011/04/22, at 12:27, Rafal Szczepanski wrote:
>
>  Is concurrent request handling enabled?
>>
> Yes. We needed to enable it because we are calling third party web services
> and slow response was causing the whole application to freeze.
>
>
>    If by "slow response" you mean several seconds, perhaps you should use
> some sort of polling, like WOLongResponse or Ajax. Just create a thread to
> handle the long task, keep it on the component, and make the browser perform
> a request each X seconds to check if processing is done. This way you let go
> of the worker threads, and use less server resources, like used TCP ports,
> apache processes, etc.
>
>   Regards,
>
> Miguel Arroz
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to