Showing posts with the label Node.js

Profiling Node.js Memory Leaks: Deep Dive into V8 Heap Analysis

TL;DR: Identify memory leaks by comparing multiple heap snapshots using Chrome DevTools or the v8 module; focus on "Retained Size" to f…
Profiling Node.js Memory Leaks: Deep Dive into V8 Heap Analysis

How to Use a Multi-stage Dockerfile to Shrink Node.js Images

Shipping a Node.js application in a Docker container often leads to a common frustration: bloated images. A simple "Hello World" Express …
How to Use a Multi-stage Dockerfile to Shrink Node.js Images

Solving the GraphQL N+1 Problem with DataLoader Batching

When you build a GraphQL API, you likely encounter a performance bottleneck known as the GraphQL N+1 problem. This issue occurs when a single query…
Solving the GraphQL N+1 Problem with DataLoader Batching
OlderHomeNewest