Application qos involving priority and bandwidth

Posted by Steve Peng on Programmers See other posts from Programmers or by Steve Peng
Published on 2013-08-23T14:03:31Z Indexed on 2013/10/26 4:09 UTC
Read the original article Hit count: 285

Filed under:
|
|
|

Our manager wants us to do applicaiton qos which is quite different from the well-known system qos. We have many services of three types, they have priorites, the manager wants to suspend low priority services requests when there are not enough bandwidth for high priority services. But if the high priority services requests decrease, the bandwidth for low priority services should increase and low priority service requests are allowed again.

There should be an algorithm involving priority and bandwidth. I don't know how to design the algorithm, is there any example on the internet? Somebody can give suggestion?

Thanks.

UPDATE All these services are within a same process. We are setting the maximum bandwidth for the three types of services via ports of services via TC (TC is the linux qos tool whose name means traffic control).

© Programmers or respective owner

Related posts about design

Related posts about c++