开发者

SpringBoot限流

0
  • SpringBoot实现接口限流的常用方案

    目录漏桶和令牌桶说明项目基础配置pom.XMLapplication.yml启动类基于Redisson的令牌桶RateType限流键(key)的设计测试结果Guava的实现接口说明具体代码结果基于nginx的限流Nginx 限流核心模块:ngx_http_limit_req_[详细]

    2025-08-19 10:29 分类:开发
  • SpringBoot实现IP限流的示例代码

    目录一、引言二、IP 限流原理:深入解析2.1 令牌桶算法 (Token Bucket)2.2 漏桶算法 (Leaky Bucket)2.3 令牌桶与漏桶算法对比三、IP 限流的使用场景:应用广泛3.1 API 网关限流3.2 Web 应用安全防护3.3 微服务架构3.[详细]

    2025-06-28 13:24 分类:开发
  • How to invalidate the OutputCache in a webfarm?

    i\'ve got a website that uses OutputCache attribute to cache pages. Works great. Now, I\'m in the middle of R&D\'ing scaling up this site to be in a web farm. Along with the usual suspects for we[详细]

    2022-12-29 02:50 分类:问答