Open
Conversation
testing performance of connection pool
Member
|
@nitrag thanks for this contribution. It can take a while to download a file planet's worth of terrain tiles, so it's a great idea to parallelize that. We've got a number of other projects going so aren't able to work at the moment, but feel free to continue your PR and ping us when it's ready for a code review. |
…you need to download in batches because of storage limitations
# Conflicts: # planetutils/elevation_tile_downloader.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is probably not ready for an out-right merge but I want to bring it to you attention that it's possible to 10x the speed of tile downloads.
I'm able to achieve 450 tiles/sec (680Mbps) with this new method while downloading zooms 12, 13, 14 as separate commands. These stats are with an 8 CPU server, SSD (0% IO-Wait). So the limitation is my bandwidth.
Perhaps you want to incorporate this method into the larger download mechanisms.