Implement a "bandwidth budget" for the CDN toggle API

Bug #1849122 reported by Benjamin Allot on 2019-10-21
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snap Store

Bug Description

Currently, the API exposing the CDN providers uses a time based setting
i.e: /api/v1/cdn/<cdn-name>/<action>?expire=<seconds>

The idea would be to allow a certain amount of data to be redirected instead of a fix amount of time.
This will allow more control over what is redirected to the backend and prevent saturation when, for example, big snaps are suddenly released.

This bug is more of a placeholder as a reminder of already ongoing discussion on the subject.

Bret Barker (noise) wrote :

That would be substantial work to do store side, and likely easier to solve by just using short expire times and pinging the API more frequently.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers