spring boot + redis achieve site-limiting and anti-Interface brush function

Source url: https://github.com/zhzhair/accesslimit-spring-boot.git

Annotations @AccessLimit anti brush implement interface function, annotation process parameters on the parameter based on the priority of the annotation;

Limiting the need to configure how long the profile of how many requests can, of course, you can also use current-limiting mode of guava.

Guess you like

Origin www.cnblogs.com/zhzhair-coding/p/10960591.html