Re: Caching OSM tiles - how to not overload backends?

2020-06-29 Thread Andrzej Godziuk
Hi, You may want to look into OSM-supported tile proxy software. It's not Varnish-based but maybe one of the options would be good enough for your use: https://wiki.openstreetmap.org/wiki/Tile_proxy Regards, Andrzej ___ varnish-misc mailing list

Re: Caching OSM tiles - how to not overload backends?

2020-06-17 Thread tranxene50
Hello Damien. Thank you for your proposal, I appreciate! But, as I can see/read, Fastly operates the same way as Varnish when the backend is overloaded (it rejects new connections): https://docs.fastly.com/en/guides/common-503-errors#error-503-backendmax_conn-reached The "Waiting room"

Re: Caching OSM tiles - how to not overload backends?

2020-06-17 Thread Damien Wetzel
Hi Tranxène50 I'm a reseller of Fastly in France a cdn based on a fork of varnish 2 maybe it could be a solution to minimize the backend traffic you receive somehow ? i can make you test if needed akamai has a solution they call waiting room, to regulate the traffic to the origin, i think this

Re: Caching OSM tiles - how to not overload backends?

2020-06-16 Thread tranxene50
Hello! Many thanks for your answers! :-) @Dridi: You are right, writing a specific VMOD would be the ideal solution but unfortunately I am not qualified for the job. ^^ By the way, I would like to thank all the people who are working hard to enhance and maintain Varnish. This software is

Re: Caching OSM tiles - how to not overload backends?

2020-06-15 Thread Xavier Leune
Hello, @tranxene50 if implementing a vmod can be very challenging, using haproxy can be a great solution here. Please refer to this blog post: https://www.haproxy.com/fr/blog/four-examples-of-haproxy-rate-limiting/ (or in french ;)

Re: Caching OSM tiles - how to not overload backends?

2020-06-15 Thread Dridi Boukelmoune
On Sun, Jun 14, 2020 at 2:32 AM tranxene50 wrote: > > Hello! > > Please forgive my bad English, I live in France. > > Summary: how to cache - with Varnish - Open Street Map PNG images without > overloading OSM tiles servers? > > The question seems related to Varnish backends and

Caching OSM tiles - how to not overload backends?

2020-06-13 Thread tranxene50
Hello! Please forgive my bad English, I live in France. Summary: how to cache - with Varnish - Open Street Map PNG images without overloading OSM tiles servers? The question seems related to Varnish backends and ".max_connections" parameter. A far as I know, if ".max_connections" is