Showing posts with the label Backpressure

Node.js 대용량 파일 처리: OOM(Memory Leak) 잡고 Backpressure 제대로 이해하기

지난주, 프로덕션 환경에서 간헐적으로 파드(Pod)가 재시작되는 현상이 보고되었습니다. 로그를 확인해 보니 범인은 아주 익숙하고도 악명 높은 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 였습니다. 원인을…
Node.js 대용량 파일 처리: OOM(Memory Leak) 잡고 Backpressure 제대로 이해하기

Node.jsで10GB超のデータを処理したらOOM?StreamとBackpressureでメモリを50MBに抑えた話

先週、本番環境のログ集計バッチが突如として死にました。エラーログには馴染み深すぎるあのメッセージが刻まれていました: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 。このバッチ処理は、AWS Fargate(メモリ制限1GB)上で…
Node.jsで10GB超のデータを処理したらOOM?StreamとBackpressureでメモリを50MBに抑えた話

Efficient Data Handling with Streams

I n modern backend architecture, handling large datasets effectively is a baseline requirement, not an optional optimization. A common pitfall for junior engineers is attempting to load entire files…
Efficient Data Handling with Streams
OlderHomeNewest