[{"data":1,"prerenderedAt":47},["ShallowReactive",2],{"pattern-lambda-streaming-ttfb-write-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":16,"extension":17,"framework":18,"gitHub":19,"highlight":6,"introBox":25,"language":29,"level":30,"meta":31,"patternArch":32,"resources":37,"s3URL":6,"services":6,"stem":42,"testing":43,"videoId":6,"__hash__":46},"patterns\u002Fpatterns\u002Flambda-streaming-ttfb-write-sam.json","AWS Lambda response streaming: Time-to-first-byte using write()",null,{"text":8},[9],"Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fjulian-wood.json",{"text":13},[14,15],"sam build","sam deploy -g --stack-name lambda-streaming-ttfb-write-sam","Lambda functions showing how to use Lambda response streaming to improve time-to-first byte using the write() method.","json","AWS SAM",{"template":20},{"repoURL":21,"templateURL":22,"projectFolder":23,"templateFile":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-streaming-ttfb-write-sam","serverless-patterns\u002Flambda-streaming-ttfb-write-sam","lambda-streaming-ttfb-write-sam","template.yaml",{"headline":26,"text":27},"How it works",[28],"This pattern deploys an AWS Lambda function showing how response streaming can improve time-to-first-bite using the write() method.","Node.js","300",{},{"icon1":33},{"x":34,"y":34,"service":35,"label":36},50,"lambda","Lambda response stream via Function URL",{"bullets":38},[39],{"text":40,"link":41},"Introducing AWS Lambda response streaming","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Fcompute\u002Fintroducing-aws-lambda-response-streaming\u002F","patterns\u002Flambda-streaming-ttfb-write-sam",{"text":44},[45],"See the GitHub repo for detailed testing instructions.","bUx1jtTGfKBpBNQ-la8O9k2Wryny-m1wLblzZ3sjYhY",1781346946290]