Title: Issue #42: Start Something New Publication: Ready, Set, Cloud! Series: Ready, Set, Cloud Picks of the Week Author: Allen Helton Published: January 16, 2023 URL: https://www.readysetcloud.io/newsletter/42/ Many blogs this week focused on getting you started with something new, gearing up toward making our apps as performant as possible. ### Serverless Superhero Our serverless superhero this week is [Taavi Rehemägi](https://twitter.com/rehemagi), co-founder and CEO of [Dashbird](https://twitter.com/thedashbird). Taavi is breaking the mold in serverless observability. He's built an expertise on what does and doesn't matter in monitoring a serverless application and has applied his knowledge in Dashbird with intelligent warnings and meaningful alarms. Thank you Taavi for helping us build stronger applications by giving us the tools to know what is really going on. ### Tutorials I keep getting the feeling that Rust is going to be big this year. If you've been considering using Rust for your Lambda functions, [Cliff Crosland](https://twitter.com/CliftonCrosland) published an article on [how to get started](https://blog.scanner.dev/getting-started-with-serverless-rust-in-aws-lambda/). He covers some of the benefits of using Rust (there's more than just speed!) and gives a great breakdown of all the components needed to build a function. I hope we see more content like this in 2023. We all know one of the hardest problems in software engineering is cache invalidation. When data changes, how do you guarantee your cache has the updated values within your SLA? [Ellery Addington-White](https://twitter.com/elleryaw) wrote an incredibly clever way to [improve cache hit rates by using DynamoDB Streams](https://www.gomomento.com/blog/database-caching-improved-hit-rates-courtesy-of-dynamodb-streams). He built a middleware component that plugs into the AWS v3 JavaScript SDK using [Momento](https://gomomento.com) for easy read-aside caching and another one that automatically updates a cache directly off a DynamoDB stream. This is the kind of innovation I love to see, and it's only January! A common pattern we see with AWS alarms is to use an SNS topic that triggers a Lambda function that posts to Slack. [Davide de Paolis](https://www.linkedin.com/in/davide-de-paolis-98ab9815/) has come up with a better way to get your alarms in front of you. He proposes to [send Slack notifications with AWS Chatbot](https://dev.to/aws-builders/send-slack-notifications-with-aws-chatbot-5gfe) instead of a Lambda function. He shows the difference in resources in a CDK script and explains the benefits of using ChatBot vs a function. This is a great way to optimize alarm infrastructure and opens the door for *two-way communication* in Slack with your AWS environment! ### Interesting Reads Twitter's newsletter service, Revue, closes its doors this week, leaving many folks out of a solution - including me with this newsletter. I looked at several options to continue sending you high quality issues without service interruptions, but most alternatives are a bit pricey. So I ([Allen Helton](https://twitter.com/allenheltondev)) decided to [build my own serverless newsletter publishing app](https://www.readysetcloud.io/blog/allen.helton/how-i-built-an-open-source-newsletter-platform/). In the post, I cover some of the features, why I chose the providers I did, and linked to the source code on GitHub. If you're looking to start a newsletter, this is an easy way to start! There was a lot of backlash when OpenSearch serverless was released at re:Invent. Many people jumped on it saying it isn't actually serverless. That might be the case, but it still offers significant cost savings to consumers who are already using OpenSearch and have large instances and cluster sizes. [Martyn Kilbryde](https://twitter.com/makitdev) goes through how to [implement it in your serverless apps](https://dev.to/makit/building-with-aws-opensearch-serverless-2moh) to start saving money today. There are some tricky things to look out for that Martyn points out and he offers a few good insights into the use case for the service. ### New Releases You can now set the [maximum concurrency for SQS to Lambda](https://aws.amazon.com/about-aws/whats-new/2023/01/aws-lambda-maximum-concurrency-amazon-sqs-event-source/) integrations. This is a clean implementation to prevent runaway processing instead of setting reserved concurrency on your functions. The Edge got a little boost last week as [Lambda@Edge functions now support nodejs18.x](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/edge-functions-restrictions.html#lambda-at-edge-runtime-restrictions)! ### Spotlight One of the cloud development principles I preach regularly is *serverless-first, not serverless only*. This is an easy mantra to say but in practice can be deceptively difficult. Saying you are serverless-first is great for buzzword bingo, but there are changes that need to be made in the way you think, architect, build, and operate. [Sheen Brisals](https://twitter.com/sheenbrisals) wrote about [the FIRST principles for a successful serverless adoption](https://medium.com/lego-engineering/the-first-principles-for-a-successful-serverless-adoption-c7d86075342b) last week in a sobering article that reminds us that serverless development is a lot more than "hello world". He covers the *-first* principles your org must go through before you can safely transform into a true serverless-first mindset. ### Podcast The [Ready, Set, Cloud podcast](https://readysetcloud.io/podcast) officially kicked off last week! In the [first episode](https://readysetcloud.io/podcast/1), I talk with [Khawaja Shams](https://twitter.com/ksshams) about the true definition of serverless. We cover the impact of serverless on society and what we stand to lose of the definition continues to fall apart. It's a great listen if you've been following the debates on social media. ### Tip of the Week I know not everyone is a fan of SAM (you should be, but I won't rant). But a big update came out this week that adds tremendously to quality of life. You can now lint your templates via a terminal using the *sam validate* command! ### Last Words 2023 is turning out to be a big year already. Lots of great features are coming online and new content is being created by so many of you wonderful builders. Thank you for choosing to build in public and share your findings with the community! 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