News for hackers. Stuff that matters.
Re:Ask HN: Who needs help with side projects? by is_true on Friday July 01, 2022 @11:11PM (#31955807)
Which is the cheapest way to serve Json to customers with a budget under usd10 a month, a Json size of aprox 50KB and aprox 1 million reqs/day
Re:Ask HN: Who needs help with side projects? by throwawaygog6 on Saturday July 02, 2022 @12:21PM (#31960302)
That's ten requests per second, with some caching I am assuming. How abou a digital ocean droplet for $5/month?
Re:Ask HN: Who needs help with side projects? by is_true on Saturday July 02, 2022 @02:50PM (#31961372)
That's what I proposed but there's a new designer that wants to use shiny tech. I'm just an advisor for a nonprofit, they ask me because I do it for free basically.
Re:Ask HN: Who needs help with side projects? by minhmeoke on Saturday July 02, 2022 @01:30AM (#31956527)
Netlify free tier + Cloudflare CDN (if requests are cacheable).

https://www.netlify.com/pricing/

https://www.cloudflare.com/plans

Re:Ask HN: Who needs help with side projects? by is_true on Saturday July 02, 2022 @08:05AM (#31958342)
Thanks. Something I missed is that the JSON is gonna be updated every 1 minute.

I've never tried netlify or vercel, I've been told that the 1 min updates are a problem in platforms like that. I'm an nginx kind of guy but I'm helping an org that has no budget whatsoever and I'm exploring options.

Re:Ask HN: Who needs help with side projects? by minhmeoke on Saturday July 02, 2022 @11:39PM (#31964836)
Yes, netlify typically does deployment by pushing to a git repo or uploading a zip, the update latency could take several seconds to a few minutes.

Another option is to use something like Firebase:

https://firebase.google.com/docs/hosting

The free tier gives you 2M cloud functions per month, then $0.40 for each additional million cloud function invocations:

https://firebase.google.com/pricing

Update latency is a few hundred milliseconds which should be sufficient if you are sending updates every minute:

https://stackoverflow.com/questions/37930219/is-firebases-la...

Just be aware that if your JSON payload is large, then you might consume all the egress bandwidth and it might end up costing more than you expect.

There are also alternative platforms which provide similar functionality (I have not used either of these though, so YMMV):

https://backendless.com/pricing/backendless-cloud/#compariso...

https://azure.microsoft.com/en-us/pricing/details/functions/...

Re:Ask HN: Who needs help with side projects? by is_true on Sunday July 03, 2022 @05:52PM (#31971345)
Thank you so much
Re:Ask HN: Who needs help with side projects? by JohnHaugeland on Friday July 01, 2022 @11:22PM (#31955880)
github pages
Re:Ask HN: Who needs help with side projects? by is_true on Saturday July 02, 2022 @08:06AM (#31958343)
thanks. I'll look into it.