[OT] This feels wrong (pthreads question)

Nicholas Leippe nick at leippe.com
Mon Jan 29 11:10:54 MST 2007


On Sunday 28 January 2007 14:22, Steve wrote:
> Hi everyone,
> As a coding excersize just to "see if I could do it" I decided to make
> a chat server using UDP.
> A major part of my design is the ability to scale up without slowing
> down much, as such I decided to break my server design into 3 major
> component objects.
> Listener, Sender, Core.

If you want to scale well, then polling is your enemy.  You want your entire 
design to be interupt driven if at all possible.





More information about the PLUG mailing list