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

use gzip where possible? #6

Open
job opened this issue Feb 23, 2017 · 9 comments
Open

use gzip where possible? #6

job opened this issue Feb 23, 2017 · 9 comments

Comments

@job
Copy link
Contributor

job commented Feb 23, 2017

hanna:~ job$ wget "https://lg.coloclue.net/birdseye/api/routeserver/0/routes/filtered/?protocol=peer_AS3257_0"
--2017-02-23 19:41:39--  https://lg.coloclue.net/birdseye/api/routeserver/0/routes/filtered/?protocol=peer_AS3257_0
Resolving lg.coloclue.net... 94.142.247.19
Connecting to lg.coloclue.net|94.142.247.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13880757 (13M) [application/json]
Saving to: ‘index.html?protocol=peer_AS3257_0’

index.html?protocol=peer_AS3257_0                    100%[====================================================================================================================>]  13.24M  4.11MB/s    in 3.2s

2017-02-23 19:41:48 (4.11 MB/s) - ‘index.html?protocol=peer_AS3257_0’ saved [13880757/13880757]

hanna:~ job$

this takes too long :-)

@job
Copy link
Contributor Author

job commented Feb 23, 2017

even when the json blob is loaded in the browser, the sheer size of it seems to cause issues when rendering the table: https://lg.coloclue.net/birdseye/app/routeservers/0/protocols/peer_AS3257_0/routes is not working, this is a peer with "accepted: 167114, rejected: 14682"

@hellerve
Copy link
Member

This peer serves for an interesting benchmark. I will think of a few ways to make this faster.

Just as a heads-up: I will open a birdwatcher issue, because the service performance is better addressed there. As for the frontend being unable to render it, I will see what I can do to reducre the footprint of the React components.

@job
Copy link
Contributor Author

job commented Feb 23, 2017

Plenty of other big peers to compare with! https://lg.coloclue.net/birdseye/app/routeservers/0

@hellerve
Copy link
Member

Thanks a lot, that's a great use case.

@job
Copy link
Contributor Author

job commented Feb 23, 2017

@hellerve if you want access to the routers so you can do real time debugging of components like birdwatcher or birdseye that is no issue, just mail me job@instituut.net

@hellerve
Copy link
Member

Thanks, I'll probably need that tomorrow. For now I'm going to enjoy the evening. Thanks for all of your bug reports and feature requests today, much appreciated!

@job
Copy link
Contributor Author

job commented Mar 8, 2017

was this done?

@hellerve
Copy link
Member

hellerve commented Mar 8, 2017

It is currently in a feature branch awaiting review. I will ping the reviewer.

@annikahannig
Copy link
Member

I reviewed and merged it.
I'll have to patch the python backend though to support the gzipped result.

I'll keep you all posted :)

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

3 participants