// notes
Notes
Write-ups on architecture and delivery decisions.
5 min read
Five Shopify Hydrogen Gotchas from a Production Storefront
Worker-runtime promises, a search that ignores handles, a silent account outage and free-gift cart lines on a headless Shopify store.
- #Shopify
- #Frontend
4 min read
Twelve Bookings at Once Took Down the API
How a query outside its transaction deadlocked a five-connection pool, and how AsyncLocalStorage made transactions contagious.
- #Database
- #Concurrency
3 min read
Two Ways Strangers Could Own an Account
An unverified sign-up that enabled account takeover, and a 'first visitor becomes admin' bootstrap, both fixed by asking what was proved.
- #Security
- #Auth
4 min read
What a Black-Box Audit Found in My Own Platform
Double refunds, a coupon race, stale caches and leaky 403s: the bugs that every unit test would have passed.
- #Testing
- #Architecture
3 min read
A Date Formatter That Ate 2.6 GB of Memory
Creating Intl.DateTimeFormat in a hot loop leaked native memory until the host killed the server; caching one cut a request from 4.8 s to 0.28 s.
- #Performance
- #Node.js
3 min read
Soft Deletes vs Unique Constraints
Why re-adding a deleted brand failed on a slug nobody could see, and when to restore instead of insert.
- #Database
- #Backend
3 min read
crypto.randomUUID Is Undefined on Your Phone
Checkout crashed over a LAN address because randomUUID needs a secure context; a twelve-line fallback fixed it.
- #Frontend
- #Web Platform
3 min read
Why I Chose Standalone Repositories Over a Monorepo for Multi-App Client Architectures
Trade-offs between shared UI packages and strict fault isolation across independent client dashboards.
- #Architecture
- #DevOps
3 min read
Designing a 47-Model E-Commerce Schema in PostgreSQL & Sequelize
Structuring relational integrity for inventory batches, variants, pricing rules, and order lifecycles.
- #Database
- #Backend
3 min read
Automating Cross-Account Vercel Deployments with GitHub Actions
Deploying private organization repositories cleanly into external client Vercel environments.
- #CI/CD
- #Infrastructure