Ask HN: When to use Servers and when to go Serverless?
Serverless will scale infinitely, although it has 1 small cost of cold starts but if the site is used regularly then cold start is not needed.
Servers are inherently costly. Even if we don't use it to its full potential we need to always choose a higher plan than our current usage.
I want to know when can we go full Serverless.
Like I have 1 app where the flow is like -
1. User clicks on SignIn
2. Email is sent to the user with Magic Link
3. After Magic Link is clicked, user is logged in
4. User can then buy a product
5. After payment, user can download the product
6. User can Logout
Can this be done serverless ?
Also, which websites would be Serverless & which would need Servers ?