Ask HN: What Is Serverless
If you had to breakdown serverless and explain it to someone in middle school, how would you describe it?
Would you use an analogy to make it more relatable? Would you try to explain it on a surface level or go into the depths of serverless? What concepts would you focus on?
9 comments
[ 4.2 ms ] story [ 33.7 ms ] threadThe web server does this by looking at the request and then running a certain set of instructions on how to serve the request.
Rather than having to build the web server, serverless is a service where you can just give the serverless provider the instructions and they will run them for you.
I'd be surprised if they didn't know what a server is. It's become common lexicon to say "Oh that website's servers are down".
Maybe bring up that time Roblox's servers were down for 72 hours or whatever.
But yeah so, your browser sends a request to the website's servers.
The servers run code (just instructions written so that a computer can understand) to complete that request.
You create "one liner" programs (lambdas) that do mathematical operations like you would with a programmable calculator, including saving to memory and recalling from memory. You can then chain together the various "one liner" programs (composability) to make a complex program that performs the calculation that you need.
server: it’s a thing that runs your code. you also have to take care of it.