Tag: nodejs Basic
This content is a draft and will not be included in production builds.
22 articles tagged nodejs:
- A correlation ID across two services: join logs correctly, and do not confuse it with tracing
- AsyncLocalStorage: per-request context, when context gets lost, and when not to use it
- Clean code: common mistakes when writing and refactoring backend code
- Common API mistakes: injection, authorization, secrets, retries
- Common async and error-handling mistakes in Node.js/TypeScript
- Common mistakes in Node.js, NestJS and PostgreSQL backend code
- Common mistakes when logging, debugging, responding to incidents and writing postmortems
- Common mistakes when reading config and env vars in Node.js
- Common mistakes with numbers, dates and strings in Node.js + PostgreSQL
- Common performance mistakes and resource leaks in Node.js
- Dockerfiles for Node.js: multi-stage, layer cache and running non-root
- Hypothesis-driven debugging with the Node.js and PostgreSQL toolkit
- Kubernetes requests and limits: why a Pod at 40% CPU still gets throttled
- Node.js streams and backpressure: when the writer is slower than the reader
- Observer and domain events: what OrderPaid guarantees when it fires in-process, and when you need an outbox
- Parse and validate env at startup: report every error, then exit
- Password hashing: why does salted sha256 still break when the database leaks?
- Scenario: a Node.js Pod gets OOMKilled every 6 hours
- Scenario: checkout p99 hits 1.2 s while CPU sits at 40% of the limit
- Secure coding for backends: the vulnerabilities live in the code you write
- SIGTERM during deploys: giving in-flight requests time to finish
- The Node.js event loop: callback order, late timers and what blocks the main thread