
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.
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.
Revisions and traffic splits
One aws lambda-web deploy 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.
Streaming as plain HTTP
The live leaderboard is an ordinary streamed HTTP response, with one database poller shared by every stream in an environment.
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.
Full-stack hosting
Build and deploy full-stack web apps on AWS with AWS Amplify.
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.
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.