Lurker News
Hi HN,

After 9 years of running my own OpenStreetMap tile server infra for MapHub (https://news.ycombinator.com/item?id=11389989), I've open-sourced it and launched OpenFreeMap.
You can either self-host or use our public instance. Everything is open-source, including the full production setup — there’s no 'open-core' model here. Check out the repo (https://github.com/hyperknot/openfreemap). The map data comes from OpenStreetMap.
I also provide weekly full planet downloads both in Btrfs and MBTiles formats.
I aim to cover the running costs of the public instance through donations.
Looking forwards for your feedback.

Comments (234) 54 threads

Earlier comments
mannyv2 replies#
FYI if you need a CDN you can get bulk pricing from fastly with a monthly commitment.

I'm not sure if their hosting works for you because you might be serving byte ranges. I think we're paying 2k/month usd for like 300TB/month. Backblaze-to-fastly is free, so no egress.
Love your project, more power to you. I'll be using this for a few side projects for sure.

hyperknot3 replies#
At Hetzner, the bandwidth is unlimited in theory. In practice, there are stories of terminating accounts of those who used too much.

I don't think this project will ever make $2k per month. TBH, I'd be happy it it ever reaches $200 per month. I have to be very careful about what hosting providers to use and CDNs are out of the question.

wongarsu#
I don't think it's still offered anywhere in the web interface, but Hetzner offers servers with 10Gbit uplink, with traffic charged at 1€/TB. Depending on resource usage this can be more cost effective than renting multiple servers, and paying for your traffic should prevent account termination for excessive traffic use.

https://docs.hetzner.com/robot/dedicated-server/network/10g-...

e12e1 reply#
If I were running fastly, I'd donate bandwidth so that you would implement turn-key, bring-your-api-key fastly support to your open source setup!

As for other cdns - I remember https://neocities.org/ built their own cdn - but I couldn't immediately find a blog post about the cdn, or something related in their GitHub (unless every node runs part of it, which would make sense, I guess).

mannyv#
That's true: they do sponsor projects, as does cloudflare.

They could use you as a PoC/demo for their serverless stuff. Same with cloudflare.
It's worth it to ask. I can send you the contact for our fastly rep if you'd like.

mannyv1 reply#
The problem with hetzner, or any point solution, is that at some point you will saturate your bandwidth - either on the network or storage side.

Maybe it's worth front-ending it with cloudflare free, just to see/measure cache hits/requests/bandwidth?

hyperknot#
Cloudflare Free is a good idea, but I'm afraid they'd be the one who limit me before. There is a comment in this thread who did 150 TB+ on Hetzner. I don't believe Cloudflare Free would allow 150 TB, not alone 300 TB in a month (I use two servers currently).
j451 reply#
I wonder if other CDNs can help.

In addition to Cloudflare, bunny was on the radar too.

hyperknot1 reply#
Bunny is also $10-$60/TB/month.

I believe Hetzner should not have any problem with using 100 mbps out of the 1 Gbps on their servers. That's 30 TB/month for free, per server. It'd be $300-$1800 per month on Bunny.

tiluha2 replies#
For this use case i would use the bunny volume tier which is $5/TB

Continue this thread — 2 replies

spl757#
I think this is great, and also that you are getting some good advice in the comments about covering costs and/or monitization. I'd add my thoughts, but others have already expressed them here so I just wanted to say I love seeing this kind of philosophy expressed in a project like this.

edit to fix typo

RagnarD5 replies#
If it does a good job, somebody should get paid for it. I wouldn't rely on using this if it depends on donations (I call this begware). People expect to pay for services and products.
patrickaljord#
it says you can host it yourself and that he may offer a paid hosted plan in the future
dawnerd#
In that case just use one of the many map tile providers already out there. This is huge for people that don't want to pay but also can't justify using that much server resources just to self-host.
bdjsiqoocwk#
> I call this begware

So disrespectful and so ignorant. You rely on free software without even knowing it but are happy to not dig around much and benefit from it. But heres a new project and you call it begware.
If you have nothing nice to say, don't say anything at all.

hyperknot2 replies#
My main project is MapHub, it gives me my income. It's not an income like you'd get in a FAANG job, but still, I'm running it for making a living.

For MapHub to work, I had to invest in my own tile server infrastructure: there is no way I could have made MapHub financially profitable with a 3rd party tile provider. So I kept iterating and iterating on the tile server infrastructure and after 9 years I arrived at a state which was worth open-sourcing.
I'm happy if this project gets to the point from sponsorship where my hosting bill is covered ($175 per month), but it doesn't have to be financially successful on its own.
I'll keep working on it because it's part of my main business, not because I beg for donations.

tomarr1 reply#
Have you been running this for long? I've looked for something in this space for the last couple of years but only came across MapTiler /AGOL and a few others, that were either pretty expensive (for small datasets) or restrictive functionality.

If so I'd say you need to work on the SEO and findability side.

hyperknot#
I've literally just launched it.
Aeolun2 replies#
As long as it stays with one server that’s fine. But what do you do in the hypothetical scenario that Facebook decides to use your tile server?

Nginx is fast, but I think that’s asking too much of it.
Of course that problem hasn’t happened yet, but it’s what I’d be worried about.

hyperknot2 replies#
I benchmarked and nginx can host 30 Gbps on cold cache, on actual real world load. (I played back a log of 1 million real world requests).

So using nginx in a 1 Gbps server is definitely not asking too much of it, or I might not have understood your comment clearly.
Why would Facebook decide to use my tile server? When a company's business depends on having reliable map tiles, they either self host or have an Enterprise deal with Mapbox, etc.

Continue this thread — 2 replies

stevage#
I have actually worked on Facebook's mapping infrastructure. They moved away from Google Maps and Mapbox because they wanted maximum control.

The specific example you give is not going to happen.

yazzku#
> (I call this begware)

This only reflects how fucking stupid you are. If you read the post in any detail, you'd realize the author has been running a paid service for a while (9 years) and does not need your help.

Hypnosis6173#
Just saw a german Talk about this yesterday.

Versatiles provides a free and open to use Server under tiles.versatiles.org which is sponsored by People around the CCC.
Versatiles is also the First to offer a free to use vector card server, which is also amazing.
(For the German Readers: https://media.ccc.de/v/ds24-406-versatiles-freie-karten-fr-a...)

hyperknot#
Yes, Versatiles is a nice truly open project! One of the long term plans for OpenFreeMap is to migrate to Shortbread + Versatiles styles.

Load more comments