About spike high concurrency solutions

There are generally five steps to solve this:

1. The first step to limit traffic : Since only a small number of users can successfully kill in seconds, it is necessary to limit most of the traffic and allow only a small amount of traffic to enter the backend of the service.

  That is to say, the incoming parameters are reduced to a minimum

2. The second step of peak reduction : For the instant kill system, there will be a large influx of users. Take takeout as an example, a large number of takeaways will be produced at noon, and the promotion of full reduction activities by merchants is even more popular. Therefore, there will be a high instantaneous peak at the beginning of the panic buying. High peak traffic is an important reason for overwhelming the system, so how to change the instantaneous high traffic into a stable traffic for a period of time is also an important idea for designing a spike system.

Common methods to achieve peak clipping include using technologies such as caching and message middleware: activeMq

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325246579&siteId=291194637