[Tilecache] Can TileCache store tiles remotely

manel.clos at ajgirona.cat manel.clos at ajgirona.cat
Mon Jan 12 00:03:40 PST 2015


Hi David,

I'd personally use the nginx web server to proxy requests to the remote servers:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html

Any webserver will do.

You can expand your server capacity proxing to other servers as your needs increase. The downside is that the proxy server becomes critical as it is the only path to get the tiles.

I'd group my TileCache services in logical groups, every group running on different server, and use the url in clients. Direct access is going to be faster, no need for a proxy, and no critical point. Of course it will all depend on your scenario, as you might not be able to change URLs on clients...

Best,
 
 
Manel Clos 
Ajuntament de Girona
Àrea d'Hisenda i Gestió Municipal / Règim Interior
Sistemes i Tecnologies de la Informació
Tel.: 972 419 082
Tel. intern: 1382
A/e: manel.clos at ajgirona.cat / www.girona.cat
FACEBOOK  |  TWITTER  |  YOUTUBE
 
 
 
 
 
 
 
 
 
-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:dalda at hazi.eus] 
Enviado el: lunes, 12 de enero de 2015 8:49
Para: Clos Crespo, Manel; chris at krahe.org
CC: tilecache at lists.osgeo.org
Asunto: RE: [Tilecache] Can TileCache store tiles remotely

Hi Manel,

Thanks for your response. That's was I was thinking  to do. 

But I have one question... How do I proxy the requests?

Thanks again.

Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290 
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba
 
*********************  LEGE OHARRA   *******************   AVISOLEGAL   *******************   DISCLAIMER   *****************************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.

-----Mensaje original-----
De: manel.clos at ajgirona.cat [mailto:manel.clos at ajgirona.cat] 
Enviado el: viernes, 09 de enero de 2015 15:12
Para: David Alda Fernandez de Lezea; chris at krahe.org
CC: tilecache at lists.osgeo.org
Asunto: RE: [Tilecache] Can TileCache store tiles remotely

Hi David,

I'd just run more instances of TileCache, on a different servers. It looks a lot simpler and you can always proxy the requests if you don't want to change urls on clients, either with TileCache or for example nginx.

You can even generate tiles beforehand and copy/move/rsync them to the remote server running TileCache. MBTiles is your friend :)


Best,
 
Manel Clos
Ajuntament de Girona
Àrea d'Hisenda i Gestió Municipal / Règim Interior Sistemes i Tecnologies de la Informació
Tel.: 972 419 082
Tel. intern: 1382
A/e: manel.clos at ajgirona.cat / www.girona.cat FACEBOOK  |  TWITTER  |  YOUTUBE
 
 
 
 
 
 
 
 
 
-----Mensaje original-----
De: tilecache-bounces at lists.osgeo.org [mailto:tilecache-bounces at lists.osgeo.org] En nombre de David Alda Fernandez de Lezea Enviado el: jueves, 08 de enero de 2015 12:09
Para: Chris Krahe
CC: tilecache at lists.osgeo.org
Asunto: Re: [Tilecache] Can TileCache store tiles remotely

Hi Chris,

Thanks for your response. 

Why is that? I mean, does tilecache lock the directory in some way? 

What would be the best approach to have several tilecache instances reading/writing simultaneously?

Thanks in advance.


De: ckrahe at gmail.com [mailto:ckrahe at gmail.com] En nombre de Chris Krahe Enviado el: jueves, 08 de enero de 2015 11:49
Para: David Alda Fernandez de Lezea
Asunto: Re: [Tilecache] Can TileCache store tiles remotely

Network drive, sure. But be aware that a cache can only be used by one instance of TileCache... That is, you cannot have two or more instances reading and writing to the same set of tiles. 
Chris
On Jan 8, 2015 2:05 AM, "David Alda Fernandez de Lezea" <dalda at hazi.eus> wrote:
Hi list,

We're planning to change our architecture as our data is growing and I was wondering if tilecache can store the tiles in a remote server or network drive.

Thanks in advance.



Agur bero bat,


David Alda Fernández de Lezea
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.
dalda at hazi.eus | www.hazi.eus
T 945 003 240 - M 627 923 170 - F 945 003 290 Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute - Araba



_______________________________________________
Tilecache mailing list
Tilecache at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/tilecache
_______________________________________________
Tilecache mailing list
Tilecache at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/tilecache


More information about the Tilecache mailing list