| 🔗 Stories, Tutorials & Articles | | | | Tune if you want to go faster | | | Moonpig, a heavy user of AWS Lambda, shares their recent findings on Lambda performance and cost tuning. They emphasize the importance of right-sizing functions by considering memory allocation, CPU profiles, and asynchronous versus synchronous workloads. They also highlight the benefits of using AWS's Graviton CPUs and the challenges of adopting Lambda Layers for managing parameter wrangling. |
| | | | | | Utilizing AWS Serverless stack for webhook delivery at scale | | | Solaris performs massive amounts of processes, including asynchronous tasks that require notification upon completion. They employ a publisher-subscriber model to deliver millions of messages per day to partners, but their legacy solution faced limitations in scalability. To address this, they redesigned their architecture to prioritize robustness, fast delivery, and containment of retries, utilizing serverless components like SNS, SQS, Lambda, and DynamoDB. They also conducted performance tests and learned important lessons about error handling, batch processing, and parallelization. As a result, their system now successfully handles millions of messages per day with impressive latency metrics. |
| | | | | | Tested: Database Providers on Lambda ✅ | | | The rise of third-party database providers, known as Database as a Service (DBaaS), offers developers the option to use external database hosts instead of hosting databases on the same server as their primary application. These "serverless" databases relieve developers of the responsibility of maintaining a database appliance and often provide useful features like dashboards, data browsing, and schema versioning. When selecting a database, the choice between relational tables (SQL) and document storage (NoSQL) is crucial, but access speed, particularly for simple queries, is the second most important consideration. In tests conducted with various third-party database vendors, AWS's DynamoDB emerged as the fastest option for querying data from a Lambda-based application, boasting a repeatable query latency of 10ms, which is 2.5 times better than its closest competitor. While all tested providers delivered query times under half a second, MongoDB was the only exception, but their paid tiers do offer better performance. It is important not to be paralyzed by the database selection process but to choose one and begin building the initial implementation. |
| | | | | | When are containers or serverless a red flag? | | | Technology being discussed too early in the process can lead to underoptimized decisions and a focus on the end-state technology solution rather than requirements and business value. Containers and serverless technologies are well-suited for certain applications, but they do not apply to everything new, and complexity, increased costs, and vendor lock-in are potential downsides that need to be considered when adopting these technologies. |
| | | | | | Automate DynamoDB Migration with AWS Serverless Services ✅ | | | DynamoDB cross-region migration involves replicating or moving data from one AWS region to another, providing benefits such as disaster recovery, data locality, compliance, and global data distribution. Manual migration of a large number of tables can be challenging, time-consuming, and prone to errors. To address this, AWS Lambda functions and Step Functions can be used to automate and orchestrate the backup and restore operations, simplifying the migration process. |
| | | | | | | A Comprehensive Guide to Building Event-Driven Architecture on Azure, AWS, and Google Cloud ✅ | | | Azure, AWS, and Google Cloud offer various resources and services for building event-driven architectures. Each platform has its own messaging services, such as Azure Service Bus, AWS Simple Queue Service (SQS), and Google Cloud Pub/Sub, which allow for reliable message delivery and support different message patterns. Additionally, AWS provides AWS EventBridge, a serverless event bus, while Google Cloud offers EventArc for managing event ingestion and delivery. These platforms also have services like AWS Kinesis, Azure Event Hub, and Amazon MSK, which enable streaming and processing of real-time data. |
| | | | |
|
|