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

rcmgr: Rename resource manager to resource accountant #2011

Open
MarcoPolo opened this issue Jan 24, 2023 · 0 comments
Open

rcmgr: Rename resource manager to resource accountant #2011

MarcoPolo opened this issue Jan 24, 2023 · 0 comments

Comments

@MarcoPolo
Copy link
Collaborator

... or something else.

The resource manager doesn't manage resources. It simply tracks the current usage of resources along with their predefined limits. It returns an error if current usage goes above the limits. This is more like an accountant then a manager. Calling it a manager makes it seem like this does more than it really does. It also makes it seem that this component is in charge or resource management, when, in fact, it's up to each protocol to be resource aware. Or to leverage the OS (containers, cgroups).

The resource manager is kind of like a bank account. I can try to withdraw $10, and that will probably work. But if I try to withdraw a million dollars, it'll certainly fail. My bank account doesn't manage my money and it doesn't prevent me from spending all my money on a single bored ape.

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