Tarsier LabsTarsier Labs
🐵
Home
Categories
Tags
Bookmarks
About
Back to tags

SSE

0 articles

Production Environment Node.js OOM Investigation and Fix: A Complete Record from 300MB Limit to SSE Leak

Production Environment Node.js OOM Investigation and Fix: A Complete Record from 300MB Limit to SSE Leak

This article fully documents the investigation process of a NestJS backend crashing in production due to a JavaScript Heap OOM. It analyzes three compounding factors (tight heap limit, SSE connection leak, Prisma memory usage) and provides a step-by-step fix plan.

00
Interface Management
SSE Streaming in Translation Quality Detection: A Practical OOM Fix

SSE Streaming in Translation Quality Detection: A Practical OOM Fix

This article details the complete process of a translation quality detection feature evolving from an OOM crash to an SSE streaming refactor, including cursor pagination fixes, the NestJS @Sse() double-wrapping issue, an authentication scheme for EventSource without custom headers, and the design pattern of a frontend useSSE Hook.

00
Interface Management