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
      Hanselminutes with Scott Hanselman by Scott Hanselman

      Hanselminutes with Scott Hanselman

      383 Listeners

      The a16z Show by Andreessen Horowitz

      The a16z Show

      1,087 Listeners

      Software Engineering Daily by Software Engineering Daily

      Software Engineering Daily

      626 Listeners

      Risky Business by Patrick Gray

      Risky Business

      374 Listeners

      The Cloudcast by Massive Studios

      The Cloudcast

      153 Listeners

      Python Bytes by Michael Kennedy and Brian Okken

      Python Bytes

      214 Listeners

      Y Combinator Startup Podcast by Y Combinator

      Y Combinator Startup Podcast

      226 Listeners

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

      Syntax - Tasty Web Development Treats

      988 Listeners

      Cybersecurity Today by Jim Love

      Cybersecurity Today

      181 Listeners

      Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

      Kubernetes Podcast from Google

      182 Listeners

      Practical AI by Practical AI LLC

      Practical AI

      211 Listeners

      AWS Podcast by Amazon Web Services

      AWS Podcast

      202 Listeners

      AWS Morning Brief by Corey Quinn

      AWS Morning Brief

      79 Listeners

      The Real Python Podcast by Real Python

      The Real Python Podcast

      142 Listeners

      The AWS Developers Podcast by Amazon Web Services

      The AWS Developers Podcast

      25 Listeners