[ale] /etc/hosts and caching

Jim Kinney jim.kinney at gmail.com
Sat Nov 5 13:40:15 EDT 2011


this list tests talking ability. duh!

On Sat, Nov 5, 2011 at 1:28 PM, Richard Bronosky <Richard at bronosky.com>wrote:

> 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
>>
>>
> _______________________________________________
> 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
>
>


-- 
-- 
James P. Kinney III

As long as the general population is passive, apathetic, diverted to
consumerism or hatred of the vulnerable, then the powerful can do as they
please, and those who survive will be left to contemplate the outcome.
- *2011 Noam Chomsky

http://heretothereideas.blogspot.com/
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20111105/6cd9966f/attachment.html 


More information about the Ale mailing list