PS1:公司开发了api服务接口,老板说给A类用户每分钟只能使用10次,针对B用户不作限制。

.netcore中如何实现呢,在此献上一种方案,使用开源的限流组件AspNetCoreRatemit可分分钟实现老板想要的;

github地址:https://github.com/stefanprodan/AspNetCoreRateLimit

限流方案还是挺多挺灵活的,需要的朋友可小试。

相关文章:

  • 2022-02-09
  • 2021-09-19
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-27
  • 2021-09-02
  • 2021-06-19
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案