Google and Python

David wizzardx at gmail.com
Thu Sep 27 09:57:58 CEST 2007


> > It is trivial to pass a socket to a new thread or a forked child - you
> > don't need this mechanism for that.  It doesn't work on different
> > machines though - it has to be on the same machine.
>
> 8< ------------- nice explanation by Nick-----------------------
>
> How does a very large volume site work then? - there must be some
> way of sharing the load without bottlenecking it through one machine?
>

Large sites do load balancing (caching, dns round robin, reverse
proxies, etc) over many hosts. Passing connection handles around on a
single host is a different type of optimization.

See this link for info on how Wikipedia handles their load-balancing:

http://en.wikipedia.org/wiki/Wikipedia#Software_and_hardware



More information about the Python-list mailing list