Curious how this would have compared to a static pmtiles file being read directly by maplibre. I’ve had good luck with virtually equal latency to served tiles when consuming pmtiles via range requests on Bunnycdn.
https://github.com/hyperknot/openfreemap?tab=readme-ov-file#...
OpenFreeMap survived 100k requests per second
81–90 of 140 posts
Re: OpenFreeMap survived 100k requests per second
#82Earlier quoted context omitted.
https://github.com/hyperknot/openfreemap?tab=readme-ov-file#...
Interesting, I should benchmark this. I have only used Bunnycdn so far and latency seemed similar to most tile providers like Maptiler and others (but a very limited test). This was using the full planet pmtiles file. Bunnycdn also makes it easy to prevent downloading the entire file, either in case you care about anyone using it or just want to prevent surprise downloads for those exploring network tab.
Re: OpenFreeMap survived 100k requests per second
#83Earlier quoted context omitted.
From the HN Guidelines https://news.ycombinator.com/newsguidelines.html >: > Please don't comment on whether someone read an article. "Did you even read the article? It mentions that" can be shortened to "The article mentions that".
That guideline is decent I guess. I am disappointed that they edited another guideline for the worse: > Please don't comment about the voting on comments. It never does any good, and it makes boring reading. It used to just say, don't complain about voting. If the number of votes are so taboo, why do they even show us the number or user karma (and have a top list)?
Re: OpenFreeMap survived 100k requests per second
#84Oh wow, TIL there is finally a simple way to actually view OpenStreetMap! Gosh, that's overdue. Glad it's done though!
Re: OpenFreeMap survived 100k requests per second
#85Re: OpenFreeMap survived 100k requests per second
#86Since the limit you ran into was number of open files could you just raise that limit? I get blocking the spammy traffic but theoretically could you have handled more if that limit was upped?
I've just written my question to the nginx community forum, after a lengthy debugging session with multiple LLMs. Right now, I believe it was the combination of multi_accept + open_file_cache > worker_rlimit_nofile. https://community.nginx.org/t/too-many-open-files-at-1000-re... Also, the servers were doing 200 Mbps, so I couldn't have kept up _much_ longer, no matter the limits.
Why would that kind of rate cause a problem over time?
Re: OpenFreeMap survived 100k requests per second
#87From the screenshot I wanted to say, couldn't this be done on a single VPS? Seemed over engineered to me. Then I realized the silly pixels are on top of a map of the entire earth. Dang! I'm curious what the peak req/s is like. I think it might be just barely within the range supported by benchmark-friendly web servers. Unless there's some kind of order of magnitude slowdowns due to the nature of the application. Edit…
"€20/month from Hetzner" is great until you actually need it to be up and working when you need it.
I managed a few Hetzner cloud instances, and some report perfect uptime for over a year. The ones that don't, I was the root cause.
What exactly leads you to make this sort of claim? Do you actually have any data or are you just running your mouth off?
Re: OpenFreeMap survived 100k requests per second
#88Re: OpenFreeMap survived 100k requests per second
#89Re: OpenFreeMap survived 100k requests per second
#90Earlier quoted context omitted.
We are talking about an insane amount of data here. It was 56 Gbit/s (or 56 x 1 Gbit servers 100% saturated!). This is not something a "caching server" could handle. We are talking on the order of CDN networks, like Cloudflare, to be able to handle this.
> We are talking about an insane amount of data here. It was 56 Gbit/s. This is not something a "caching server" could handle. You are not talking about an insane amount of data if it's 56 Gbit/s. Of course a caching server could handle that. Source: Has written servers that saturated 40gig (with TLS) on an old quadcore.