DEV Community

Discussion on: A crash course on Serverless with Node.js

Collapse
 
bgadrian profile image
Adrian B.G.

Very nice! We, the new AWS users need all the help as we can get, it looks very complex at the first glance.

Only 2 remarks for the readers
serverless == a centralized set of servers that we don't control
Google released their own Lambda with nodejs called Functions

Collapse
 
adnanrahic profile image
Adnan Rahić

I'm glad you liked it. Yes, all three major cloud providers have their version of FaaS architecture. AWS has Lambda, Azure has Azure functions, and Google Cloud has Functions. The cool thing is that the Serverless framework supports all three! And even more cool, every deployed function runs inside a container. So every function gets its own environment and runtime, isolated within this container. This is why the Lambda functions respond faster after an initial couple of requests. Because the container is created only for the first invocation, and then re-used for the following requests. This just blows my mind. It must have been very hard to create.