For disussion: Inflight unzip - #360
Draft
skjolber wants to merge 2 commits into
Draft
Conversation
Collaborator
|
Thanks for this. I don't have any hard numbers how OBA is used (and I don't think we will get them) but here are mine: at home I have a 250MB connection and on my servers I have gigabit. So for me personally it would not make a big difference. I think if you want to optimize this, then you could do so in the OTP code itself, which has its own HTTP layer. There you can get real world data from users and we have a well established review and feedback process. Lastly, I would not be against creating a separate module for just this functionality. The separate module would be there to keep the dependencies of the main code low. |
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.
Summary:
Create a
CSVInputSourcewhich pulls data from an URL to download and parse at the same time.Expected behavior:
Improve overall time for download + parse.
For Entur's aggregated GTFS zip file (500+ MB):
So numbers seem to indicate that the performance is better for low to medium bandwidth, the two approaches converges (as expected) on very high bandwidth (> gigabit) connections.
The big question is how users actually get hold of their GTFS feeds (mounted via filesystem or URL), and if via URL, the actual bandwidth.