Engineering Blog & Technical Notes
Practical notes from building full-stack backends, PostgreSQL transactional flows, payment webhooks, and grounded AI pipelines.
Database & Concurrency·November 2026·5 min read
Why reading stock in application code before updating inventory breaks under simultaneous requests—and how row-level lock ordering keeps checkout race-free.
Backend Reliability·November 2026·4 min read
Payment providers use at-least-once delivery. Here is how to combine signature verification with atomic PostgreSQL event claiming so retries never double-process an order.
Applied AI Engineering·November 2026·4 min read
Lessons from building FosholLens: why prompts alone are not safety boundaries, and how plain code validators keep probabilistic models honest.