Live data from Hacker News

I made a simple geolocation service

maxkostinevich.com

181–187 of 187 posts

Re: I made a simple geolocation service

#181

Earlier quoted context omitted.

if you are spending 279 using complicated cloudflare worker/azure function setup, you could have gotten away with $100 month if you have choosen linode/droplets. 32 million requests can be easily served with $50/month heroku node.

I think you massively mis-read the article. $279/mo is what he would have spent. What he actually spends is under $1/mo. Sure a $50/mo Heroku box would do the trick but why spend $49/mo MORE when serverless is cheaper ? What I want to hear is how you argue serverless is “snake oil” when evidence says it’s massively cheaper even at scale. Less than $1/mo to serve 141m requests. How is that snake oil when even you say…

Well, not exactly

1. You are saving $49 month by spending 250+ hours engineering hours to structure the application which is near impossible to extend/maintain.

2. The $49/month subsidy (free tier) you are getting is temporary and will eventually go away (think about google maps api price change).

3. 50x cost for serverfull solution is not a right number. lets say you have to handle 500M requests per month (around 200 QPS) the 50x becomes .000X.

4. If there is any sudden spike to popularity, you are screwed. you will end up paying several thousand $ per month.

Re: I made a simple geolocation service

#182

Earlier quoted context omitted.

https://blip.runway7.net/v2.beta should work for you, let me know if it doesn't?

Hi! I need to be able to send a lat/long/timestamp to get tinezone.

Ah, I haven’t seen a dataset I could use for that. Everything on the links I’m putting up is based on the country and state information.

I’ve seen timezone maps drawn, so this information does exist somewhere, but one would have to draw polygons for each timezone and do coverage checks, which seems complicated. The time zone lines zig and zag a lot.

Re: I made a simple geolocation service

#183

Earlier quoted context omitted.

https://blip.runway7.net/v2.beta should work for you, let me know if it doesn't?

Hi! I need to be able to send a lat/long/timestamp to get tinezone.

This is surprisingly difficult task if you need it to work really globally and accurately. You need specific, detailed and uptodate map data for it, and timezones change somewhere in the world all the time. Especially daylight savigs. In 99% of cases you need to find some workaround or limit your task to specific regions, and get something to work in 95% cases

Re: I made a simple geolocation service

#184

Earlier quoted context omitted.

But that would mean that your API should return a country specific result to be accurate.

Which is precisely what for example Mapbox does - they allow consumers to specify a worldview, which adjusts borders and other geographic features based on the specified culture: https://docs.mapbox.com/help/glossary/worldview/

They dont have Serbian one to resolve this issue. Or even more relevant ones like Russia (remember Crimea).

Re: I made a simple geolocation service

#185

Earlier quoted context omitted.

I think you massively mis-read the article. $279/mo is what he would have spent. What he actually spends is under $1/mo. Sure a $50/mo Heroku box would do the trick but why spend $49/mo MORE when serverless is cheaper ? What I want to hear is how you argue serverless is “snake oil” when evidence says it’s massively cheaper even at scale. Less than $1/mo to serve 141m requests. How is that snake oil when even you say…

Well, not exactly 1. You are saving $49 month by spending 250+ hours engineering hours to structure the application which is near impossible to extend/maintain. 2. The $49/month subsidy (free tier) you are getting is temporary and will eventually go away (think about google maps api price change). 3. 50x cost for serverfull solution is not a right number. lets say you have to handle 500M requests per month (around 20…

But see, none of that is true. Everything you just said is misleading at best and completely false at worse. Especially the part about the free tier. This isn’t the 12 month free trial, this is the “free forever”. Sure prices can change but they can change for servers too. That’s no different, and you can’t waste time/effort trying to engineer a solution for a problem that doesn’t yet exist and may never exist.

I think I’ve heard enough to say you have no idea what you’re talking about and this conversation has become pointless.

Re: I made a simple geolocation service

#186

Earlier quoted context omitted.

I have a need for this too, and considering making a basic service for it.

https://blip.runway7.net/v2.beta should work for you, let me know if it doesn't?

Where is the source code for v2.beta? It’s not on your GitHub.

Re: I made a simple geolocation service

#187

Earlier quoted context omitted.

I have a need for this too, and considering making a basic service for it.

https://blip.runway7.net/v2.beta should work for you, let me know if it doesn't?

I actually can’t remember :-/ will fish it out and set up a proper service, maybe paid.
Post reply on HN