2010/6/1 Robert Ullmann rlullmann@gmail.com:
Hi,
I noted that MWclient uses, or tries to use, persistent HTTP connections to the API.
I have a few questions, as I am looking at improving Interwicket, which makes lots of API calls, and is sometimes driven nuts by the two layers of proxies (here, on my side of the net) that are prone to failing ...
Is using persistent connections a good idea?
For requests made in rapid succession, definitely. For requests that are further apart, maybe.
What is the server-side timeout when a connection is idle?
No idea. You could find out by trying :)
Can I make requests to various different projects (xx.wiktionary, for various xx) on the same connection (looks like it, as they all return the same address)?
Yes, they all return the same IP address.
Roan Kattouw (Catrope)