Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push gateway rules to zookeeper datasource #1021

Closed
lkxiaolou opened this issue Aug 27, 2019 · 7 comments
Closed

Push gateway rules to zookeeper datasource #1021

lkxiaolou opened this issue Aug 27, 2019 · 7 comments
Labels
area/configuration Issues or PRs related to configurations of Sentinel area/gateway-flow-control Issues or PRs related to API gateway flow control kind/question Category issues related to questions or problems

Comments

@lkxiaolou
Copy link
Contributor

I'm using sentinel in gateway, but I found that gateway flow rules and api can not store and publish with zookeeper

@lkxiaolou
Copy link
Contributor Author

lkxiaolou commented Aug 27, 2019

found the same issure #992

@sczyh30 sczyh30 added area/configuration Issues or PRs related to configurations of Sentinel area/gateway-flow-control Issues or PRs related to API gateway flow control kind/question Category issues related to questions or problems labels Aug 27, 2019
@sczyh30
Copy link
Member

sczyh30 commented Aug 27, 2019

If you're going to publish the gateway rules to ZooKeeper you'll need to refactor the dashboard. See https://github.com/alibaba/Sentinel/wiki/在生产环境中使用-Sentinel#Push模式

For push-based data-source, it's not recommended to push rules via the WritableDataSource in the client side.

@sczyh30 sczyh30 changed the title gateway with zookeeper datasource Push gateway rules to zookeeper datasource Aug 27, 2019
@lkxiaolou
Copy link
Contributor Author

If you're going to publish the gateway rules to ZooKeeper you'll need to refactor the dashboard. See https://github.com/alibaba/Sentinel/wiki/在生产环境中使用-Sentinel#Push模式

For push-based data-source, it's not recommended to push rules via the WritableDataSource in the client side.

Not only gateway rules, should publish api-definitions with zookeeper ?

@lkxiaolou
Copy link
Contributor Author

@sczyh30 And there is an another question, does the dashboard can deploy in cluster mode? If yes, how to watch the InMemoryRuleRepository change events? If no, how to guarantee dashboard high availability ?

@linlinisme
Copy link
Collaborator

@sczyh30 And there is an another question, does the dashboard can deploy in cluster mode? If yes, how to watch the InMemoryRuleRepository change events? If no, how to guarantee dashboard high availability ?

@lkxiaolou the dashboard and sentinel-core 's relationship seems like the redis-client and redis-server. People always ask how to guarantee redis-server high availability, but seems rarely ask how to guarantee redis-client high availability, haha.

@lkxiaolou
Copy link
Contributor Author

@sczyh30 And there is an another question, does the dashboard can deploy in cluster mode? If yes, how to watch the InMemoryRuleRepository change events? If no, how to guarantee dashboard high availability ?

@lkxiaolou the dashboard and sentinel-core 's relationship seems like the redis-client and redis-server. People always ask how to guarantee redis-server high availability, but seems rarely ask how to guarantee redis-client high availability, haha.

I want to deploy many applications with sentinel-core and one sentinel-dashboard in cluster mode

@sczyh30
Copy link
Member

sczyh30 commented Sep 6, 2019

@sczyh30 And there is an another question, does the dashboard can deploy in cluster mode? If yes, how to watch the InMemoryRuleRepository change events? If no, how to guarantee dashboard high availability ?

@lkxiaolou the dashboard and sentinel-core 's relationship seems like the redis-client and redis-server. People always ask how to guarantee redis-server high availability, but seems rarely ask how to guarantee redis-client high availability, haha.

I want to deploy many applications with sentinel-core and one sentinel-dashboard in cluster mode

You may refer to #363

@sczyh30 sczyh30 closed this as completed Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration Issues or PRs related to configurations of Sentinel area/gateway-flow-control Issues or PRs related to API gateway flow control kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

3 participants