Code Without Servers
Code Without Servers
So far, every problem has been solved by creating more virtual machines. Need more computing? Launch another server. Need more capacity? Launch even more servers. But engineers noticed something interesting. Many applications didn't need a server running all day. For example, a customer uploads a profile picture. The application simply resizes the image. The task takes only a few seconds. Yet an entire virtual machine remains running twenty-four hours a day, waiting for the next upload. The engineering problem became obvious. Do we really need an entire server just to execute a small piece of code? The engineering concept that solved this problem is Serverless Computing, also known as Function as a Service (FaaS). Instead of managing virtual machines, developers simply upload their code. The cloud automatically runs it whenever an event occurs, scales it as needed, and stops when the work is complete. Amazon Web Services calls this AWS Lambda. Microsoft Azure calls it Azure Functions. Google Cloud calls it Cloud Functions. Different names. One engineering concept. Now developers focused on writing code instead of managing servers. But applications still had another challenge. Where should we store structured business data like customers, orders and transactions?
