Re: 1 Million users.. I can't Scale!!
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: 1 Million users.. I can't Scale!!

From: <skip@pobox.com>
Date: Thu Sep 29 2005 - 00:54:28 CEST

    Damjan> Is there some python module that provides a multi process Queue?

    Skip> Not as cleanly encapsulated as Queue, but writing a class that
    Skip> does that shouldn't be all that difficult using a socket and the
    Skip> pickle module.

Here's a trivial implementation of a pair of blocking queue classes:

    http://orca.mojam.com/~skip/python/SocketQueue.py

Skip
Received on Thu Sep 29 19:17:40 2005