Issue #2283 has been updated by Luke Kanies.

Status changed from Needs design decision to Accepted
Assigned to changed from Luke Kanies to community -

With REST, it should be relatively easy to maintain either some kind of 
connection counter to track how many open connections we have, or just use 
Facter to pull the load on the server and return that.

Obviously you'd want to be able to tune this a bit - a hard-coded value 
wouldn't work for everyone.  And I expect some things you'd want to be willing 
to wait on, while others you would not want to wait on (e.g., compiles can 
usually wait, fileserving can't because it's mid-transaction).
----------------------------------------
Feature #2283: Load distribution
http://projects.reductivelabs.com/issues/2283

Author: James Turnbull
Status: Accepted
Priority: Normal
Assigned to: community -
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