Event driven server that wastes CPU when threaded doesn't
Felipe Almeida Lessa
felipe.lessa at gmail.com
Sun Oct 29 17:25:36 EST 2006
29 Oct 2006 14:18:02 -0800, Paul Rubin <"http://phr.cx"@nospam.invalid>:
> "Nick Vatamaniuc" <vatamane at gmail.com> writes:
> > The simplest solution is to change your system and put the DB on the
> > same machine thus greatly reducing the time it takes for each DB query
> > to complete (avoid the TCP stack completely).
>
> Since when do any db's let you avoid the TCP stack, even on the same
> machine?
Since there are Unix sockets? A quick google:
http://dev.mysql.com/doc/refman/5.0/en/multiple-unix-servers.html
http://archives.postgresql.org/pgsql-hackers/1997-10/msg00568.php
--
Felipe.
More information about the Python-list
mailing list