[{"data":1,"prerenderedAt":102},["ShallowReactive",2],{"reinvent2026-svs327":3},{"id":4,"title":5,"YouTubeChannelID":6,"banner":6,"contributors":7,"description":6,"extension":9,"introBox":10,"meta":13,"pdf":14,"resources":17,"stem":100,"type":6,"video":6,"videos":6,"__hash__":101},"reinvent2026\u002Freinvent2026\u002Fsvs327.json","SVS327: Build interactive web apps with AWS Lambda",null,[8],"content\u002Fcontributors\u002Fjulian-wood.json","json",{"headline":11,"text":12},"Resources for SVS327: Build interactive web apps with AWS Lambda","This chalk talk built LambdaLine, a racing game with a live leaderboard, on one AWS Lambda Web Function. It covered multi-Region on one URL, built-in canary deploys, server-sent events from a standard web server, and what makes Web Functions simple to run: no adapter, fewer cold starts and active CPU billing.",{},{"source":15,"headline":16},"https:\u002F\u002Fserverlessland.s3.us-east-1.amazonaws.com\u002Fpdf\u002Freinvent2026\u002FSVS327.pdf","Slides from the presentation",{"left":18,"right":59},[19,26,37,48],{"headline":20,"subheading":21,"text":22,"button":23},"LambdaLine source code","GitHub repo","The racing game from the session: one Web Function serving the game, the API and the live leaderboard in three AWS Regions.",{"text":24,"link":25},"Code","https:\u002F\u002Fgithub.com\u002Faws-samples\u002Flambdaline",{"headline":27,"subheading":28,"text":29,"bullets":30},"What is a Lambda Web Function?","Your web server is the function","Your server listens on the host and port Lambda gives it, and frameworks such as Express and Hono run as they are.",[31,34],{"text":32,"link":33},"Announcing AWS Lambda Web Functions","https:\u002F\u002Faws.amazon.com\u002Fblogs\u002Faws\u002Fannouncing-aws-lambda-web-functions-for-fast-consistent-web-app-performance-anywhere\u002F",{"text":35,"link":36},"AWS Lambda Web Functions developer guide","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fweb-functions.html",{"headline":38,"subheading":39,"text":40,"bullets":41},"Multi-Region on one URL","Lowest-latency routing","A MultiRegion endpoint sends each request to the lowest-latency Region. LambdaLine reads and writes a local replica of one Amazon DynamoDB global table in each Region.",[42,45],{"text":43,"link":44},"Multi-Region deployment","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fweb-functions-endpoint-replication.html",{"text":46,"link":47},"Amazon DynamoDB global tables","https:\u002F\u002Fdocs.aws.amazon.com\u002Famazondynamodb\u002Flatest\u002Fdeveloperguide\u002FGlobalTables.html",{"headline":49,"subheading":50,"text":51,"bullets":52},"Shipping a new version and canary deploys","Revisions and traffic splits","One \u003Ccode>aws lambda-web deploy\u003C\u002Fcode> command creates a new revision. The dev endpoint follows it, and you set the global endpoint's traffic split to canary, promote or roll back.",[53,56],{"text":54,"link":55},"Deploying Web Functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fweb-functions-deploying.html",{"text":57,"link":58},"Deployment patterns: canary and rollback","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fweb-functions-deployment.html",[60,71,82,89],{"headline":61,"subheading":62,"text":63,"bullets":64},"Server-sent events","Streaming as plain HTTP","The live leaderboard is an ordinary streamed HTTP response, with one database poller shared by every stream in an environment.",[65,68],{"text":66,"link":67},"HTTP requests and responses","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fweb-functions-http.html",{"text":69,"link":70},"Real-time dashboard with server-sent events (pattern)","https:\u002F\u002Fserverlessland.com\u002Fpatterns\u002Flambda-web-sse-dashboard-nodejs-awscli",{"headline":72,"subheading":73,"text":74,"bullets":75},"Simple to run","Many requests per environment, active CPU billing","Each execution environment serves many requests at once, so a busy app starts fewer environments. You pay for the CPU your code actively uses, not for time spent waiting.",[76,79],{"text":77,"link":78},"Scaling behavior for Lambda Web Functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fweb-functions-scaling.html",{"text":80,"link":81},"AWS Lambda pricing","https:\u002F\u002Faws.amazon.com\u002Flambda\u002Fpricing\u002F",{"headline":83,"subheading":84,"text":85,"button":86},"Deploying with AWS Amplify","Full-stack hosting","Build and deploy full-stack web apps on AWS with AWS Amplify.",{"text":87,"link":88},"Read","https:\u002F\u002Faws.amazon.com\u002Famplify\u002F",{"headline":90,"subheading":91,"text":92,"bullets":93},"Which to choose","Event Functions, Web Functions or containers","Event Functions for events and APIs that already work, Web Functions for web frameworks, streaming and many requests per environment.",[94,97],{"text":95,"link":96},"When to use Web Functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fweb-functions.html#web-functions-overview-use-cases",{"text":98,"link":99},"AWS Lambda Event Functions","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Flambda-functions-chapter.html","reinvent2026\u002Fsvs327","BFG42W3l0UKOCCXT7ZjF6QcRw8H-RvaXk3a5ykIaUQs",1794479758272]