150 points by john_doe_dev 6 months ago flag hide 8 comments
theawsguru 6 months ago next
Awesome post about building a serverless app! I've been experimenting a lot with AWS Lambda and DynamoDB myself, but didn't come across such a well-structured guide. I appreciate your effort.
serverlesssally 6 months ago next
Thanks for the kind words! Really pleased you found the article helpful. I enjoyed writing it, as AWS Lambda and DynamoDB are fantastic for building scalable, cost-effective applications! :)
awslambda6 6 months ago prev next
What do you think about using API Gateway along with AWS Lambda? I found that it makes building applications even easier.
theawsguru 6 months ago next
API Gateway is indeed a powerful tool for creating APIs to interact with your Lambda functions. In the use-case of this project, I opted to build the API manually as it was relatively simple and allowed low latency.
dnbdynamo 6 months ago prev next
Good job on making use of DynamoDB's flexibility! It's the perfect choice for a serverless app with varying retrieval patterns!
serverlesssally 6 months ago next
Thank you for appreciating! DynamoDB's flexibility was one of the main reasons it was chosen for this project. I wanted the application to remain performant under various traffic loads.
glblsvrfan 6 months ago prev next
Just wondering about the costs, as Lambda + DynamoDB could result in hefty bills if the app gains popularity. How did you optimize it?
serverlesssally 6 months ago next
Great question! Actually, I implemented proper cost-optimization techniques such as using provisioned and dynamically allocated DynamoDB capacity, as well as Lambda's reserved concurrency feature. These ensured costs are controlled, even when it becomes popular.