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

putTile should not fail if initial GET times out #51

Open
rclark opened this issue Sep 12, 2015 · 0 comments
Open

putTile should not fail if initial GET times out #51

rclark opened this issue Sep 12, 2015 · 0 comments

Comments

@rclark
Copy link
Contributor

rclark commented Sep 12, 2015

In a couple of high-write applications (e.g. https://github.com/mapox/mapbox-tile-copy), we're seeing a lot of failed putTile requests where the failure traces to 5s timeouts on the GET request that we make in order to compare buffers before doing an S3 PUT.

To me it seems that this is unnecessary, and that really any failure of the GET request within a putTile ought to be silently ignored. The buffer check is an optimization for minimizing PUT I/O and $$$ costs that shouldn't be allowed to cause 🔥.

cc @yhahn @GretaCB

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

1 participant