gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Re: Server sockets with GCL?


From: Dennis Decker Jensen
Subject: Re: [Gcl-devel] Re: Server sockets with GCL?
Date: Sun, 09 May 2004 00:40:32 +0000

Hi!

        Chris Hall wrote Fri, 07 May 2004 01:45:20 -1000
        
        I'll also vote for select(), in whatever form,
        though the more generally useful, the better, I'd say.
        Especially if the level of effort is appreciably lower
        than other approaches.
        
        Twisted, http://www.twistedmatrix.com/, is a Python
        networking framework that is based on select(), but
        only for sockets, AFAIK.  I've used it a fair amount,
        and once I got my mind around async-style programming,
        loved it.  For relatively long-running and blocking
        tasks, they maintain a pool of threads - on top of this
        is a class for database queries.
        
        Performance of web apps is marvelous when coded
        appropriately, in my experience.
        
There is an interesting article on the twisted framework. It
is written by David Mertz and comes in four parts starting at

http://www-106.ibm.com/developerworks/linux/library/l-twist1.html

SmallTalk module for fastcgi is also very interesting in terms
of fast and simple web servers. There is a white paper.

http://mod.smalltalk.org

Somewhere on the net, I haven't been able to find it,
there is also an article from the ACE people on some very
interesting measures on asyncronous versus syncronous IO and
measures showing that per-thread handling might actually be
the slowest approach although the most common approach...

Indeed, a select() like solution looks very interesting.

Ciao!

Dennis Decker Jensen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]