Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Any help?

PS: I've been thinking about write a plugin for squid to handle this situation.

share|improve this question
    
I'd argue squid isn't the place for this. Can you expand on how you identify user A vs B and why a standard QoS implementation won't solve this problem? –  polynomial Aug 29 '11 at 3:12
    
I'd thought about this too, and I'm not restricting the solution to squid. I've thought maybe I can implement some traffic shaping solution, some layer filtering and shaping the request made by my users. –  erick2red Aug 29 '11 at 13:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.