On 2013-05-07 06:28, Alex Jurkiewicz wrote:
> How are people dealing with this sort of slowdown? Do I live with it,
> or is there a solution?
A common way to accelerate API management of external resources to
implement prefetching in the provider (using a real ruby type) to fetch
the current state with a single (or at least small amount of) calls.
That way you'll only take a small hit in the case that nothing has
changed and will only need a single call per change.
> I can probably cache more to speed up these resources, but a
> significant increase in Puppet run-time seems inevitable. I'm worried
> that longer run-times are going to be a problem as I move more and
> more system config from file resources to custom Puppet types.
The slowdown you are seeing does not come from config files vs. puppet
types, but from managing files vs calling into a seemingly effing slow
API. Other types like hosts or cron do not have as much overhead as you
are experiencing.
Regards, David
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.