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

Backend: cache for Zabbix API requests #802

Closed
alexanderzobnin opened this issue Sep 26, 2019 · 0 comments
Closed

Backend: cache for Zabbix API requests #802

alexanderzobnin opened this issue Sep 26, 2019 · 0 comments

Comments

@alexanderzobnin
Copy link
Collaborator

Zabbix plugin produces a lot of queries, so in order to rid of unnecessary workload, cache should be implemented on the backend. go-cache can be used as a simple cache implementation.

See cachingProxy.js for details
https://github.com/alexanderzobnin/grafana-zabbix/blob/6e80b491205168a2744970bfd0403a76447e580b/src/datasource-zabbix/zabbix/proxy/cachingProxy.js#L70

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

No branches or pull requests

1 participant