Engineering

Subscribe

Notes on building reliable, fast web products.

Hunting Down Silent Memory Leaks in High-Throughput Node.js Microservices

Hunting Down Silent Memory Leaks in High-Throughput Node.js Microservices

A post-mortem on debugging an elusive 12 MB/hour heap leak under 4,500 req/sec load. V8 heap snapshots, weak references, closure traps, and event listener leak detection.

3 min read
#nodejs #backend #performance #debugging
Eliminating Mobile Runtime Crashes: End-to-End Type Safety with Protocol Buffers & tRPC

Eliminating Mobile Runtime Crashes: End-to-End Type Safety with Protocol Buffers & tRPC

How we eradicated undefined property exceptions on mobile clients. Comparing JSON REST, GraphQL, and Protobuf/gRPC on payload overhead and serialization benchmarks.

3 min read
#typescript #api #architecture #mobile