Re:The Serverless Revolution Has Stalled
by iudqnolq on Tuesday October 13, 2020 @04:19AM
(#24763421)
And if you need a dependency that has a sub dependency with a subdependency that uses a native module prepare for poorly defined -fun- hell getting it to work. A surprising amount of standard is libs do.
Re:The Serverless Revolution Has Stalled
by iudqnolq on Tuesday October 13, 2020 @08:19AM
(#24764864)
*standard js libs (as in commonly used)
Re:The Serverless Revolution Has Stalled
by com2kid on Wednesday October 14, 2020 @07:31PM
(#24782989)
Eh, you win some you lose some.
Being able to throw up a new REST endpoint in under 10 minutes with 0 config is really cool though.
And Firebase Functions are priced to work as daily drivers, they can front an entire application and not cost an insane amount of $, per single ms pricing. Lambda's are a lot more complicated.
Look into Firebase functions. Drop some JS in a folder, export them from an index.js file and you have yourself some endpoints.
> exports.helloWorld = functions.https.onRequest((request, response) => { response.send("Hello from Firebase!"); });
The amount of work AWS has put in front of Lambdas confuses me. Firebase does it right. You can go from "never having written a REST endpoint" to "real code" in less than 20 minutes. New endpoints can be created as fast as you can export functions from an index.js file.