Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What does it mean to enable flow control when esb throughput is exceeded?
What does it mean to enable flow control when esb throughput is exceeded?
Traffic control is the core module of the bus system, which can effectively control the traffic situation in high concurrent transaction scenarios, and realize the stability and reliability of the business system and platform in business emergencies.

Typical traffic control algorithm uses token bucket algorithm to control network traffic. The token bucket algorithm of Baidu Encyclopedia is as follows:

Token bucket algorithm is one of the most commonly used algorithms in network traffic shaping and rate limiting. Usually, token bucket algorithm is used to control the amount of data sent to the network and allow the sending of burst data.

Token bucket is a control mechanism that indicates when traffic can be sent according to whether there is a token in the token bucket. Each token in the token bucket represents a byte. If there is a token in the token bucket, traffic is allowed to be sent; If there is no token in the token bucket, traffic is not allowed to be sent. Therefore, if the burst threshold is properly configured and there are enough tokens in the token bucket, traffic can be sent at the peak rate.

————————————————

Copyright statement: This article is the original article of CSDN blogger "smartesb" and follows the CC 4.0 BY-SA copyright agreement. Please attach the original source link and this statement.

Original link:/smartesb/article/details/39478981