letnaturebe·Aug 3Sort는 LIMIT을 무시한다 — 목록 조회 37초 버그 잡기주문 목록 조회가 37초 걸린다는 제보를 받았다. 페이지당 20건 보여주는 화면인데, 특정 판매자가 조회하면 너무 느리다고 했다.
letnaturebe·Jul 5DB 트랜잭션에서 UPDATE는 lock을 건다 — 따닥 버그 잡기Slack 연차 관리 앱(vacay-buddy)의 승인 코드를 들여다보다 race condition 하나를 발견했다. 실제로 장애가 발생한 적은 없었지만, 승인 버튼을 더블클릭하거나 Slack이 같은 요청을 재전송하면 코드상으로는 연차가 두 번…
letnaturebe·Jun 28백엔드 개발자가 htmx로 프론트를 걷어낸 이야기저는 백엔드 개발자라 프론트엔드에는 능숙하지 않습니다. 그래서 Slack 연차·근태 관리 앱(vacay-buddy)을 만들 때도 Express + TypeScript에 EJS로 서버사이드 렌더링(SSR)을 하고, 거기에 jQuery를 얹는 구성을…
letnaturebe·May 26How a 3-Hour Query from the AI Team Broke My Index Only ScanI was tuning a hot read path in production. The query was simple, the index was right, and EXPLAIN showed a clean Index Only Scan…
letnaturebe·Mar 28TypeScript Exception Handling with assertsIn web development, assert is rarely used. Most developers associate it with C/C++ or test code. But I've been actively using a simple…
letnaturebe·Mar 1A Real-World DB Lock Story (Infinite Login Loading)Most of us know that running an `UPDATE` query in a Relational Database (RDB) locks the affected row. Whenever we try to explain this…
letnaturebe·Sep 12, 2025Is Node.js Single-Threaded or Multi-Threaded? Let’s End the Debate.You’ll often see articles claiming, “Node.js is multi-threaded.”