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.


Zero Copy
CXL 3.0: Redefining Zero-Copy Memory for In-Memory Databases

How CXL 3.0 replaces DMA-based zero copy with cache-coherent memory pooling for in-memory databases, featuring an experimental Redis fork that maps remote DRAM under 200 ns.

By CodemiaSep 10, 2025

5 min read

TLS
Evolution of TLS Acceleration: From User-Space to Smart NIC Offloads

Comparing six generations of TLS acceleration — from early user-space approaches like OpenSSL CLI hacks to modern in-NIC TLS offload with Kernel TLS and QUIC.

By CodemiaAug 26, 2025

7 min read

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

Loading...


All Rights Reserved.