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

初始化mixer server后端存储服务接口不合理 #5

Open
1046102779 opened this issue Dec 20, 2018 · 0 comments
Open

初始化mixer server后端存储服务接口不合理 #5

1046102779 opened this issue Dec 20, 2018 · 0 comments

Comments

@1046102779
Copy link
Owner

Store interface和Backend interface都存在一个WaitForSynced(time.Duration) error方法,这个istio mixer采用的单向超时等待,后端存储服务加载VirtualService、Template和DestinationRule所有配置文件到内存中。

合理的方法应该是采用回调等待通知机制,来反馈。不然上面的做法有风险

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant