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.


Garbage Collector
The Evolution of Garbage Collectors: From Java’s CMS to ZGC, and a JVM vs Go vs Rust Latency Shootout

We dig through five generations of garbage collectors—from CMS to ZGC—using flame graphs, then pit modern JVM ZGC, Go 1.23, and a Rust async executor on the same Kafka-style workload to hunt lingering GC-driven latency spikes. See which runtime tames the tail.

By CodemiaSep 13, 2025

8 min read

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

Loading...


All Rights Reserved.