Serverless is a concept where developers only need to worry about the code and not the underlying architecture. In serverless, services like AWS Lambda handle the allocation of resources, deployment, and scaling automatically. The drawbacks of using a monolith include continuous running of machines, manual configuration, code deployment and management, and the need to scale up or down depending on user traffic. Serverless eliminates these concerns and charges on a per invocation basis. The code deployed on serverless platforms is in a sleep state until a user visits the website, at which point it switches to a start state and runs line by line before returning the response.
Sort: