Blog

Recent Articles

Discover the latest news, tips and system design from Codemia.

You will learn about web infrastructure, system designs and devops APIs best practices.


Linux Kernel
The Death of the Page Cache? From mmap() to NVMe-ZNS and User-Space File Systems

This post traces the decline of the Linux page cache in modern databases and storage systems. It explores the shift from mmap() and buffered I/O to O_DIRECT, driven by SSD endurance improvements, NVMe Zoned Namespaces, and user-space filesystems. Featuring case studies of MySQL, ScyllaDB, and Redpanda, it highlights why these systems bypass the kernel cache to achieve predictable p99 latencies and tighter control over I/O.

By CodemiaAug 20, 2025

8 min read

NUMA
NUMA Is the New Network: How Per-Socket Memory Models Are Reshaping Microservice Placement

This article explores how Non-Uniform Memory Access (NUMA) is reshaping microservice placement. It traces the evolution from early SMP kernels to modern Linux features like cgroups v2 and eBPF locality hints, and highlights Kubernetes topology-aware scheduling. Real-world data shows that aligning pods and stateful services with NUMA nodes can significantly reduce tail latency and improve throughput, making NUMA awareness as critical as network awareness in distributed system design.

By CodemiaAug 17, 2025

5 min read

Linux Kernel
From epoll to io_uring’s Multishot Receives — Why 2025 Is the Year We Finally Kill the Event Loop

This article traces the evolution of Linux asynchronous I/O from epoll to io_uring, highlighting how multishot receive operations streamline network event handling. It explains why multishot removes much of the boilerplate and syscall overhead of traditional event loops, and presents benchmarks showing io_uring’s throughput gains and tail latency reductions over epoll—making 2025 the year to rethink event-driven server design.

By CodemiaAug 14, 2025

5 min read

CPU Scheduling
The Evolution of Linux CPU Schedulers: From O(1) to CFS to User‑Space Scheduling

Linux CPU Scheduling Evolution and Facebook's BOLT: Cutting Latency with sched_ext

By CodemiaAug 13, 2025

5 min read

Loading...


All Rights Reserved.