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

Caching and performance improvements.. #19

Open
ghost opened this issue Mar 22, 2016 · 1 comment
Open

Caching and performance improvements.. #19

ghost opened this issue Mar 22, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 22, 2016

Basically cache alot of things and generate statistics for nodes.json every time data is transmitted. Then we use a .map() to generate the nodes.json (basically add flags), which woult be a hell lot faster than a forEach.
The graph will be a bit more complicated, but it can be a minute outdated, so we can simply regenerate the graph every minute. Also we should have one cache for all output formats.
A bit OT: Is there a way to do gzip? My servers do this via an nginx rev-proxy, but built-in support would be nice.

@tantive
Copy link
Contributor

tantive commented Apr 22, 2016

As zlib is already used in hopglass-server:
https://nodejs.org/api/zlib.html#zlib_examples

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

2 participants