Re: [Webware-devel] cvs updates

2003-07-23 Thread Ian Bicking
On Wed, 2003-07-23 at 17:35, Geoffrey Talvola wrote: > FYI, I just checked in a bunch of fixes to Webware CVS, mostly to improve > backward compatibility: Thanks for doing these. I've been a total slacker in dealing with these details of URLParser.

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-06 Thread Geoff Talvola
At 08:36 PM 6/5/2001 -0400, Jay Love wrote: >Geoff Talvola wrote: > >>I also argued that we'd be better off storing the threads on a stack >>instead of a queue. That way the most recently used threads get >>reused, which may produce slightly better performance. I wonder if >>there's a thread

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-05 Thread Jay Love
Geoff Talvola wrote: > > I also argued that we'd be better off storing the threads on a stack > instead of a queue. That way the most recently used threads get > reused, which may produce slightly better performance. I wonder if > there's a thread-safe Stack class analogous to the Queue

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Ian Bicking
Tavis Rudd <[EMAIL PROTECTED]> wrote: > On Monday 04 June 2001 07:41, Geoff Talvola wrote: > > I also argued that we'd be better off storing the threads > > on a stack instead of a queue. That way the most > > recently used threads get reused, which may produce > > slightly better performance. I

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Geoff Talvola
At 12:13 PM 6/4/01 -0700, Tavis Rudd wrote: >On Monday 04 June 2001 11:54, Ian Bicking wrote: > > Tavis Rudd <[EMAIL PROTECTED]> wrote: > > > Good idea. I've never heard of a Stack class like this > > > but it would be very easy to create a subclass of Queue > > > that has LIFO rather than FIFO b

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Chuck Esterbrook
At 10:41 AM 6/4/2001 -0400, Geoff Talvola wrote: >At 09:36 PM 6/3/01 -0400, Jay Love wrote: > >>We talked about this a while back, and I thought the conclusion was to do >>it. It's not very complex, anyway. But let's revive the debate > >Last time we went around on this issue, I argued that

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Mike Orr
On Mon, Jun 04, 2001 at 10:00:50AM -0700, Tavis Rudd wrote: > > I wonder if there's a > > thread-safe Stack class analogous to the Queue class that > > comes with Python? There's a Stack class in the mx package. I don't know if it's thread safe though. http://www.lemburg.com/files/python/eGenix

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Baruch Even
* Geoff Talvola <[EMAIL PROTECTED]> [010604 20:02]: > At 09:36 PM 6/3/01 -0400, Jay Love wrote: > > >We talked about this a while back, and I thought the conclusion was to do > >it. It's not very complex, anyway. But let's revive the debate > > Last time we went around on this issue, I ar

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Tavis Rudd
On Monday 04 June 2001 11:54, Ian Bicking wrote: > Tavis Rudd <[EMAIL PROTECTED]> wrote: > > Good idea. I've never heard of a Stack class like this > > but it would be very easy to create a subclass of Queue > > that has LIFO rather than FIFO behaviour. Do you think > > it would make much of a d

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Geoff Talvola
At 10:00 AM 6/4/01 -0700, Tavis Rudd wrote: >On Monday 04 June 2001 07:41, Geoff Talvola wrote: > > I also argued that we'd be better off storing the threads > > on a stack instead of a queue. That way the most > > recently used threads get reused, which may produce > > slightly better performanc

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Tavis Rudd
On Monday 04 June 2001 07:41, Geoff Talvola wrote: > I also argued that we'd be better off storing the threads > on a stack instead of a queue. That way the most > recently used threads get reused, which may produce > slightly better performance. I wonder if there's a > thread-safe Stack class a

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-04 Thread Geoff Talvola
At 09:36 PM 6/3/01 -0400, Jay Love wrote: >We talked about this a while back, and I thought the conclusion was to do >it. It's not very complex, anyway. But let's revive the debate Last time we went around on this issue, I argued that you're better off preallocating all needed threads up

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-03 Thread Jay Love
We talked about this a while back, and I thought the conclusion was to do it. It's not very complex, anyway. But let's revive the debate Geoff Talvola wrote: > At 07:33 PM 6/3/2001 -0400, Jay Love wrote: > >> I've committed an update to use a dynamic number of threads in >> ThreadedAp

Re: [Webware-devel] cvs updates: Dynamic Number of Thread

2001-06-03 Thread Geoff Talvola
At 07:33 PM 6/3/2001 -0400, Jay Love wrote: >I've committed an update to use a dynamic number of threads in >ThreadedAppServer. All the plumbing is there and works well. I'm not >thrilled with the actual algorithm which determines when to add/delete >threads. That code is in ThreadedAppServe