• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Optimal number of WorkerThreads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Optimal number of WorkerThreads
      • From: Rafal Szczepanski <email@hidden>
References: 
 >Re: Optimal number of WorkerThreads (From: Rafal Szczepanski <email@hidden>)

  • Prev by Date: Re: Optimal number of WorkerThreads
  • Next by Date: Javadoc and Source Code for JRE Classes in Eclipse
  • Previous by thread: Re: Optimal number of WorkerThreads
  • Next by thread: Re: Optimal number of WorkerThreads
  • Index(es):
    • Date
    • Thread