Wby would you want to maintain a long-running server process if you don't have to? And, wny do you think you have to?
Wby would you want to maintain a long-running server process if you don't have to? And, wny do you think you have to?
Most of the "serverless" things delegate to a server in the end anyway - whether they be a database, a managed service, etc. Something has to stay alive, be a server and own the state after all - serverless doesn't make the problem go away just passes the buck. For run of the mill small scale websites or websites that fit a particular paradigm lambda works fine. But it doesn't suit all apps, and its hard to make all problems fit it currently. As businesses scale custom solutions can scale better.
Lambda is great for seldom run functions, like running some analysis/conversion on user uploaded profile pictures or the like.
Also, specifically for Aurora, Lambda supports transparent connection pooling. It is just no longer a concern of your application code.
Disclaimer: I work on serverless services at AWS. I’m definitely biased :)
Though I suppose Lambdas don’t use separate traditional OS processes to serve requests, do they?
That's an irrelevant tautology; the question was why you believe a long-running traditional server process is necessary.