VM, 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...3 min readยทpiggyfarm.hashnode.devAug 1, 2025
What 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...3 min readยทpiggyfarm.hashnode.devJul 31, 2025
Algorithm 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...2 min readยทpiggyfarm.hashnode.devJul 31, 2025
Prefix 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 ...2 min readยทpiggyfarm.hashnode.devJan 16, 2025
I/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๋ก ๊ตฌ์ฑ๋ ํ...2 min readยทpiggyfarm.hashnode.devJan 16, 2025