from Hacker News

In defense of serverless: A Response to DHH's post

by anupamchugh on 3/12/23, 5:00 AM with 1 comments

  • by senttoschool on 3/12/23, 7:42 AM

    To me, I think a lot of startups should not use serverless when they build the MVP - unless that MVP matches serverless benefits unsually well.

    The reason is because serverless creates a lot of complexity in terms of connecting systems. Want to use web sockets? You can't do it on serverless. Need to connect to AWS RDS Postgres? You need to configure a connection pool to sit in between if you use serverless. Are you using serverless everything? Watch out for cold boots and slow start times that your users might experience.

    Sometimes you end up having to create a traditional server just to sit in between two serverless systems.

    Just spin up a server. Do everything you want with it. Costs are contained. It's not too hard to eventually move your stack to serverless if you truly need it.