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 McKinsey Podcast by McKinsey & Company

      The McKinsey Podcast

      378 Listeners

      Planet Money by NPR

      Planet Money

      30,734 Listeners

      The Changelog: Software Development, Open Source by Changelog Media

      The Changelog: Software Development, Open Source

      284 Listeners

      Thoughtworks Technology Podcast by Thoughtworks

      Thoughtworks Technology Podcast

      41 Listeners

      Talk Python To Me by Michael Kennedy

      Talk Python To Me

      585 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)

      435 Listeners

      AWS Podcast by Amazon Web Services

      AWS Podcast

      202 Listeners

      Data Engineering Podcast by Tobias Macey

      Data Engineering Podcast

      140 Listeners

      Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

      Kubernetes Podcast from Google

      183 Listeners

      The Real Python Podcast by Real Python

      The Real Python Podcast

      138 Listeners

      Big Technology Podcast by Alex Kantrowitz

      Big Technology Podcast

      453 Listeners

      The AWS Developers Podcast by Amazon Web Services

      The AWS Developers Podcast

      22 Listeners

      The Pragmatic Engineer by Gergely Orosz

      The Pragmatic Engineer

      62 Listeners