We are implementing caching in Facter, and are looking for feedback on how we've decided to do so. As further described in this ticket<https://projects.puppetlabs.com/issues/14667>, we've deciding against an internal cache because it's *really hard* to get right in a concurrent environment.
Our supported interface will be a simple yaml file on disk using only key/value pairs with out-of-band updates. This will allow us to decouple the cache from the implementation of updating the cache, which will allow us to potentially transition to a daemonized version of Facter which can do piecemeal expiration of individual facts rather than replacement of the entire cache. The update method today might be cron, but it allows us some flexibility it how we do the updates. This method has been proven effective in MCollective. We know we have some slow fact resolutions, this is not meant to bypass those, we'll still need to investigate and solve those issues. -- Hailee Kenney Development Intern Puppet Labs, Inc. [email protected] -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
