Re:Use one big server
by anonymousDan on Wednesday August 03, 2022 @02:27AM
(#32328304)
As someone who has only dabbled with serverless (Azure functions), the difficulty in setting up a local dev environment was something I found really off-putting. There is no way I am hooking up my credit card to test something that is still in development. It just seems crazy to me. Glad to hear Cloudflare workers provides a better experience. Does it provide any support for mocking commonly used services?
[ Parent
| on HN ]
Re:Use one big server
by adam_arthur on Wednesday August 03, 2022 @01:59PM
(#32334949)
Yes, you can run your entire serverless infrastructure locally with a single command and close to 0 config.
It's far superior to other cloud offerings in that respect.
You can even run it live in dev mode and remote debug the code. Check out miniflare/Wrangler v2
Just wish they would have ability for persistent objects. Everything is still request driven, yet I want to schedule things on subminute schedules. You can do it today, but it requires hacks