Title: Issue #32: Library Week Publication: Ready, Set, Cloud! Series: Ready, Set, Cloud Picks of the Week Author: Allen Helton Published: November 07, 2022 URL: https://www.readysetcloud.io/newsletter/32/ So many new libraries were released last week, it's time to start building! ### Serverless Superhero This week's serverless superhero is [AJ Stuyvenberg](https://twitter.com/astuyve), serverless engineering lead at [DataDog](https://twitter.com/Datadoghq) and AWS Community Builder. Whenever AWS releases a new serverless feature and DataDog immediately supports it, you can thank AJ. He is a brilliant engineer that helps us consume the latest and greatest as fast as possible. He writes high quality content [on his blog](https://aaronstuyvenberg.com/) and engages frequently in serverless conversations on Twitter. Thank you AJ, for all your contributions to the community! ### Tutorials [Arpad Toth](https://twitter.com/arpadt) starts us off with a wonderful post on [authorizing requests with Lambda@Edge](https://dev.to/aws-builders/authorizing-requests-with-lambdaedge-mjm). He guides us through how to build an authorizer to validate requests to a Lambda function url. He covers the bulk of the implementation and also shows us how to navigate some gotchas when dealing with computing on the edge. [Alex Debrie](https://twitter.com/alexbdebrie) published an article on how to [use a cache to accelerate DynamoDB (or replace it)](https://www.gomomento.com/blog/using-a-cache-to-accelerate-dynamodb-or-replace-it). He covers not only the performance boost but even the scalability and cost benefits you gain when implementing a cache. It's a thought provoking article that reaches deep on technical detail but presents it in an easy to consume manner. A more complicated event-driven pattern with huge benefits is event sourcing. [Valentin Beggi](https://twitter.com/valentinbeggi), [Charles Géry](https://twitter.com/gry_gery), [Juliette Fournier](https://twitter.com/Julietteff1), and [Thomas Aribart](https://twitter.com/AribartT) share with us a new open source typescript library from [Kumo](https://twitter.com/kumoserverless) that attempts to abstract the complexities away. [This library provides a set of classes and methods](https://dev.to/kumo/dont-be-a-crud-boomer-check-out-this-new-event-sourcing-library-235a) to help implement an event sourcing pattern that plugs right into DynamoDB. Seems like it has a lot of merit and could potentially make this difficult pattern more attainable for many devs. Another cool library recent released is the [Amazon .NET Lambda Annotations](https://dev.to/aws-builders/using-amazon-net-lambda-annotations-preview-1f2c) nuget package. [Anita Andonoska](https://twitter.com/aniand4) walks us through how it works, describes a couple of the available annotations, and tells us tips and tricks for making sure it works properly. Great resource if you're working with Lambda and .NET! ### New Releases By now you've likely heard of [Momento](https://www.gomomento.com/). They are the first completely serverless cache available on the market. Last week, they went generally available and are [ready for you to implement them in your apps](https://www.gomomento.com/blog/we-built-a-serverless-cache-you-can-add-to-your-stack-before-lunch). It's free to try and you can implement it in only 5 lines of code, which is just crazy! Congratulations to the founders [Khawaja Shams](https://twitter.com/ksshams) and [Daniela Miao](https://twitter.com/dymxzvf) and the rest of the Momento team! ### Spotlight A frustrating argument I'm often hit with when discussing serverless is that it gets expensive "at scale". But rarely do I hear what "at scale" actually equates to. So I ([Allen Helton](https://twitter.com/allenheltondev)) did some apples and oranges math to compare EC2, App Runner, and Lambda costs. My goal was to figure out how to calculate [when serverless is more expensive than containers](https://www.readysetcloud.io/blog/allen.helton/when-is-serverless-more-expensive/). There is a lot of specific detail left out of the article when calculating costs, but the premise goes to show "scale" likely refers to hundreds of millions of monthly Lambda calls being more expensive than containers. ### Upcoming Events The [Serverless Summit](https://www.serverless-summit.io/) is the worlds largest serverless conference and is coming up! It spans November 16-17 and registration is free! Some of the industry's best serverless engineers like [Matt Coulter](https://twitter.com/NIDeveloper), [Alex Debrie](https://twitter.com/alexbdebrie), [Yan Cui](https://twitter.com/theburningmonk), and [Sarah Hamilton](https://twitter.com/serverlesssarah) (and more!) will be talking about a vast range of topics. Yours truly will be on a serverless panel as well. You cannot miss this one! [AWS re:Invent](https://reinvent.awsevents.com/) is later this month as well. The biggest software conference of the year is only a few weeks away. If you plan on attending and want to meet up, let me know! ### Tip of the Week [David Boyne](https://twitter.com/boyney123), the true EventBridge MVP, shared with us some incredible content he wrote last week. He is helping establish best practices and common patterns with Event Driven Architectures, which is something we all can't thank him enough for. ### Last Words Are you doing something cool and would like it featured in this newsletter? Maybe you need some help getting an idea to fruition? Let me know and I will help any way I can! If you'd like to make a recommendation for the serverless superhero or for an article you found especially useful, send me a message on [Twitter](https://twitter.com/allenheltondev), [LinkedIn](https://www.linkedin.com/in/allenheltondev/), or [email](mailto:allenheltondev@gmail.com). Happy Coding! Allen