Re: xmlrpclib timeouts
From: p2esp (p2esp_at_yahoo.com)
Date: 03/02/04
- Next message: Jeff Epler: "Re: Thoughts on new vs traditional idioms"
- Previous message: Scott David Daniels: "Re: Little explanation"
- Maybe in reply to: p2esp: "xmlrpclib timeouts"
- Next in thread: Ross M Karchner: "Re: xmlrpclib timeouts"
- Reply: Ross M Karchner: "Re: xmlrpclib timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 2 Mar 2004 06:35:47 -0800 (PST) To: python-list@python.org
>> Hello,
>>
>> I'm using the xmlrpclib module to contact an XMLRPC
>> server that takes a long time to send results back.
My
>> client timeouts.
>>
>> The question is whether there is a way to have an
>> xmlrpclib client that never timeouts. I have been
>> searching for some code examples on how to do that,
>> but I could not find any in the xmlrpclib
>> documentation.
>>
>> Thanks for any hints.
> "Client that never times out" is not a good idea,
generally.
> Nothing in life is certain, but even moreso in
distributed
> systems. Timeouts are there to protect you from all
kinds
> of problem conditions (busy server, crashed
> server, etc.). You really don't want your client to
be in a
> position of waiting for a response that is never
going to
> come.
...
> Paul
Thank you Paul for your informative message.
I do understand it's not a good idea to do this, and I
will check what you suggest. Nevertheless, I still
want to know: can a "never timeout" client be written
in xmlrpclib?
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com
- Next message: Jeff Epler: "Re: Thoughts on new vs traditional idioms"
- Previous message: Scott David Daniels: "Re: Little explanation"
- Maybe in reply to: p2esp: "xmlrpclib timeouts"
- Next in thread: Ross M Karchner: "Re: xmlrpclib timeouts"
- Reply: Ross M Karchner: "Re: xmlrpclib timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|