Knex.js transaction + pg-boss: keep API writes and jobs consistent
A practical knex.js transaction + pgboss pattern that keeps database writes and pg-boss jobs consistent in one PostgreSQL transaction.
Staff Software Engineer · Go · TypeScript · Microservices
I build scalable backend systems and lead engineering teams. Focus areas include Go, TypeScript, microservices, and modernizing legacy platforms.
Latest Writing
A practical knex.js transaction + pgboss pattern that keeps database writes and pg-boss jobs consistent in one PostgreSQL transaction.
A plain-English breakdown of "Vibe Coding Kills Open Source" and practical ways maintainers, users, and AI toolmakers can keep OSS sustainable.
Why MikroORM feels different from Prisma/TypeORM, and why the Unit of Work pattern matters for complex domain logic.
Part 2 of building a chess TUI in Go. Learn how to integrate a chess library for move validation, implement move history tracking, detect checkmate, and delegate board state management instead of building chess rules from scratch.