Riak bind to hostname instead of IP Address!!
Alex De la rosa
alex.rosa.box at gmail.com
Thu Apr 30 03:13:28 EDT 2015
You really don't want to do that... In the past, when using PostgreSQL and
binding it to a subdomain like db.yourdomain.com (just for not having to
remember IPs, even it doesn't really matter in code-level) I
had experienced randomly and unexpectedly very slow timings and even
disconnections for quite some painful time just because DNS servers between
were having issues, etc... Using an IP address will never incur in this
kind of issue as no hostname translations has to be performed.
I don't see any benefit for doing so. Just use IPs and forget about DNS
On Thu, Apr 30, 2015 at 9:05 AM, Praveen Baratam <praveen.baratam at gmail.com>
> Just to clarify... I was referring to...
> Is it legal to bind Riak to a hostname instead of IP?
> Yes, it's legal but it will incur the overhead of the lookup. If you're
> talking about the HTTP/PBC interfaces, it's best to use IP addresses, but
> for the node name, it's totally fine to use a hostname.
> Will it be a significant overhead? I believe the it will just be a
> function call after the initial lookup rather than a network call.
> On Wed, Apr 29, 2015 at 12:40 AM, Praveen Baratam <
> praveen.baratam at gmail.com> wrote:
>> Hello All,
>> I found it on the FAQ that using hostnames instead of IP addresses will
>> incur a overhead! Will it be a significant overhead? I believe that if a
>> hostname is queried during startup, the same will be used through the life
>> of the VM or in an optimized case till the DNS TTL expires!!
>> Praveen Baratam
>> about.me <http://about.me/praveen.baratam>
> Dr. Praveen Baratam
> about.me <http://about.me/praveen.baratam>
> riak-users mailing list
> riak-users at lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users