akash-network / support

Akash Support and Issue Tracking
Apache License 2.0
5 stars 4 forks source link

Endpoint Resource: Bandwidth Caps #67

Open boz opened 3 years ago

boz commented 3 years ago

Overview

There is currently no way to specify the max bandwidth that a deployment would like to use. This is problematic because bandwidth can be costly, and we want to prevent abuse.

Create standard Endpoint attributes that declare the maximum requested bandwidth used for both ingress and egress, and implement and enforce them on the provider

{
    "endpoint": {
        "shared": true,
        "attributes": {
            "ingress-max": 100,
            "egress-max": 500,
        }
}