Le 06/07/2012 20:29, Brice Figureau a écrit :
The counterpart is that your compilation will now take ages (ie you'll
have to compute those checksums during compilation). Your clients might
timeout.
That's how static compiler works.
I agree that more computation should be done at catalog compilation time. But, in the whole, when you will have a bunch of puppet agent runs at the same time, the whole work required by the master will be reduce. In the current version, the puppet master is already computing the checksum for metadata information when agents are applying their catalog. This whole part will be drastically reduced. At the end, the work of master will be smaller, and you will all reduced latencies on puppet agent as they will not need to send a lot of RPC to fileserver to know the file checksum.
Moreover I think that some way of caching could be find to avoid computing 
checksum for every catalog.

If you really think what you point is true, so static compiler feature is 
useless...
In a more general way, it would be great to have a lighter checksum (ie
mtime/size) tried before resorting to md5...



Aurélien

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to