KMKim MinbapEinpiggyfarm.hashnode.devยทAug 1, 2025 ยท 3 min readVM, Storage, Network, Container, Serverless๐ 1. VM (Virtual Machine) Concept A virtual computer created using virtualization technology on top of a physical server. How It Works Install a hypervisor on the physical server to split CPU, memory, and disk resources Each VM has its own operat...00
KMKim MinbapEinpiggyfarm.hashnode.devยทJul 31, 2025 ยท 3 min readWhat is an inline function?In C++, the inline keyword serves two main purposes: One Definition Rule (ODR) Exception Compiler Optimization Hint Letโs unpack what that means, see some examples, and discuss best practices. 1. Why inline Exists 1.1 One Definition Rule Excepti...00
KMKim MinbapEinpiggyfarm.hashnode.devยทJul 31, 2025 ยท 2 min readAlgorithm Time Complexity OverviewNote: The following complexities represent typical cases for commonly used algorithms and data structures.Actual performance may vary depending on input size, data distribution, and problem constraints. 1. Sorting Algorithms AlgorithmAverage Tim...00
KMKim MinbapEinpiggyfarm.hashnode.devยทJan 16, 2025 ยท 2 min readPrefix SumA problem that processes a specific range in an N ร M array may produce the correct answer using a simple for loop, but it can fail the efficiency test due to time limit issues. Drawbacks of Using a Naive For Loop Time complexity can increase up to ...00
KMKim MinbapEinpiggyfarm.hashnode.devยทJan 16, 2025 ยท 2 min readI/O Multiplexing (select, poll, epoll, IOCP, kqueue)What is I/O Multiplexing? I/O Multiplexing์ ํ ํ๋ก์ธ์ค๊ฐ ๋์์ ์ฌ๋ฌ ํ์ผ ๋์คํฌ๋ฆฝํฐ๋ฅผ ๊ด๋ฆฌํ๋ ๊ธฐ๋ฒ์ด๋ค. ํ๋ก๊ทธ๋จ์ ํ์ผ ๋์คํฌ๋ฆฝํฐ๋ฅผ ๋ชจ๋ํฐ๋งํ์ฌ ์ด๋ค ์ข ๋ฅ์ I/O ์ด๋ฒคํธ(์ฝ๊ธฐ, ์ฐ๊ธฐ, ์์ธ ๋ฑ)๊ฐ ๋ฐ์ํ๋์ง ํ์ธํ๊ณ , ๊ฐ๊ฐ์ ํ์ผ ๋์คํฌ๋ฆฝํฐ๊ฐ Ready ์ํ๊ฐ ๋์๋์ง ํ๋จํ๋ค. ์ด ๊ธฐ๋ฒ์ Network socket๊ณผ ๊ฐ์ ๋น๋๊ธฐ์ I/O ์์ ์ ํนํ ์ ์ฉํ๋ฉฐ, socket๋ IP์ Port๋ก ๊ตฌ์ฑ๋ ํ...00