On Thu, May 22, 2008 at 11:12 PM, Shannon -jj Behrens <[EMAIL PROTECTED]> wrote:
> Has anyone tried out the mod_wsgi module for *Nginx*?  Yeah, I know,
> weird: http://wiki.codemongers.com/NginxNgxWSGIModule

I personally know the author and I definitely recommend it. He's
focused and competent.

> Being asynchronous rules!  That's why Erlang, Squid, IronPort servers,
> Nginx, etc. are able to handle so many concurrent requests so easily.
>  Here's the link to the C10K paper referenced earlier:
> http://www.kegel.com/c10k.html.  It explains why a thread or process
> model doesn't cut it if you want to handle 10K simultaneous requests.

There's just only a little problem with async: it does not scale on
multicore architectures or multiple nodes.
At least not by itself. You have to mix it with other kinds of
concurrency approaches to gain advantage of that.
Erlang is async but it does scale everywhere by the way it was built.

> If you're interested in doing asynchronous programming in Python but
> without the painful callback style approach used by Twisted, check out
> http://wiki.secondlife.com/wiki/Eventlet.  It's based on the same
> tricks used by Yahoo Groups, IronPort, and Slide.

I will definitely look into it! Thanks. Have you tried it for
something "real-worldish" or just examples?

> As usual, I recommend that anyone who wants to talk about scalability
> read "Scalable Internet Architectures".  Gees, I probably sound like a
> broken record concerning that book ;)

Noted. I am reading Building Scalable Websites at the moment but I
will buy it afterwards


-- 
Lawrence, stacktrace.it - oluyede.org - neropercaso.it
"It is difficult to get a man to understand
something when his salary depends on not
understanding it" - Upton Sinclair

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to