Nov 6, 2025 · 4 min read · Node.js를 공부하다 보면 빠지지 않는 개념이 있습니다.바로 논블로킹 I/O(Non-blocking I/O)와 이벤트 루프(Event Loop)입니다. Node.js는 싱글 스레드임에도 불구하고 수천 개의 요청을 동시에 처리할 수 있습니다.그 비밀이 바로 “논블로킹 I/O”에 있습니다. 🧩 1. Node.js 런타임의 I/O 모델 Node.js는 자바스크립트 엔진(V8) 위에 libuv라는 C 레벨의 런타임 계층을 얹은 구조입니다. ┌─...
Join discussionAug 3, 2025 · 5 min read · Last week, I ran into a production issue in a Node.js application while the service owner was on leave.As a lifelong Java developer, I was nervous — I’d never touched Node.js before, and the fix was urgent. Thanks to Windsurf AI Agent, I managed to...
Join discussion
Jun 9, 2025 · 3 min read · Wait… JavaScript Does What Now? Recently, while exploring how Node.js works under the hood, I stumbled upon a fascinating contradiction in JavaScript—and I couldn’t help but share it. Wait, what? If you stare at that statement long enough, it feels ...
Join discussion
May 5, 2025 · 2 min read · 동기 VS 비동기 동기와 비동기의 차이는 Calle(호출되는 쪽)의 작업 완료 확인의 차이Callback의 유무의 차이? 라고 생각하면 이해가 더 쉬울지도? 1) 동기(Sync) Caller(호출하는 쪽)가 Calle(호출되는 쪽)을 실행한 다음에, Calle의 리턴값을 계속 확인하는 것 2) 비동기(Async) Caller가 Calle의 작업 완료 확인을 하지 않는다 확인을 하는 대신 Caller는 Callback 함수를 전달하고, C...
Join discussion
Nov 22, 2024 · 38 min read · Java NIO (New Input/Output), introduced in Java 1.4, is a powerful response to the evolving demands of modern computing. The world was moving toward highly concurrent, high-performance systems, and the traditional Java IO framework, while sufficient ...
Join discussionNov 22, 2024 · 48 min read · Why Reactive Programming? Imagine a web server under heavy load, handling thousands of incoming requests. In a traditional imperative setup, every request might spawn a new thread or tie up an existing one, waiting for I/O operations like database re...
Join discussionJun 10, 2024 · 3 min read · Synchronous The term "synchronous" means things happening at the same time. Imagine a scenario where you send a message to a server saying, "I just got connected." The server takes a moment and then responds, "Oh, really? You just got connected! I'll...
Join discussion
Jun 7, 2024 · 2 min read · Blocking In a blocking scenario, a thread remains idle while it waits for a method call to complete its request to a device. Blocking Socket When the receive buffer is full, the TCP sender's send() method becomes blocked, halting communication even t...
Join discussion