Writing
Notes on the things I build: offline first apps, serverless Laravel, and the parts that are harder than they look.
- Engineering
Running Laravel on AWS Lambda with Bref, Neon and Upstash, and what it costs at idle
What changes when Laravel runs on Lambda through Bref, why the database and Redis have to be serverless too, and which parts of the bill are zero at idle.
· 5 min read
Read the post - Engineering
Allocating sequential invoice numbers safely under concurrent Lambda invocations
Read then write allocation produces duplicate invoice numbers the moment two Lambda invocations overlap. How to fix it with row locking and a unique index.
· 5 min read
Read the post - Engineering
Idempotent offline sync with client-generated operation UUIDs
How a client-generated operation UUID and one unique index make an offline sync queue safe to retry, with the failure cases that design is built for.
· 6 min read
Read the post