-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Request performance improvements #6243
Conversation
@lilleyse, thanks for the pull request! Maintainers, we have a signed CLA from @lilleyse, so you can review this at any time. I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
Will any of these improvements take HTTP/2 vs HTTP/1.1 throughput into account? For many of these optimizations, I'm sure it doesn't matter but I've seen incredible performance improvements with HTTP/2 for certain views if I throttling is disabled completely. I guess an optimal scheduling system won't actually care which protocol is being used. |
Yes, I have a note for http2:
|
Shame on me, sorry for the noise I totally missed that. |
6dcf777
to
fa3a642
Compare
Congratulations on closing the issue! I found these Cesium forum links in the comments above: https://groups.google.com/forum/#!topic/cesium-dev/WQ4mgLcoBqI If this issue affects any of these threads, please post a comment like the following:
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
Move tileset cache to its own class
Thanks again for the pull request! Looks like this pull request hasn't been updated in 30 days since I last commented. To keep things tidy should this be closed? Perhaps keep the branch and submit an issue?I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
For the terrain improvements I've been working on, I've experimented with this metric for terrain tile prioritization:
And have been pretty happy with it so far, though I haven't done a particularly principled analysis of it. FYI, though, I've also disabled terrain tile prioritization with |
Hey @kring I noted this problem above:
This is probably one of the bigger problems with the I envision You priority function also looks a lot like @pjcozzi's suggestion in the task list above:
|
Makes sense to me. You might be interested in taking a look at my slightly hacky changes to The idea is to make
Not quite, my metric is |
@ggetz is it worth considering some of these? |
Makes sense - I read the code snippet too quickly before. We've been planning on adding something similar to the 3D Tiles traversal. The request scheduler changes sound good too... back to basics. |
I was originally hoping to finish more of these and consolidate them into a single PR (this), but I think it's better now to close this and submit fixes individually to master. I moved 3D Tiles relevant items to #5509. |
Congratulations on closing the issue! I found these Cesium forum links in the comments above: https://groups.google.com/forum/#!topic/cesium-dev/WQ4mgLcoBqI If this issue affects any of these threads, please post a comment like the following:
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
Any request prioritization related PRs will be going into this one.
Task list:
Request
pool to avoid allocating manyRequest
objects.