[ale] /etc/hosts and caching
Richard Bronosky
Richard at Bronosky.com
Sat Nov 5 13:28:38 EDT 2011
Geeh, I'm glad someone read my demo! You can talk all day long, or you can
code a proof. I encourage my developers to do that because at least 20% of
what they find on the internet doesn't apply because of config differences.
I also would encourage the OP to try putting IP addresses into the
applications to see what that does for performance. Unfortunately the
concept of "test instead of talk" does not go very far on this list.
On Nov 5, 2011 10:10 AM, "leam hall" <leamhall at gmail.com> wrote:
> yeah, it took me a sec to figure out why you did that, but it makes sense.
> Your example shows that for that purpose /etc/hosts file changes are
> updated immediately. With "immediate" being defined as sub 1 second.
>
> I would assume there are edge cases where nscd causes issues. Not sure
> what they are but with the wide spread usage of Linux there are probably
> some places.
>
> Leam
>
> On Fri, Nov 4, 2011 at 6:42 PM, Richard Bronosky <Richard at bronosky.com>wrote:
>
>> What is important to note about that example is that ping, like most
>> applications that do network lookups, will only do the lookup once at the
>> beginning. For that reason my example required that I put single ping calls
>> in a loop
>>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20111105/67b201c7/attachment.html
More information about the Ale
mailing list