How to implement traffic limit