Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:08
    cdfive labeled #2199
  • 15:08
    cdfive labeled #2199
  • 11:58
    RoySunnySean007 commented #2165
  • 11:57
    RoySunnySean007 commented #2165
  • 09:16
    wqan opened #2199
  • May 10 03:28
    yaoyuandota commented #1865
  • May 10 01:45
    flyPig-li closed #2187
  • May 10 01:45
    flyPig-li commented #2187
  • May 09 15:14

    dependabot[bot] on npm_and_yarn

    build(deps): bump hosted-git-in… (compare)

  • May 09 15:13
    CLAassistant commented #2198
  • May 09 15:13
    dependabot[bot] labeled #2198
  • May 09 15:13
    dependabot[bot] labeled #2198
  • May 09 15:13
    dependabot[bot] opened #2198
  • May 09 13:33
    DC-Joney edited #2197
  • May 09 13:31
    DC-Joney opened #2197
  • May 09 01:14
    wynwy commented #1213
  • May 08 14:39
    wynwy commented #1213
  • May 08 08:52
    Adol1111 commented #2188
  • May 08 08:50
    Adol1111 commented #2188
  • May 08 08:04
    cdfive commented #2188
Eric Zhao
@sczyh30
@TG1999 The select result will be public on this Friday. You'll receive an email with the result soon.
Tushar Goel
@TG1999
Thanks for the reply sir
Martin Zhang
@ashur816

Describe what happened (or what feature you want)

工作:集成SpringCloud Gateway+Sentinel+apollo

具体步骤:为了保证数据一致性,修改了Sentinel dashboard的代码,实现在dashboard中配置限流规则时,会推送数据到Apollo,然后gateway那边也配置了sentinel datasource是apollo,数据的流转已经可以了,限流规则也通过地址 http://{gatewaydomain}/actuator/sentinel 能查到。

问题1:网关启动后,当第一个请求到达网关时,限流规则被清空。
我查了下,是因为GatewayRuleManager 是懒加载,加载后,会触发GatewayRulePropertyListener#configLoad,导致RULE_MAP被清空,同时也会去更新FlowRuleManager里面的flowRules,导致flowRules被清空

问题2:基于问题1,我把GatewayRuleManager预先加载了,配置那块是不清空了,但是限流没有用,我也去查了下,发现数据流转是dashboard-->apollo-->RuleManager,但是限流的时候,是获取
GatewayRuleManager里面的RULE_MAP配置去做判断的,而此时dashboard的配置数据只传递到了RuleManager,并没有传递给GatewayRuleManager。

Anything else we need to know?

各组件版本
SpringCloud Greenwich.SR1
Sentinel 1.6
Apollo openapi 1.2.0

以上两点是我最近遇到的,有可能是我配置错误了,还请大神指教,谢谢~

附:
网关启动后
网关启动后

第一个请求访问后
第一个请求访问后

