1. 流量监管:
流量监管基本上是一种机制,它通过对符合指定速率的数据包使用操作来监视任何网络中的流量。网络中的策略会检查存储桶中的令牌数量。在流量监管中,一个令牌通常代表一个字节的流量。它可用于控制入站和出站流量。它还保持对多余流量的控制。
2.流量整形:
流量整形基本上是一种拥塞控制机制,它延迟一些数据包,使它们与其他流量组件保持一致。它增加了数据包的延迟和带宽。它通过给数据包一些延迟使流量符合一定的速率。流量整形只能用于控制出站流量。它还对数据包进行排队。
流量监管和流量整形的区别:
S.NO. | Traffic Policing | Traffic Shaping |
---|---|---|
1. | Traffic policing is a mechanism which monitors the traffic in any network. | Traffic Shaping is a congestion control mechanism that brings delays in packets. |
2. | The packets with rates that are greater than the traffic policing rate are discarded. | It buffers the packets with rates that are greater than the traffic shaping rate. |
3. | Traffic policing doesn’t cause delay. | Traffic shaping causes delay of packets. |
4. | The token values are calculated in bytes per second. | The token values are calculated in bits per second. |
5. | In traffic policing queuing of traffic is not performed. | Queuing of traffic is not performed in traffic shaping. |
6. | Traffic policing supports traffic remarking. | Traffic shaping doesn’t supports traffic remarking. |
7. | Traffic policing can be used to control outbound or inbound traffic. | Traffic policing can used to control outbound traffic only. |