Hacker News new | ask | show | jobs
by andai 317 days ago
From 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: Looks like about 64 pixels per km (4096 per km^2). At full color uncompressed that's about 8TB to cover the entire earth (thinking long-term!). 10TB box is €20/month from Hetzner. You'd definitely want some caching though ;)

Edit 2: wplace uses 1000x1000 px pngs for the drawing layer. The drawings load instantly, while the map itself is currently very laggy, and some chunks permanently missing.

1 comments

"€20/month from Hetzner" is great until you actually need it to be up and working when you need it.
> "€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?

I’ve just checked all three, and it appears to be rather more nuanced than you make it out to be.
This all seems to be Hetzner Cloud offerings?
IME Hetzner's not unreliable. I don't think you could serve 100k requests per second on a single VPS though. (And with dedicated, you're on the hook for redundancy yourself, same as any dedicated.)
They’re unreliable as soon as you have to deal with their support who have the technical knowledge of a brick.

And as soon as you have to do ant business / deal with the german side of the business expect everything to slow down to 2 weeks for response which will still be incorrect.

They are simply not worth the hassle. Go with a competent host.

Ideally, we'd all be using very good and competent hosting companies, but they're not ideal for free/low revenue projects. It's better to have some down time than having to shut down the service because you can't afford to keep it running.

I think that in both cases here (OpenFreeMap and wplace), Hetzner/OVH/Scaleway is the way to go. Depending on what we're doing, the cost savings can even allow us to have redundancy at another cheap provider just in case something goes wrong.

> They’re unreliable as soon as you have to deal with their support who have the technical knowledge of a brick.

Since I never have to, that’s perfect isn’t it? If you need support from Hetzner you are using the wrong host.

Simply running "ipfs daemon" is enough to get hetzner to threaten canceling your service.

They send nasty letters with pcap dumps of your "hacking" attempts and it doesn't matter how wrong you think they are.

clearly not true because I ran an ipfs daemon before and didn't get any nasty letters.

I got nasty letters during the letterbombing attack on Tor relays. They were nasty letters forwarded by Hetzner from the people who actually wrote them. Pointing Hetzner to the page about the attack made them go away.

So they've never decided to blackhole your prod traffic 2 days after migrating to them? lucky.
I don’t think I’ve ever migrated anywhere and not kep the previous thing running for a month unless I wasn’t worried about exactly that thing happening (to be fair, not prod traffic blackhole, but similar effect)