On 28/06/10 19:17, Aurelien Degremont wrote:
> Hello
> 
> Hmmm... I missed that cached format in not using
> preferred_serialization_format value...
> This is YAML whatever I put there.
> 
> So this is the issue... YAML serialization for catalog is slow, and
> there is no way to work around this.

Are you sure this is the yaml caching that is slow (ie did you comment
the offending line to prove it)?

> In 0.24, catalog_format was used there. So there is a regression here.
> 
> Do you have workarounds or patches for this ?

Try 0.25.5, in this version the ruby MRI yaml has been replaced by an
all ruby yaml implementation which I think is faster and uses less
resources. I'd be interested in your findings.

It should be possible to make sure we change the terminus based on the
preferred_serialization_format. But the fact is that catalog caching
used the preferre_serialization_format in 0.24 was the result of a bug,
if I'm not mistaken.

Another alternative would be to resurrect #2892...
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/

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

Reply via email to