4 ms·
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
by is_true 4y ago
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
- JohnHaugeland 4y agogithub pages
- is_true 4y agothanks. I'll look into it.
- minhmeoke 4y agoNetlify free tier + Cloudflare CDN (if requests are cacheable). https://www.netlify.com/pricing/ https://www.netlify.com/pricing/ https://www.cloudflare.com/plans https://www.cloudflare.com/plans
- is_true 4y agoThanks. 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.
- minhmeoke 4y agoYes, 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 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 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-latency-low-enough-to-be-used-for-realtime-mmog-instead-of-socket 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/#comparison https://backendless.com/pricing/backendless-cloud/#compariso... https://azure.microsoft.com/en-us/pricing/details/functions/#pricing https://azure.microsoft.com/en-us/pricing/details/functions/...
- is_true 4y agoThank you so much
- throwawaygog6 4y agoThat's ten requests per second, with some caching I am assuming. How abou a digital ocean droplet for $5/month?
- is_true 4y agoThat'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.