[Tilecache] S3 storage and TileCache

Christopher Schmidt crschmidt at metacarta.com
Thu Nov 13 15:41:56 EST 2008


On Thu, Nov 13, 2008 at 12:28:28PM -0800, 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). 

Right, I'd say this is the right solution: take the hits on the
TileCache server, and if the tile exists, redirect to S3. (You can
always do the redirect, if you do things right, because by the time
they've followed the redirect, you've finished your .set() onto the
server.)

-- Chris

> 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


-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list