Issue #2283 has been updated by Brice Figureau.

James Turnbull wrote:
> Puppet needs some kind of simple mechanism to distribute load on a single 
> server.
> 
> What I've been thinking is providing a simple method on the server for 
> clients to ask what the server's load is. That way, each client could 
> connect, check the load, and if the server is loaded wait a few minutes or 
> whatever to connect, and if the server is free, then go ahead and run the 
> configuration immediately.
> 
> That should provide decent load distribution across the Puppet run interval 
> (half an hour or whatever) while providing very good interactive performance 
> for users -- i.e., if you go to a client and run the client directly, it will 
> run right away, without sleeping for five minutes or whatever.
> 
> This should be a relatively straightforward implementation -- a method on the 
> server, and a call plus some sleeping on the client.

And we even get the Status handler which is at best unused to get/serve this 
information.
Now the question is what do you consider a "loaded" master?
----------------------------------------
Feature #2283: Load distribution
http://projects.reductivelabs.com/issues/2283

Author: James Turnbull
Status: Needs design decision
Priority: Normal
Assigned to: Luke Kanies
Category: plumbing
Target version: unplanned
Complexity: Unknown
Affected version: 0.24.8
Keywords: 



Puppet needs some kind of simple mechanism to distribute load on a single 
server.

What I've been thinking is providing a simple method on the server for clients 
to ask what the server's load is. That way, each client could connect, check 
the load, and if the server is loaded wait a few minutes or whatever to 
connect, and if the server is free, then go ahead and run the configuration 
immediately.

That should provide decent load distribution across the Puppet run interval 
(half an hour or whatever) while providing very good interactive performance 
for users -- i.e., if you go to a client and run the client directly, it will 
run right away, without sleeping for five minutes or whatever.

This should be a relatively straightforward implementation -- a method on the 
server, and a call plus some sleeping on the client.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to