Open question: what are the benefits of replacing Lambda with this new service, if you’re not using any other Supabase functionalities?
Our Lambdas are currently written in Typescript and built with esbuild. We zip them and push to AWS.
Our Lambdas are currently written in Typescript and built with esbuild. We zip them and push to AWS.
It’s also the case that there’s just so much historical baggage within Node, mainly with regard to CJS. Developing against Deno at least presents the opportunity for us to move past that and improve DX.
Kinda wish Amazon would have an alternative runtime that was more like this. They kinda do with lambda@edge, but that’s only for CloudFront stuff, mostly.
At a certain level of scale, the cost of spinning of an ALB Fargate task (which could run these servers relatively easily) ends up being relatively negligible. Although that’s certainly not true for every org.