[Tilesathome] Rate limiting on upload page
Dirk-Lüder Kreie
osm-list at deelkar.net
Wed May 30 01:15:07 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert (Jamie) Munro schrieb:
> Something that occurred to me is if upload.pl fails to upload, it should
> retry (with exponential backoff and/or checking go_nogo), and if it
> still fails the tilesGen loop should exit, rather than it carry on
> downloading tiles and never uploading. Currently, it seems that if
> upload.pl fails for whatever reason, tilesGen just go's around in
> another loop.
The Zip will be retried on next upload.pl call where it first tries to
upload all "old" zips left over from previous runs (aborts). This step
is rate limited by the exponential backoff already. Failure counts are
saved between sessions so it gets slower each time before returning to
tilesGen.pl
But you are right, it can take a few tilesets until the rendering slows
down noticeably, but not too many, since every tileset generates 2 zips,
which means after 3 tilesets with no successful upload you have a
timeout of 2**6 already, next tileset would be 2**12 (over an hour)
between upload tries.
- --
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGXMILFUbODdpRVDwRAvXRAKCqlCdD7bpM59iR/gMurqmwA9qz3ACfSlkA
OyQbA1XoKb7o5TEWwTvMVj4=
=RuNO
-----END PGP SIGNATURE-----
More information about the Tilesathome
mailing list