[Mono-dev] Nagle and NoDelay for HttpWebRequest -> EnableDnsRoundRobin
M. David Peterson
xmlhacker at gmail.com
Sat Apr 11 06:16:07 EDT 2009
On Fri, Apr 10, 2009 at 11:23 PM, Gonzalo Paniagua Javier <
gonzalo.mono at gmail.com> wrote:
> On Fri, 2009-04-10 at 20:08 -0600, M. David Peterson wrote:
> > While we're on the subject of HttpWebRequest performance, has anyone
> > looked into what is required to support
> > ServicePointManager.EnableDnsRoundRobin which, the last time I
> > checked, throws a NotSupportedException?
> I was actually looking at this last night.
Great timing! :-)
> Implementing this ranges from trivial to us doing our own DNS query
> library (straightforward, I've done it in a past life).
Interesting. What would be the benefit of going the DNS query library route?
The trivial solution: if the client gets several IPs for the server,
> rotate through them until the DnsRefreshTimeout is hit. If only one IP
> is returned by the DNS server we're entirely in DnsRefreshTimeout hands
> since IPHostEntry does not have an associated TTL.
> I'd like to test this on windows and set up a DNS server that I can
> control to see if the trivial solution is what they do and whether or
> not they query the server again if the TTL is expired. May be tomorrow.
If having access to a couple EC2 instances to use for DNS as well as
performance testing against a highly concurrent web service such as SimpleDB
would be helpful I'd be happy to start a few up and give you root access to
them. I also have a SimpleDB .NET library which has been designed for high
performance asynchronous operations which would make the performance testing
Let me know if having access to any of the above would be helpful. And
M. David Peterson
Co-Founder & Chief Architect, 3rd&Urban, LLC
Email: m.david at 3rdandUrban.com | m.david at amp.fm
Mobile: (206) 999-0588
http://3rdandUrban.com | http://amp.fm |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list