Tag:ASP. Net core current limiting
-
ASP. Net core uses fixed window to limit current
catalogue Algorithm principle Algorithm implementation In process memory fixed window algorithm Redis based fixed window algorithm Algorithm application 1. Install nuget package 2. Using middleware Algorithm principle Fixed window algorithm, also known as counter algorithm, is a simple current limiting algorithm. Set a threshold value and a count value in the unit time. Each time […]
-
Solve ASP Net # core using leaky bucket algorithm to limit current
catalogue Algorithm principle Algorithm implementation In process memory leaky bucket algorithm Redis based leaky bucket algorithm Application algorithm 1. Install nuget package 2. Using middleware Leaky bucket algorithm is one of the four mainstream algorithms for current limiting. Its application scenarios are not introduced in various materials. Generally, it is applied in network flow control. […]