Showing posts with the label System Design

대용량 파일 업로드, 서버를 태우지 마라: S3 Presigned URL 및 Multipart Upload 실전 가이드

개발자가 흔히 저지르는 실수 중 하나는 기가바이트(GB) 단위의 대용량 파일을 백엔드 서버가 직접 받아서 S3로 넘겨주는 구조를 짜는 것이다. 이 방식은 EC2의 CPU와 메모리를 불필요하게 점유할 뿐만 아니라, 불필요한 대역폭 비용(Data Transfer Out…
대용량 파일 업로드, 서버를 태우지 마라: S3 Presigned URL 및 Multipart Upload 실전 가이드

Scaling File Uploads: The S3 Direct-to-Cloud Pattern

If you are piping large file uploads through your Node.js backend, you are building a bottleneck. I've seen production servers crash because a s…
Scaling File Uploads: The S3 Direct-to-Cloud Pattern

Arquitectura Resiliente: Subidas Directas a S3 con Presigned URLs y Multipart Upload

Imagina que tu servidor es una pequeña oficina de correos y, de repente, 100 usuarios intentan enviar sofás enteros a través de la ventanilla al mis…
Arquitectura Resiliente: Subidas Directas a S3 con Presigned URLs y Multipart Upload

Stopping API Abuse: Migrating from Fixed Window to Redis Sliding Window (Lua Implementation)

At 00:00:01, our database CPU spiked to 98%. We were supposed to have strict API Rate Limiting in place—capped at 1,000 requests per minute. Yet, …
Stopping API Abuse: Migrating from Fixed Window to Redis Sliding Window (Lua Implementation)
OlderHomeNewest