Re: Optimal number of WorkerThreads
Re: Optimal number of WorkerThreads
- Subject: Re: Optimal number of WorkerThreads
- From: Miguel Arroz <email@hidden>
- Date: Fri, 22 Apr 2011 12:44:27 +0100
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