Tag

Radix Tree

1 views collected around this technical thread.

Refining Core Development Skills
Refining Core Development Skills
Jul 11, 2023 · Fundamentals

Why the Linux Kernel Replaced PID Bitmap with a Radix Tree and Its Performance Impact

This article explains the Linux kernel's transition from bitmap‑based PID allocation to a radix‑tree (IDR) implementation, describes the underlying data structures and code changes, and presents benchmark results showing roughly a 50% performance improvement for common utilities.

BitmapKernelLinux
0 likes · 18 min read
Why the Linux Kernel Replaced PID Bitmap with a Radix Tree and Its Performance Impact
360 Smart Cloud
360 Smart Cloud
Jan 16, 2023 · Backend Development

Comparison of Routing Matching Algorithms in APISIX and Kong

This article analyzes and compares the routing matching processes of the open‑source API gateways APISIX and Kong, detailing their initialization, rule generation, categorization, matching algorithms, performance testing, and concluding why APISIX's radix‑tree approach yields higher efficiency.

API gatewayAPISIXKong
0 likes · 15 min read
Comparison of Routing Matching Algorithms in APISIX and Kong
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 24, 2020 · Fundamentals

Evolution from Radix Tree to XArray in the Linux Kernel

The Linux kernel’s page‑cache indexing migrated from the classic radix‑tree structure—using shift‑based multi‑way nodes, RCU‑protected insert, lookup, and delete operations—to the newer XArray API introduced in 4.20, which retains the radix layout while offering automatic resizing, built‑in locking, richer marking, and a cleaner, safer interface.

Linux kernelRCURadix Tree
0 likes · 17 min read
Evolution from Radix Tree to XArray in the Linux Kernel