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

Heavy load for UI with many results #142

Open
drublic opened this issue Dec 1, 2014 · 4 comments
Open

Heavy load for UI with many results #142

drublic opened this issue Dec 1, 2014 · 4 comments

Comments

@drublic
Copy link

drublic commented Dec 1, 2014

Currently we are automatically running running a job once per day to measure data. This results in data which is obviously pretty big.
For a current project this means we build an index.html with the UI of about 7mb. And we run performance measurement for three projects. This is not practical.

At the moment we are throwing away data which is older than 90 days to handle this problem but still get large results.

A better solution would be to load data asynchronously: You can bootstrap data for lets say the last 20 runs and than load in more data if needed. This might result in more requests (maybe you can bundle than to 50 requests per file or so) but is far easier for people to have this data on a dashboard.

@stefanjudis stefanjudis added this to the v0.12.0 milestone Dec 1, 2014
@stefanjudis
Copy link
Owner

I totally agree with this. 👍

But it wouldn't work well with the smooth zooming in and out.

What about rendering D3 on server side, so that we can drop the huge JSON included in the HTML?
And then request new data if needed?

@drublic
Copy link
Author

drublic commented Dec 1, 2014

What about rendering D3 on server side, so that we can drop the huge JSON included in the HTML?
And then request new data if needed?

Sounds like a better idea which might be x times faster than the current implementation.

I would suggest to implement an option for how many runs to render anyway.

@stefanjudis
Copy link
Owner

Jap makes sense - but also means, that zooming also works for subsets of data, right?

For me this means two options:

  1. how many runs are included in the UI ( config option )
  2. how many runs are displayed in the UI ( would stick to select box on top )

I'm really excited about this server side D3 stuff - so let's do it? :bowtie:

@stefanjudis stefanjudis removed this from the v0.12.0 milestone Mar 19, 2015
@stefanjudis
Copy link
Owner

Moving this away for know. PR for limit of included runs is already there. :)

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