-
Notifications
You must be signed in to change notification settings - Fork 38
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
Supporting Input decompression #149
Comments
I suspect the gains for this are low. Is this something that's better done with Apache? |
I'd say this highly depends on your internet connection speed. On 100MBit/s upload, there's virtually no difference. For much slower uploads (not too uncommon in many parts of the world, or on mobile links), upload compression will typically reduce the XML data volume by factor 7-9. In addition, our upload message always transmits entire objects, which adds to the overall data volume. For someone waiting around 20s just for the upload part of the processing, reducing that down to 3s would be a very welcomed improvement.
In theory yes. However, I tried with mod_deflate and You've probably noticed that I proposed to use Apache for this purpose in openstreetmap/operations#193, and @tomhughes implemented it in Rails instead. I guess there was a good reason for doing so. |
What's the median upload size like? |
Upload and download speeds can differ quite significantly, see https://en.wikipedia.org/wiki/Asymmetric_digital_subscriber_line#ADSL_standards as an example. I.e. in general, data volume and speed on the download side are probably not a good reference point to assess the expected upload speed. In addition, we're already using compression on the download side, while on the upload side, we transfer uncompressed data on a potentially much slower connection. |
TODO once #152 is done:
Users with poor internet connectivity frequently experience issues when uploading changes. Apart from the performance issue on rails (not discussed here), there’s also the issue that the upload itself may be slow. Iirc we don’t support gzip compressed http post requests yet. Could we enable this feature so that Josm or iD could optionally compress an Osm change file before sending it to the server?
This has been enabled on the Rails port, but is not yet avaiable on cgimap.
See discussion on openstreetmap/operations#193
The text was updated successfully, but these errors were encountered: