AWS Bites

77. How do you use Lambda Response Streaming?


Listen Later

Are you tired of waiting for your Lambda functions to finish before getting a response? Well, now you don't have to! In this episode of the AWS Bites podcast, we will talk about Lambda Response Streaming, a new feature recently added by AWS that lets you stream responses from your Lambda functions in real time.

We'll start by explaining what Lambda Response Streaming is and how it differs from buffering. We'll also discuss HTTP Chunking and other benefits of streaming. If you're a Node.js developer, you'll be happy to know that we'll cover how to work with streams in Node.js and how the new Lambda Response Streaming API works with the Node.js runtime.
But that's not all! We'll also discuss how to consume Lambda Response Streaming responses and compare that with S3 Object Response. And if you're wondering about pricing and quotas, we'll cover that too.
Finally, we'll answer the question on everyone's mind: will we get streaming requests as well? You'll have to watch the video to find out!
So if you're interested in learning more about Lambda Response Streaming and how it can improve the performance of your serverless applications, make sure to tune in. We promise it'll be worth your time.


💰 SPONSORS 💰

AWS Bites is sponsored by ⁠⁠⁠⁠⁠fourTheorem⁠⁠⁠⁠⁠, an AWS Consulting Partner offering training, cloud migration, and modern application architecture.


In this episode, we mentioned the following resources:

  • Official announcement blog post for Lambda Response Streaming
  • Our previous episode about Lambda function URLs vs API GW vs LB
  • HTTP Chunked transfer encoding protocol
  • Luciano's free Node.js streams workshop on GitHub
  • Node.js design patterns (the book)
  • Streamify response functionality in Middy
  • Lambda Rust Runtime codebase (support for Response Streaming)
  • Similar evidence of Response Streaming feature support in the GoLang Runtime
  • Our previous episode about S3 pre-signed URLs
  • Lambda Response Streaming pricing
  • Eoin's article about S3 Object Response
  • Experimental Node.js custom Node.js streaming runtime

  • You can listen to AWS Bites wherever you get your podcasts:

    • Apple Podcasts:⁠⁠⁠⁠⁠ https://podcasts.apple.com/us/podcast/aws-bites/id1585489017⁠⁠⁠⁠⁠
    • Spotify: ⁠⁠⁠⁠⁠https://open.spotify.com/show/3Lh7PzqBFV6yt5WsTAmO5q⁠⁠⁠⁠⁠
    • Google: ⁠⁠⁠⁠⁠https://podcasts.google.com/feed/aHR0cHM6Ly9hbmNob3IuZm0vcy82YTMzMTJhMC9wb2RjYXN0L3Jzcw==⁠⁠⁠⁠⁠
    • Breaker:⁠⁠⁠⁠⁠ https://www.breaker.audio/aws-bites⁠⁠⁠⁠⁠
    • RSS:  ⁠⁠⁠⁠⁠https://anchor.fm/s/6a3312a0/podcast/rss
    • ...more
      View all episodesView all episodes
      Download on the App Store

      AWS BitesBy AWS Bites

      • 4.6
      • 4.6
      • 4.6
      • 4.6
      • 4.6

      4.6

      11 ratings


      More shows like AWS Bites

      View all
      Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

      Software Engineering Radio - the podcast for professional software developers

      272 Listeners

      The Changelog: Software Development, Open Source by Changelog Media

      The Changelog: Software Development, Open Source

      283 Listeners

      The Cloudcast by Massive Studios

      The Cloudcast

      152 Listeners

      a16z Podcast by Andreessen Horowitz

      a16z Podcast

      1,027 Listeners

      Talk Python To Me by Michael Kennedy

      Talk Python To Me

      592 Listeners

      Software Engineering Daily by Software Engineering Daily

      Software Engineering Daily

      624 Listeners

      The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) by Sam Charrington

      The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

      443 Listeners

      AWS Podcast by Amazon Web Services

      AWS Podcast

      202 Listeners

      Data Engineering Podcast by Tobias Macey

      Data Engineering Podcast

      142 Listeners

      Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

      Syntax - Tasty Web Development Treats

      982 Listeners

      Darknet Diaries by Jack Rhysider

      Darknet Diaries

      7,865 Listeners

      Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

      Kubernetes Podcast from Google

      181 Listeners

      The AWS Developers Podcast by Amazon Web Services

      The AWS Developers Podcast

      23 Listeners

      AI + a16z by a16z

      AI + a16z

      30 Listeners

      The Pragmatic Engineer by Gergely Orosz

      The Pragmatic Engineer

      52 Listeners