Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal service process count dynamically changing #57

Closed
okeuday opened this issue Nov 5, 2013 · 2 comments
Closed

Internal service process count dynamically changing #57

okeuday opened this issue Nov 5, 2013 · 2 comments
Assignees
Milestone

Comments

@okeuday
Copy link
Member

okeuday commented Nov 5, 2013

Need to provide a min/max process count, and allow the process count to change based on the rate. An internal service is only ramped-down by stopping idle service instances. The check to ramp-down (or ramp-up) occurs on a timer.

@okeuday
Copy link
Member Author

okeuday commented Nov 7, 2013

Function variations to leave all groups would help with this:
cpg:leave(Pid)
cpg:leave(Scope)
cpg:leave(Scope, Pid)
cpg:leave(Scope, Pid, Timeout)

After unsubscribed, use a timer to terminate the service instance when idle.

okeuday added a commit that referenced this issue Dec 13, 2013
…cally adjusting the number of processes used for a single service instance (i.e., single service_id) based on changes in the rate of incoming service requests. Add the rate-based hibernate service configuration option for internal services (a list of options for conditional hibernation). #57 #56
@okeuday
Copy link
Member Author

okeuday commented Dec 13, 2013

Done!

@okeuday okeuday closed this as completed Dec 13, 2013
okeuday added a commit that referenced this issue Dec 15, 2014
…cally adjusting the number of processes used for a single service instance (i.e., single service_id) based on changes in the rate of incoming service requests. Add the rate-based hibernate service configuration option for internal services (a list of options for conditional hibernation). #57 #56
okeuday added a commit that referenced this issue Dec 21, 2014
…cally adjusting the number of processes used for a single service instance (i.e., single service_id) based on changes in the rate of incoming service requests. Add the rate-based hibernate service configuration option for internal services (a list of options for conditional hibernation). #57 #56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant