On Monday, September 16, 2013 6:48:17 AM UTC-5, Andy Parker wrote:
>
>
> The problem with this picture for being able to batch operations together, 
> is that everything turns into calls on the Puppet::Type instance, which 
> then makes all of the individual calls to the provider. To batch, we need 
> to group resources together and then give the groups to the provider.
>


So you don't think my suggestion above to let providers assemble and apply 
batches is workable?  I think it requires only one or two extra signals to 
the provider (via the Type), to mark batch boundaries.  Most of the magic 
would happen in those providers that choose to perform it, and those that 
don't choose to perform it can just ignore the new signals.  The main part 
of the protocol between the agent core and types/providers remains 
unchanged.

I haven't delved into the details of how exactly it would be implemented, 
so perhaps there is a show-stopper there, but I'm not seeing a flaw in the 
basic idea.


John

-- 
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 puppet-dev+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to