[Tilecache] S3 storage and TileCache
Steven M. Ottens
steven at minst.net
Thu Nov 13 15:40:56 EST 2008
We don't have the CPU resources to generate all the zoomlevels of all
the layers. Especially the higher zoomlevels take ages and can be
normally generated when requested. The local metadata and redirection
is probably the way we want to go. Although running an EC2 with
tilecache might be a solution as well. The tilecache instance isn't
that resource intensive anyway, currently our server does
mapserver,tilecache.py and tile-caching so moving all tilecache
related stuff to another server isn't a bad idea anyway.
But just curious; how does tilecache keep track of which tiles are
rendered, by just checking its cache? It seems to me that that would
be suboptimal from a performance perspective.
Steven
On Nov 13, 2008, at 9:28 PM, Josh Livni wrote:
> Well, to be fair, S3 can give you bandwidth, as long as you request
> directly from S3. So if you have a situation where you know you
> can pregenerate all tiles, for example stored in a TMS or Gmaps
> structure on S3, then you can just have your client request tiles
> directly - S3 supplies tiles and bandwidth, and TileCache just pre-
> renders the tiles for you. Or perhaps you could have TileCache
> (on a non-ec2 server) check local tile metadata (not currently
> supported) and redirect to S3 if it's there (and put it there if
> it's not). But anyway, assuming you can pregenerate all tiles,
> the first option might make lots of sense...
>
> -Josh
>
> On Thu, Nov 13, 2008 at 12:21 PM, Attila Csipa
> <plists at prometheus.org.yu> wrote:
> On Thursday 13 November 2008 16:00:51 Steven M. Ottens wrote:
> > usage of the server running TileCache. My reason to use S3 is
> because
> > we run out of bandwidth at our setup and we assume Amazon has
> > slightly more available :)
>
> I think there is a misconception here... S3 gives you storage
> space, not
> bandwidth. What you want sounds more like multiple EC2 instances
> that serve
> static content fetched from S3 (and that would be close to a setup
> that I
> actually use at the moment :)
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
More information about the Tilecache
mailing list