• 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: Listen Queue Size Setting & Concurrent Request Handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Listen Queue Size Setting & Concurrent Request Handling


  • Subject: Re: Listen Queue Size Setting & Concurrent Request Handling
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 15 Feb 2006 15:01:51 -0800

Hi Eric,

On Feb 15, 2006, at 2:48 PM, Eric Stewart wrote:

I've read the help section quite a few times but the naming was confusing me.

It _is_ a very misleading name. I looked it up just to be certain before I replied.


I wasn't sure if it mean't threads that work strictly
for the adaptor or if the term incompassed any and all threads spawned
by your WO app.

It is only instances of com.webobjects.appserver._private.WOWorkerThread that are counted in this.


For instance. If you have a direct action that creates a second thread
by instantiating and running a class that extends from thread. Is both
the direct action thread and the thread it spawns off counted in the
total? Or just the direct action thread?

Just the direct action thread.


I hope you can see why it's confused me to this point.

Yes, you are not alone in your confusion.


I've search the develor.apple.com site but I can't find any good
documentation on exactly what is and what isn't a WOWorkerThread.

It is a very specific class created and managed by the WOAdaptor (a Java class in your application, usually WODefaultAdaptor). This is probably the source of the "adaptor threads" name in JavaMonitor. You can't (or shouldn't at least) create them yourself. If you have Practical WebObjects, there is some information on page 169.

Chuck



On 2/15/06, Chuck Hill <email@hidden> wrote:
On Feb 15, 2006, at 1:32 PM, Eric Stewart wrote:

By WOWorkerThread settings you are referring to "Minimum Adaptor
threads" and "Maximum Adaptor threads" settings under application
settings?

Yes.  These could use better names.  Check out the Help tab in
monitor for useful, if not really well organized, information:

Minimum Adaptor Threads
The starting number of WorkerThreads the WODefaultAdaptor should
create to handle incoming requests. This setting applies to the
WODefaultAdaptor for WebObjects 5.x. -WOWorkerThreadCountMin.
Defaults to 16.

Maximum Adaptor Threads
The maximum number of WorkerThreads that the default adaptor should
create to handle incoming requests. As the load on an application
instance grows, the WODefaultAdaptor will create new WorkerThreads to
handle requests. This setting only applies to the WODefaultAdaptor
for WebObjects 5.x. Setting this to -1 will let the number of
WorkerThreads grow indefinitely. -WOWorkerThreadCountMax. Defaults to
256.

Chuck


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________ 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: 
 >Listen Queue Size Setting & Concurrent Request Handling (From: Eric Stewart <email@hidden>)
 >Re: Listen Queue Size Setting & Concurrent Request Handling (From: Chuck Hill <email@hidden>)
 >Re: Listen Queue Size Setting & Concurrent Request Handling (From: Eric Stewart <email@hidden>)
 >Re: Listen Queue Size Setting & Concurrent Request Handling (From: Chuck Hill <email@hidden>)
 >Re: Listen Queue Size Setting & Concurrent Request Handling (From: Eric Stewart <email@hidden>)

  • Prev by Date: Re: Unique attributes
  • Next by Date: Re: Flattening attributes
  • Previous by thread: Re: Listen Queue Size Setting & Concurrent Request Handling
  • Next by thread: Most efficient character parsing.
  • Index(es):
    • Date
    • Thread