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

hbs策略加载问题 #8

Closed
qlyzpqz opened this issue Jun 24, 2016 · 1 comment
Closed

hbs策略加载问题 #8

qlyzpqz opened this issue Jun 24, 2016 · 1 comment

Comments

@qlyzpqz
Copy link

qlyzpqz commented Jun 24, 2016

看了一下hbs加载告警策略,都是全量加载,如果监控项、告警策略数比较会,hbs使用的内存就会很大,hbs的内存就会被成瓶颈,系统在设计时,为什么不考虑把hbs设计成按需加载的模式呢?judge在加载策略时,先把需要的host列表传给hbs,hbs再根据这个列表,先从内存中取,如果内存中没有再去数据库里读,hbs中的缓存加个定期失效

@laiwei
Copy link
Contributor

laiwei commented Jun 25, 2016

好的,hbs需要改善

@laiwei laiwei closed this as completed Jun 25, 2016
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

2 participants