Traffic Governance Definition

In high concurrency Internet service scenarios, traffic limiting, circuit breaker and downgrading are often mentioned and applied. Traffic limiting is a part of traffic management. Of course, in addition to traffic limiting, there are other ways to control traffic, such as traffic distribution control, traffic monitoring, and traffic prediction.

Purpose of traffic governance

Buy an insurance policy for the system

Do flow management, in fact, is equivalent to the system to buy an insurance. Since it is insurance, it is not always available, only when it is needed.

Take the e-commerce business scenario as an example, the daily traffic can be carried by the system. Afraid to engage in activities, greatly promote these time nodes, the flow of sudden increase, the system collapsed. Immediately restarted, a new wave of traffic came and crashed again. And so on and so forth, and that’s one of the reasons why sometimes you find that certain apps just don’t work.

If you do the function of limiting the flow, you can directly reject the unbearable flow, so as to protect the system from being washed out. Those requests that are rejected will only affect some users’ experience, but your system will still be able to provide services to others in a healthy way.

There are also many cases in life for our reference. For example, the viaduct in Shanghai will also limit the flow. In the morning and evening rush hours, Shanghai board is only allowed to go up, and non-Shanghai board can only go to the ground. Why don’t we get all the cars on it? There are too many cars, traffic jams.

Shanghai limits traffic through license plates. In our product, you can give priority to providing services to paying users, and give priority to limiting non-service users when traffic exceeds the limit, so as to ensure the experience of paying users. Otherwise why Shanghai brand to 100 thousand price, you do not necessarily shoot to.

If do simple point, may be all of a sudden direct limit, will not be mixed with business attributes put inside, mainly to see the scene.

Create a health profile for the system

We often go to experience, through experience can better understand their own health status. The system is no exception. In fact, the physical examination of the system is also the pressure test or regular pressure test before we promote.

But let’s think about it, the pressure test must not be done every day, the single-interface pressure test is ok, like the full link pressure test is still quite time-consuming, even if there is a more complete pressure test platform, I believe that I will not go to the pressure test every day.

The state of a system manifests itself at all times. A lot of useful data can be collected through traffic governance.

First of all, we can analyze the trend of flow, which time point in a day is the highest flow, the peak is how much. Holiday traffic than usual how much higher, with these data on the basis of the traffic can be estimated to provide reference value.

We can also know the flow of each system, how the performance of these systems is under different flow conditions, and whether RT changes significantly.

You can also know which requests are blocked when flow control is triggered. Whether the flow can be optimized and whether the flow can be graded for flow control.

conclusion

Our title is “** Why do big companies do traffic governance?” ** Why not write about small companies? That’s because small companies don’t have much traffic. How many DAU are over 10 million, even fewer are over 100 million.

In general, the reason to do traffic governance, the ultimate goal is to ensure the stability of the system. Prevent the system from being washed out in the case of sudden high traffic.

Behind will continue to talk to you about traffic governance this topic, the article will also come out, continue to help you understand how to play traffic governance.

Hello everyone, I am a handsome man from ancient times: structure ferryman. I will put my martial arts secret all impart with you, feel useful please share to the friends around. Let’s do a triple. Thank you!