cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: DNS-based cluster awareness for connection pools and pipelines

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 16 Apr 2013 08:24:29 +0200 (CEST)

On Fri, 12 Apr 2013, David Strauss wrote:

> Meanwhile, cURL has built-in DNS lookup, connection pool management, and
> connection re-establishment when reusing a persistent connection fails. Our
> ideal would be extending the DNS record awareness into the retry and pool
> logic to go from (1) today's ability to reconnect to a single IP to (2)
> ability to reconnect using other IPs listed in a DNS lookup, possibly using
> weights.

Right, it would certainly make a lot of sense to store more than one IP in the
DNS cache so that re-connections can continue on other IP addresses. And with
SRV etc, having the weights in there as well would also make sense, even if I
suspect it may be hard to make good use of them.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-16