by mguay | Sep 12, 2026 | NestJS, Post
Two requests hit your API at the same moment. Both read the same product row, both see stock: 1, both decide the sale is fine, and both write stock: 0. You just sold one item twice. Nothing threw an error, nothing showed up in the logs, and you won’t hear about...
by mguay | Aug 9, 2025 | NestJS, Node.js, Post
Encrypting database traffic isn’t optional—especially if you’re handling user data or building anything that might one day need audits or certifications. Fortunately, enabling SSL/TLS for Postgres on AWS RDS with Drizzle ORM (node-postgres) in a NestJS app is...