Ian: Thanks for the response. Our OS is Linux, so our threads are really processes. One thing I've never really understood is whether the thread-like processes on Linux offer any kind of advantage over normal processes.
But I mentioned it only because it's a lot of developers working at the same time, same box, and nobody gets in anybody's way. We'll probably drop the number of StartServerThreads in development--it's a good idea. But we've not seen any adverse effects from a large number of mostly idle servers, so I doubt that the polling is much of an issue. Cheers! -- David Hancock | [EMAIL PROTECTED] | 410-266-4384 -----Original Message----- From: Ian Bicking [mailto:ianb@;colorstudy.com] Sent: Wednesday, November 13, 2002 9:44 PM To: Hancock, David " "(DHANCOCK) Cc: 'webware-discuss ' Subject: Processes and threads (was: RE: [Webware-discuss] Setting up for multiple developers) On Wed, 2002-11-13 at 20:00, Hancock, David (DHANCOCK) wrote: > Thus, on reasonable hardware, there are upwards of 120 python WebKit > processes running, 10 per developer, with nobody's toes getting stepped on. I actually believe it's more like 20 processes, with lots of threads. On Linux threads happen to look like processes (well, they are processes), but that's an implementation detail. On a different OS it'll probably look more sane. You can also change AppServer.config/StartServerThreads to something smaller than 10, since in a development environment you'll seldom use more than one or two threads. I don't know if there's any significant performance issue one way or the other... though I do notice looking at ThreadedAppServer that the threads just poll a queue for a request instead of waiting for any sort of event, which seems bad -- maybe threading.Event should be used there. Has anyone paid attention to the performance of the AppServer when its idle? Is this polling a problem? Ian ------------------------------------------------------- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
