I have this situation and I want to know if anyone of you has some insight of how to solve it.
I'm using Squid as proxy server. And this is theoretical the situation:
My bandwidth is of 10kbps and I have two users, user A and user B. Now A has conceptually more priority to use the proxy of user B , so with delay pools implementation I manage to give user A more bandwith than user B. Now let's say I gave user A 8kbps and user B 4kbps. The problem is that if user B connects first to the proxy and start using its 4kbps of connection by the time user A comes in it just left 6kbps of bandwidth, and as far as I know, and I've tested Squid does not expropriate bandwidth.
What I want is that when user A comes in, no matter who is connected he gets his 8kbps of bandwidth.
PS: I've been thinking about write a plugin for squid to handle this situation.