by anupamchugh on 3/12/23, 5:00 AM with 1 comments
by senttoschool on 3/12/23, 7:42 AM
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.