On Mar 24, 2011, at 12:18 PM, Kieran Kelleher wrote: > > On Mar 24, 2011, at 10:50 AM, Rafal Szczepanski wrote: > >> Hi All, >> >> I would like to ask you about the optimal number of WorkerThreads >> (application settings: WOWorkerThreadCountMin & WOWorkerThreadCount). >> One of the my applications is serving sometimes more than 2000 pages per >> hour. >> The current setting is 16 WorkerThreads but I noticed that from time to time >> this number is not enough and the server is creating more WorkerThreads >> which is freezing for a while the application. >> >> Do you know if the number of WorkerThreads affects application’s >> performance? If not then perhaps I should start with 256 right from the >> beginning…. > > More WorkerThreads = more concurrent requests.
Technically ;-) it means more threads available for concurrent handling. But if you don't have concurrent handling enabled, or more than one thread wants the same session, or more than one thread is blocked on an EOF lock then you won't actually get that much concurrent processing. Apps will have a certain maximum number and perform worse (per request) above that point. You can only scale so far with worker threads, then you need to add instances. Chuck > Application performance in general is improved by more memory, faster CPU and > fast/optimized database. Check WOStatistics page for average and max response > times as a start to seeing where your slow pages are. Examine your slow > query logs of your database, etc. > > > >> >> I’ve got also another question do you know some real life examples of >> applications built in WebObjects that are serving huge number of >> requests/heavy load? > > real life example = iTunes Music Store > > >> >> Cheers, >> Rafal >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com >> >> This email sent to [email protected] > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net > > This email sent to [email protected] -- Chuck Hill Senior Consultant / VP Development 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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
