{"by":"ellenhp","descendants":34,"id":39399064,"kids":[39408448,39406321,39421073,39403185,39405230,39406913,39406347,39406137,39407168,39406554,39406822,39405634,39406249],"score":127,"text":"For the uninitiated, a geocoder is maps-tech jargon for a search engine for addresses and points of interest.<p>Geocoders are expensive to run. Like, really expensive. Like, $100+&#x2F;month per instance expensive unless you go for a budget provider. I&#x27;ve been poking at this problem for about a month now and I think I&#x27;ve come up with something kind of cool. I&#x27;m calling it Airmail. Airmail&#x27;s unique feature is that it can query against a remote index, e.g. on object storage or on a static site somewhere. This, along with low memory requirements mean it&#x27;s about 10x cheaper to run an Airmail instance than anything else in this space that I&#x27;m aware of. It does great on 512MB of RAM and doesn&#x27;t require any storage other than the root disk and remote index. So storage costs stay fixed as you scale horizontally. Pretty neat.<p>Demo here: <a href=\"https:&#x2F;&#x2F;airmail.rs&#x2F;#demo-section\" rel=\"nofollow\">https:&#x2F;&#x2F;airmail.rs&#x2F;#demo-section</a><p>Writeup: <a href=\"https:&#x2F;&#x2F;blog.ellenhp.me&#x2F;host-a-planet-scale-geocoder-for-10-month\" rel=\"nofollow\">https:&#x2F;&#x2F;blog.ellenhp.me&#x2F;host-a-planet-scale-geocoder-for-10-...</a><p>Repository: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;ellenhp&#x2F;airmail\">https:&#x2F;&#x2F;github.com&#x2F;ellenhp&#x2F;airmail</a>","time":1708100490,"title":"Show HN: Host a planet-scale geocoder for $10/mo","type":"story","url":"https://blog.ellenhp.me/host-a-planet-scale-geocoder-for-10-month"}