Martin Zhang
@ashur816
Sorry, I just pasted it out in mistake. Is anyone there?
Eric Zhao
@sczyh30
@ashur816 Could you please open an issue?
And you could upgrade Sentinel to 1.6.2
Martin Zhang
@ashur816
ok
Tushar Goel
@TG1999
It's 21 today. I am afraid, around what time we should be expecting the result.
Tushar Goel
@TG1999
Hi @sczyh30 when will be the results out 21 June is almost finished.
Tushar Goel
@TG1999
Hi @sczyh30 have you sent the emails ?
Tushar Goel
@TG1999
Hi @sczyh30 have you sent the emails. I think I am not selected then :( I just want to ask how can I improve for next year.
Eric Zhao
@sczyh30
@TG1999 Whether you've been selected or not, you'll receive an email (there might be somehow delay I think). I'll private reply you with some advice.
Tushar Goel
@TG1999
Some of my friends who have been selected have received an email and in ICE channel they said that who don't have received email are not selected .
@sczyh30 can you tell the students who are selected from Sentinel.
Tushar Goel
@TG1999
I have given the Proof Of Concepts for Algorithms
In that I have explained classes and module structure to show my ability I think you might not have consider that.
I will try next year :)
Eric Zhao
@sczyh30
Cheer up! See you next year
Li Yudong
@P01son6415
Hi all, I am Li Yudong(李煜东) from China University of Geosciences. I will be helping Sentinel with adaptive automatic flow control in this summer.
jievince
@jievince
你好
Eric Zhao
@sczyh30
Welcome!
Eric Zhao
@sczyh30
Hi folks, Sentinel 1.6.3 has been released with dashboard support for API Gateway flow control and other enhancements. See release notes for details: https://github.com/alibaba/Sentinel/releases/tag/1.6.3
See introduction for Sentinel 1.6.3 here (in Chinese): https://sentinelguard.io/zh-cn/blog/sentinel-1-6-3-release.html
shannon312
@shannon312
👍
wrathkuiye
@wrathkuiye
hello I like Sentinel
Eric Zhao
@sczyh30
Hi community, our ASoC'19 student Li Yudong(@P01son6415) and Liu Yiming(@lym-ifae) have accomplished their ASoC task about adaptive flow control. See #1003 and #1007 for details. Further discussions are welcomed :)
Congratulations to them! Hope we could make more progress in adaptive flow control and auto-scaling~
WunHwan
@WunHwanTseng
sentinel-spring-cloud-gateway-adapter什么时候发布第一个版本呢?
Eric Zhao
@sczyh30
@WunHwanTseng It has been released since 1.6.0. You may refer to: https://github.com/alibaba/Sentinel/tree/master/sentinel-adapter/sentinel-spring-cloud-gateway-adapter
The latest version is 1.6.3
Eric Zhao
@sczyh30
Hi folks, Sentinel 1.7.0 has been released with Envoy global rate limiting support and other cool features. See release notes for details: https://github.com/alibaba/Sentinel/releases/tag/1.7.0
Eric Zhao
@sczyh30
See introduction for Sentinel 1.7.0 here (in Chinese): https://sentinelguard.io/zh-cn/blog/sentinel-1-7-0-release.html
Eric Zhao
@sczyh30
Hi folks, Sentinel 1.7.1 has been released with cool features including Spring WebMvc integration and improvements for Dubbo 2.7.x asynchronous mode. See release notes for details: https://github.com/alibaba/Sentinel/releases/tag/1.7.1
See introduction for Sentinel 1.7.1 here (in Chinese): https://sentinelguard.io/zh-cn/blog/sentinel-1-7-1-release.html
Eric Zhao
@sczyh30
Hi community, recently we announced the first version of Sentinel Go, which provides out-of-box flow control and system adaptive protection for Go applications. You may refer to https://github.com/alibaba/sentinel-golang and have a try~
迈向云原生,Sentinel Golang 首个版本发布:https://sentinelguard.io/zh-cn/blog/sentinel-golang-v1-go-go-go.html
Eric Zhao
@sczyh30
Hi folks, Sentinel 1.7.2 has been released with Logger SPI support, SOFARPC integration, Zuul 2.x gateway flow control and other enhancements. See release notes for details: https://github.com/alibaba/Sentinel/releases/tag/1.7.2
See introduction for Sentinel 1.7.2 here (in Chinese): https://sentinelguard.io/zh-cn/blog/sentinel-1-7-2-release.html
Leason
@LeasonX
流量接入JIT C2 Compile Thead cpu占用升高,用sentinel的预热能解决么
Pawan
@Prodyte
hey
I am interested in ASOC20
peter zhang
@ddatsh
如何能支持 5秒一次呀
Eric Zhao
@sczyh30
Hi community, Alibaba Summer of Code 2020 has been announced! If you're a student and interested in working on cool features of Sentinel and becoming committers, feel free to contact us! For more information, you can refer to alibaba/Sentinel#1497
Feel free to discuss your favorite idea in the corresponding issue, or open a new issue regarding your cool ideas! Idea list: https://github.com/alibaba/Sentinel/labels/ASoC2020
Eric Zhao
@sczyh30
Eric Zhao
@sczyh30
Hi folks, Sentinel Go 0.3.0 has been released with circuit breaking support, which is used to provide stability and prevent cascading failures in distributed systems. See release notes for details: https://github.com/alibaba/sentinel-golang/releases/tag/v0.3.0
Harsh Agarwal
@harsh9200
Hello, For ASoC 2020 I would like to improve the C++ Version of Sentinel. I'm trying and testing the whole project. There are a few questions:
How to debug the codebase?
Eric Zhao
@sczyh30
You may refer to the README to build the project and run the demo.
Eric Zhao
@sczyh30
For all ASoC applicants: don't forget to prepare a demo (code snippet) to show your ability regarding your idea and proposal :)