• 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: 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

References: 
 >Re: Optimal number of WorkerThreads (From: Rafal Szczepanski <email@hidden>)
 >Re: Optimal number of WorkerThreads (From: Miguel Arroz <email@hidden>)

  • Prev by Date: binary plist format in ERRest, Error encountered converting value of class java.lang.String
  • Next by Date: Blowfish Security Algorithm missing?
  • Previous by thread: Re: Optimal number of WorkerThreads
  • Next by thread: Re: Optimal number of WorkerThreads
  • Index(es):
    • Date
    • Thread