-
https://qicoder.com/source-scg/source-scg-start/
一 准备阅读分支 到Github上Fork源码到自己的github(没有github账号先注册一个)。 然后选择一个发布tag,比如我选择v2.2.5.RELEASE的源码,再创建一个分支用于阅读源码和写注释。 二 源码模块结构分析 模块说明 模块模块描述spring-cloud-gate…
-
背景:SpringCloudGateway集成Sentinel,并在gateway中配置了熔断规则(以下游服务为单位配置的),如下图:
![image](https://github.com/alibaba/Sentinel/assets/132799942/2f1fd254-7ee1-4f21-81a4-247a33f1e5f3)
过程:模拟下游的服务A异常
![image…
-
http://edisonxu.com/2020/10/14/spring-cloud-gateway-cors.html
问题在Spring Cloud项目中,前后端分离目前很常见,在调试时,会遇到两种情况的跨域: 前端页面通过不同域名或IP访问微服务的后台,例如前端人员会在本地起HttpServer 直连后台开发本地起的服务,此时,如果不加任何配置,前端页面的请求会被浏览器跨域限制拦截,所…
-
## Issue Description
ConcurrentLinkedHashMap在构造二维数组时会根据CPU核心数来计算出当前数组的一维下标长度,当核数为96时,下标为128,此时单个ParameterMetric对象大小接近1M,如下图所示:
![image](https://user-images.githubusercontent.com/40155605/1535502…
-
网关流控如何设置请求链路中的api只有“自定义API”类型的,系统的RouteID类型api太多容易导致超过最大数量6000,导致超出的api流控降级规则不生效
![image](https://user-images.githubusercontent.com/48684182/161936551-de271ac5-373f-4986-b18b-f59ba311ab4a.png)
-
## Issue description
sentinel-gateway-adapter , configed the FlowRules' resource with routeId.
then i added two or more rules in a same routeId,
these time window were setIntervalSec(60).setCou…
-
My SpringCloud Gateway has lots of globla filters , the sentinel filter is first .
when the try number is larger than setting number, i hope that the sentinel throws the exception and finish,
but b…
-
## 关于`TransmittableThreadLocal(TTL)` v3
> #### 🚧 `TransmittableThreadLocal(TTL)` v3 在开发中(在`master`分支),还没有发布。
新功能推荐都在`v3`中提供,原因:
0. `TTL`域的核心问题(包含了可扩展的能力、不包含扩展的实现)在`v2`解决了,并且稳定;
- `TTL`…
-
Redirection takes not place when it should for https hosts. Fix HttpRedirectFilter.
-
# 百亿流量 API 网关设计与实践
https://blog.csdn.net/oooo_mumuxi/article/details/96477324
本次分享我们从百亿流量交易系统 API 网关(API Gateway)的现状和面临问题出发,阐述微服务架构与 API 网关的关系,理顺流量网关与业务网关的脉络,带来最全面的 API 网关知识与经验。内容涉及:
### 第一部分:A…