Re: Optimal number of WorkerThreads
Re: Optimal number of WorkerThreads
- Subject: Re: Optimal number of WorkerThreads
- From: Rafal Szczepanski <email@hidden>
- Date: Tue, 26 Apr 2011 19:08:29 +0200
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@hidden> 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden