john14 wrote:
Hi,

I have an xmlrpc server. I using the python package
xmlrpc. Here is what I am doing:

    s = xmlrpc.server()
    s.addMethods(method_hash)
    s.bindAndListen(PORT)
    while 1:
        try:
            s.work()
        except:
            e = sys.exc_info()

The problem is that when I send multiple requests they are queued and
processed one after the other. Is there some other method that will allow
me to process multiple request at the same time?

Thank You


Check out this snippet look at the end for user comments to get a multi-threaded or forking version.


http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81549

Hope this helps.

Adonis
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to