logoalt Hacker News

ianberdinyesterday at 6:55 PM2 repliesview on HN

I still don’t get, what is the use case for cloudflare workers or lambda?

I used both for years. Nothing beats VPS/bare metal. Alright, they give lower latency, and maybe cheaper and big nightmare for managing at the same time. Hello to micro services architecture.


Replies

acdhatoday at 12:12 AM

Think about how often that box needs patching for code outside of your app and you’re talking load-balancing, autoscaling, etc. to avoid downtime or overloads, but also paying for idle capacity. Then, of course, you have to think about security partitions if anything you run on that box shouldn’t have access to everything else. None of that is unknown, we have decades of experience and tooling dealing with it, etc. but it’s a job that you can just choose not to have and people often do, especially for things which are bursty. There’s something really nice about not needing to patch anything for years because all you’re using is the Python stdlib and scaling from zero to many, many thousands with no added effort.

maccardyesterday at 8:22 PM

Scale down to actual 0, really easy edge distribution, stupidly simple to deploy to. That's really it.