peer-os
peer-os copied to clipboard
Resource Management Design
UI Design
Peer owner can access the resource management feature from the following UI point:
Console UI-> Resource Hosts -> Profiles tab
In Profiles page owner should see list of profiles and must have ability create/delete/change profiles.
In Resource Host tab, owner can apply profile to selected RH:
DB Design
To store and get access for profiles one table must enough.
REST API
We must implement REST API to manage RH profiles. Everyone can read RH profiles and only owner can create or change profiles
Dependencies
Console should collect statistics about resource usage from agent. We will get average of used resources (RAM, CPU, DISK) for last 15 minutes, it will help collect more correct data.
As I understand we will use these resources RAM, DISK, CPU, and will not use network. @niclash clarify plz