Cloudlab
Small experiments on Cloudflare, plus this site
The premise
It holds an email sender, a few sandboxes and this homepage.
How it plays
- Shot 01RequestA request arrives at a Worker running close to the visitor.
- Shot 02VerifyThe Worker checks a signature before doing anything.
- Shot 03StoreState goes to a database or a durable object at the edge.
- Shot 04ActThe Worker sends an email or runs a multi-step workflow.
- Shot 05ReplyA small response goes back with the result.
5 shots, in order
Shot on
- Cloudflare Workers
- D1
- Durable Objects
- Workflows
- Email Sending
Screen test · Signed request
Send a request through the Worker
Invented example, not real data
- RequestPOST /send
- Step 1verify signaturewaiting
- Step 2check message sizewaiting
- Step 3send emailwaiting
- Response—
Idle. Press Run to roll the take.