On Thu, May 8, 2014 at 11:23 AM, Daniele Sluijters <
daniele.sluijt...@gmail.com> wrote:

> So 3.6.0-rc1 is out but the new caching mechanism seems pretty much
> useless to me without a face or method to invalidate that cache (restarting
> the Puppetmaster is not a good method unless there's some one to do it with
> a SIGHUP or USR1/2).
>
>
Thanks for the feedback. There are a couple things that I'm curious about.
Are you not using a server that supports a graceful restart (apache +
passenger, nginx + unicorn and various combinations appear to)?


> The only way I can see this working for most people is having a cache of
> unlimited and invalidating that cache at deploy time. I'm not very
> susceptible that 'long lived low traffic environments like production' can
> benefit from large cache times because when you roll out a change you want
> it now, not now + timeout.
>

You've always had now + timeout. What happened previously was that puppet
used the "filetimeout" setting to throttle how often it would stat all of
the manifest files that it had loaded. If any of those files had changed,
then it would trigger a reload, but not before the "filetimeout" expired.
This had the side effect that if a new file appeared, it wasn't guaranteed
that puppet would pick it up unless another file that it was already
watching changed as well. In effect the new system trades off reparsing the
manifests for reducing stat calls. Sometimes that will end up being faster,
sometimes that will end up being slower.

-- 
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/f2bbcce2-f001-4170-a69a-9502b44e6d24%40googlegroups.com<https://groups.google.com/d/msgid/puppet-dev/f2bbcce2-f001-4170-a69a-9502b44e6d24%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Andrew Parker
a...@puppetlabs.com
Freenode: zaphod42
Twitter: @aparker42
Software Developer

*Join us at PuppetConf 2014 <http://www.puppetconf.com/>, September
22-24 in San Francisco*
*Register by May 30th to take advantage of the Early Adopter discount
<http://links.puppetlabs.com/puppetconf-early-adopter> **—**save $349!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CANhgQXuSmX%3DdScuSiHyZzyBwME2t0x-QGceBOyGXeA_hx-p%3Daw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to