[MapProxy] Reading Tiles Directly From Redis?

Jason Fuehner jason at fuehner.com
Fri May 14 13:09:35 PDT 2021


Thanks Travis

We use web sockets primarily in our application with Redis as our cache.
I’m trying to see if there is a more performant way to get tiles from
mapproxy without making http calls...



On Fri, May 14, 2021 at 4:05 PM Travis Kirstine <traviskirstine at gmail.com>
wrote:

> https://mapproxy.org/docs/nightly/caches.html#cache-redis
>
> I looked at using nginx try_files with MapProxy as the fall back backend a
> few years ago but can remember if I got it working.  I think I ran into
> issues with regex expression and unsupported character in nginx when
> converting the request url to a key, I never tried it with redis.
>
> On Fri, 14 May 2021 at 14:46, Jason Fuehner <jason at fuehner.com> wrote:
>
>> I see it is possible to use MapProxy with Redis configured for cache
>> sources.
>>
>> Was curious if it is possible to read the cached tiles directly from
>> Redis without having to go through the MapProxy server? I can’t seem to
>> find any documentation on how or if this possible.
>>
>> If it is possible, what is the structure of the Redis cache keys or would
>> someone have an example of retrieving the tiles directly?
>>
>> Thanks!
>>
> _______________________________________________
>> MapProxy mailing list
>> MapProxy at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapproxy
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20210514/1df73c1f/attachment.html>


More information about the MapProxy mailing list