#sdk | (1)
How to write unit tests when using the AWS JavaScript SDK v3?
Writing unit tests for code that interacts with the AWS JavaScript SDK v3 comes with two major benefits. Obviously, writing unit tests ensures you catch bugs early and therefore increase the quality of your code. Also, writing unit tests enables you to ...
Read moreMigrating to AWS JavaScript SDK v3: Lessons Learned
There’s work coming your way! Node.js 16 reached end-of-life on September 11th, 2023. Also, the AWS Lambda runtime environment for Node.js 18 upgraded to v3 of the AWS SDK for JavaScript. So to upgrade Lambda functions from Node.js 16 to 18, you have to...
Read moreWhat's new about AWS SDK for JavaScript v3?
The AWS SDK for JavaScript v3 is generally available since December 2020. This challenge unites all AWS users: is this new version worth investing your precious time? In this blog post, I show you the new capabilities and use cases where they help you ...
Read moreProtect AWS SDK calls with Bulkheads and Circuit Breakers
If you use one of the AWS SDKs to make queries to the AWS API you need to prepare for network unreliability. One of the AWS service that requires heavy SDK usage is DynamoDB (NoSQL database as a Service). I will use DynamoDB as an example in this post b...
Read moreServerless image resizing at any scale
This post demonstrates how you can create a bunch of resized images right after uploading an image to S3. The solution requires no servers, is scalable and can be automatically deployed within minutes. The solution makes use of two S3 buckets: The b...
Read more