Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-08 Thread Pete Forman
"Gabriel Genellina" writes: > En Sat, 06 Feb 2010 22:15:48 -0300, Jean-Michel Pichavant > escribió: > >> I'm puzzled. >> Unless my english is failing me, everything would be solved using >> hostnames if I follow you. Why don't you do that ? >> I am no network/IP guru, but it sounds very weird

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-07 Thread News123
Hi JM, Jean-Michel Pichavant wrote: > News123 wrote: >> Jean-Michel Pichavant wrote: >> >> >> Well This was exactly my question. >> for virtual web servers I cannot just use the IP-address. >> some XMLRPC servers do need the histname within the HTTP-POST request. >> >> > a valid IP address w

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-06 Thread Gabriel Genellina
En Sat, 06 Feb 2010 22:15:48 -0300, Jean-Michel Pichavant escribió: I'm puzzled. Unless my english is failing me, everything would be solved using hostnames if I follow you. Why don't you do that ? I am no network/IP guru, but it sounds very weird to have requests rejected when using IP a

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-06 Thread Jean-Michel Pichavant
News123 wrote: Hi JM, Jean-Michel Pichavant wrote: import socket # server server = SimpleXMLRPCServer((socket.gethostname(), 5000), logRequests=False, allow_none=True) # client xmlrpclib.ServerProxy("http://%s.yourdomain.com:%s"; % (socket.gethostname(), 5000)) Well This was exact

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-05 Thread Steve Holden
News123 wrote: > Hi Gabriel, > > Gabriel Genellina wrote: >> En Thu, 04 Feb 2010 19:34:20 -0300, News123 escribió: >> >>> I wrote a small xmlrpc client on Windows 7 with python 2.6 >>> >>> srv = xmlrpclib.Server('http://localhost:80') >>> >>> I was able to perform about 1 rpc call per second >>>

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-05 Thread News123
Hi JM, Jean-Michel Pichavant wrote: >> Gabriel Genellina wrote: >> >>> En Thu, 04 Feb 2010 19:34:20 -0300, News123 escribió: >>> >>> I wrote a small xmlrpc client on Windows 7 with python 2.6 srv = xmlrpclib.Server('http://localhost:80') I was able to perform about

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-05 Thread News123
Hi Gabriel, Gabriel Genellina wrote: > En Thu, 04 Feb 2010 19:34:20 -0300, News123 escribió: > >> I wrote a small xmlrpc client on Windows 7 with python 2.6 >> >> srv = xmlrpclib.Server('http://localhost:80') >> >> I was able to perform about 1 rpc call per second >> >> After changing to >> srv

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-05 Thread Jean-Michel Pichavant
News123 wrote: Yhanks a lot I'll check whether this is the root cause. Currently my machine could live without IPV6 bye N Gabriel Genellina wrote: En Thu, 04 Feb 2010 19:34:20 -0300, News123 escribió: I wrote a small xmlrpc client on Windows 7 with python 2.6 srv = xmlrpclib.S

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-05 Thread News123
Yhanks a lot I'll check whether this is the root cause. Currently my machine could live without IPV6 bye N Gabriel Genellina wrote: > En Thu, 04 Feb 2010 19:34:20 -0300, News123 escribió: > >> I wrote a small xmlrpc client on Windows 7 with python 2.6 >> >> srv = xmlrpclib.Server('http://l

Re: xmlrpc slow in windows 7 if hostnames are used

2010-02-04 Thread Gabriel Genellina
En Thu, 04 Feb 2010 19:34:20 -0300, News123 escribió: I wrote a small xmlrpc client on Windows 7 with python 2.6 srv = xmlrpclib.Server('http://localhost:80') I was able to perform about 1 rpc call per second After changing to srv = xmlrpclib.Server('http://127.0.0.1:80') I was able to per

xmlrpc slow in windows 7 if hostnames are used

2010-02-04 Thread News123
Hi, I wrote a small xmlrpc client on Windows 7 with python 2.6 srv = xmlrpclib.Server('http://localhost:80') I was able to perform about 1 rpc call per second After changing to srv = xmlrpclib.Server('http://127.0.0.1:80') I was able to perform about 10 to 16 rpc calls per second. So it seem