I am going to deploy a website with several big media files (~10 GiB) and I would like to balance the load on it.
NGINX will be used to serve the files. What I would like to achieve is something that has already been discussed here, but no real answer has been received.
These two posts have similar intentions:
Dynamic throttling of bandwidth
I have a Gigabit pipe and I would like to give each user an equal quantity of bandwidth. (ie. one user downloading would have the whole Gig, two users would have 500Mbps/ea, and so on)
Is there any way to achieve this kind of "dynamic throttling" with nginx? I am aware that there is a way to throttle users' bandwidth with Nginx, but poses the following problem:
The normal throttling would just allocate eg. 100Mbps per user, but if there is just a single user downloading the rest of the pipe would be underutilized.