Tagged articles
12 articles
Page 1 of 1
Deepin Linux
Deepin Linux
May 12, 2026 · Backend Development

From Zero to One: Mastering Linux NAPI High‑Concurrency Packet Reception

This article explains why traditional interrupt‑driven network I/O stalls under high traffic, introduces the NAPI (New API) mechanism that combines interrupt wake‑up with batch polling, details its core data structures and scheduling functions, and provides step‑by‑step configuration and tuning guidance to achieve efficient, low‑latency packet processing on Linux servers.

LinuxNAPINetworking
0 likes · 35 min read
From Zero to One: Mastering Linux NAPI High‑Concurrency Packet Reception
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 13, 2024 · Frontend Development

Using ArkUI C/C++ API for Native UI Layout in HarmonyOS

This article explains how to create and bind native UI components in HarmonyOS by leveraging ArkUI's C/C++ API, covering project setup, library linking, module interface acquisition, node creation, attribute setting, and integration with ArkTS through NodeContent and ContentSlot.

ArkUIC APIHarmonyOS
0 likes · 10 min read
Using ArkUI C/C++ API for Native UI Layout in HarmonyOS
Deepin Linux
Deepin Linux
Aug 25, 2023 · Fundamentals

Linux Network Packet Reception: From NIC to Kernel and Protocol Stack

This article explains how Linux receives network packets, detailing the NIC’s DMA transfer, hardware and software interrupt handling, NAPI scheduling, kernel processing, and the subsequent traversal through the IP and transport layers up to the user‑space application.

LinuxNAPINetwork programming
0 likes · 27 min read
Linux Network Packet Reception: From NIC to Kernel and Protocol Stack
ByteDance Web Infra
ByteDance Web Infra
Feb 17, 2023 · Backend Development

Understanding Rust Build Scripts, FFI, and Sys Crates for NAPI Integration

This article provides a comprehensive guide on Rust build scripts, the role of sys crates, foreign function interfaces, and cross‑compilation techniques, illustrating how to create and use NAPI‑sys and libsodium‑sys crates, manage Cargo instructions, and leverage tools like Zig for seamless multi‑platform builds.

Build ScriptFFINAPI
0 likes · 21 min read
Understanding Rust Build Scripts, FFI, and Sys Crates for NAPI Integration
Qunar Tech Salon
Qunar Tech Salon
Mar 10, 2021 · Backend Development

Deep Dive into epoll: Principles, Blocking, and I/O Multiplexing

This article provides an in‑depth exploration of Linux’s epoll mechanism, covering its blocking behavior, kernel‑level processing, NAPI optimization, comparisons with select/poll, and practical insights into I/O multiplexing, helping backend engineers understand performance characteristics and design efficient network services.

I/O MultiplexingLinux kernelNAPI
0 likes · 15 min read
Deep Dive into epoll: Principles, Blocking, and I/O Multiplexing
Liangxu Linux
Liangxu Linux
Dec 21, 2020 · Fundamentals

How Linux Sends and Receives Network Packets: Inside the TCP/IP Stack

This article explains how Linux implements the TCP/IP model to encapsulate, transmit, and receive network packets, covering OSI vs TCP/IP layers, the Linux network stack structure, NAPI interrupt mitigation, and the step‑by‑step processing of packets in both directions.

LinuxNAPINetwork Stack
0 likes · 12 min read
How Linux Sends and Receives Network Packets: Inside the TCP/IP Stack
Refining Core Development Skills
Refining Core Development Skills
Sep 24, 2020 · Fundamentals

Deep Dive into Linux Network Packet Reception Process

This article provides a comprehensive, illustrated explanation of how Linux receives network packets—from hardware DMA and interrupt handling through soft‑interrupt processing, NAPI polling, protocol stack registration, and finally delivery to user‑space via recvfrom—detailing each kernel component and relevant source code.

LinuxNAPIPacket Reception
0 likes · 48 min read
Deep Dive into Linux Network Packet Reception Process
Meituan Technology Team
Meituan Technology Team
Mar 15, 2018 · Operations

Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services

Through kernel‑level analysis we discovered that Redis packet loss stemmed from rx_dropped buffer exhaustion caused by interrupt‑handling backlogs, and resolved it by assigning NIC interrupts to specific cores on one NUMA node while binding Redis processes to the other, eliminating loss under dual‑10 GbE load.

Linux kernelNAPIPacket Loss
0 likes · 33 min read
Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services