Reason, AWS Lambda, Http/2, OneGraph, Now.sh
summary
Claim: Reason/OCaml runs natively on AWS Lambda via the custom runtime API; implementation uses GraphQL PPX + OneGraph over an OCaml HTTP/2 client, builds with esy/dune inside Docker, and deploys through now.sh. The demo produces GitHub stargazers HTML, returns live results, and yields a statically linked 3.x MB binary with cold starts around 20–30 ms (hello world ~1 ms), so it actually works end to end.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 0:43AWS Lambda custom runtimes
- 1:45ReasonML runtime for Lambda
- 2:48Demo walkthrough
- 3:33Handler signature
- 4:38GraphQL query with PPX
- 6:26Response handling
- 7:13Statically linked binary
- 9:00Lambda startup time
- 10:03Docker build to Now.sh
- 11:10Live Lambda demo
related talks
39mHow to Go with AWS Lambda?
54mContainerless in the cloud with AWS Lambda
52mGo and AWS Lambda – a perfect Match
39mRunning Scala on AWS Lambda as a native-image
48mFaster/Greener/Cheaper Serverless compute with AWS Lambda & Rust
47mServerless Microservices
23mnow with Functions!
36mFunctional Programming in Serverless World
