Henrik, Do you know if it would be possible to cache all non-fact-based Hiera data and only traverse the tree for data that has actually changed?
That could save a LOT of time at compile. I suspect that there would need to be a cache invalidator similar to that in the Puppet core that has been discussed so much recently. Thanks, Trevor On Fri, May 16, 2014 at 3:50 PM, Henrik Lindberg < [email protected]> wrote: > On 2014-16-05 21:35, Alessandro Franceschi wrote: > >> Andy, >> did this on a vagrant box with eyaml and file backends. >> The hierarchy has 7 levels. >> >> > Debug: PROFILE [apply] 2.3.2 Called hiera: took 0.0156 seconds >> >> > If types on average have 10 parameters/properties, and you have 200 of > them, that means the overhead is something like 30 seconds for this > hierarchy. (Ballpark figure obviously) since it depends on where in the > hierarchy they are, and if they have values or not set in the manifests. > > Out of curiosity, why not use the Puppet Resource Default mechanism and > only lookup in hiera what you actually need and set those values as > defaults? Is it too limited for what you want to do? If so how? > > - henrik > > > > > -- > 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-dev/ll5q5d%24kqo%241%40ger.gmane.org. > > For more options, visit https://groups.google.com/d/optout. > -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 [email protected] -- This account not approved for unencrypted proprietary information -- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CANs%2BFoWjx1bv9h7WE7y7xAOucEK93TU8tV8DDcK6D7bFeQME2Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
