Re: Fundamental architecture of a proxy implementing keep-alive.

From: Dancer <dancer@dont-contact.us>
Date: Fri, 27 Aug 1999 07:38:50 +1000

"James A. Donald" wrote:
>
> "James A. Donald" wrote:
> > > > Are you suggesting thread and one state machine for each
> > > > client-proxy connection, or one thread and one state machine for
> > > > all client-proxy connections?
>
> From: Dancer [mailto:dancer@zeor.simegen.com]
> > > A single thread of execution for everyone. select() or poll()
> > > coupled with non-blocking connect()s and such.
>
> From: James A. Donald [mailto:jdonald@corp.surfmonkey.com]
> > I find it odd that the non blocking connect is "less hungry", since
> > if we are polling then the thread runs continuously
>
> Oops, duh, I forgot that select() blocks.

So does poll().

D
Received on Thu Aug 26 1999 - 15:25:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:07 MST