Tag

Zero Copy

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
May 13, 2025 · Fundamentals

Understanding mmap: How Memory Mapping Improves I/O Performance

This article explains how mmap maps files into a process's virtual memory to eliminate double data copies and reduce system‑call overhead, offering performance gains, a simpler programming model, and discusses its limitations such as address‑space constraints and page‑fault latency.

I/O performanceLinuxMMAP
0 likes · 8 min read
Understanding mmap: How Memory Mapping Improves I/O Performance
AntData
AntData
Mar 14, 2025 · Fundamentals

Analysis of DeepSeek 3FS Storage Service Architecture and Design

This article provides an in‑depth technical analysis of DeepSeek's open‑source 3FS distributed file system, focusing on the StorageService architecture, space pooling, allocation mechanisms, reference counting, fragmentation handling, and the RDMA‑based read/write data path.

Distributed StorageFile SystemRDMA
0 likes · 15 min read
Analysis of DeepSeek 3FS Storage Service Architecture and Design
Lobster Programming
Lobster Programming
Feb 13, 2025 · Backend Development

Zero‑Copy Explained: From write+read to mmap, sendfile and splice

This article breaks down zero‑copy data transfer techniques—write+read, mmap+write, sendfile, sendfile + SG‑DMA, and splice—showing how they reduce CPU copies and context switches to boost I/O performance in modern operating systems.

MMAPZero Copybackend
0 likes · 9 min read
Zero‑Copy Explained: From write+read to mmap, sendfile and splice
Deepin Linux
Deepin Linux
Jan 23, 2025 · Backend Development

Zero‑Copy Techniques in Linux: sendfile, mmap, splice and tee

This article explains the concept of zero‑copy in Linux, compares the four main system calls—sendfile, mmap, splice and tee—describes their APIs, internal mechanisms, performance characteristics, typical use‑cases and provides practical code examples for high‑performance network programming.

LinuxMMAPZero Copy
0 likes · 37 min read
Zero‑Copy Techniques in Linux: sendfile, mmap, splice and tee
Deepin Linux
Deepin Linux
Dec 25, 2024 · Fundamentals

An Introduction to RDMA: Principles, Programming, and Applications

This article explains RDMA technology, covering its core principles, programming model with Verbs API, various communication modes, and its impact on data‑center networking, high‑performance computing, and distributed storage, highlighting its low‑latency, zero‑copy advantages over traditional TCP/IP.

High Performance ComputingRDMAZero Copy
0 likes · 30 min read
An Introduction to RDMA: Principles, Programming, and Applications
Deepin Linux
Deepin Linux
Dec 17, 2024 · Fundamentals

Efficient Memory Sharing with mmap and Zero‑Copy Techniques

This article explains how mmap and zero‑copy mechanisms, combined with DMA and shared‑memory APIs, can dramatically reduce CPU involvement, context switches, and data copies during file and network I/O, thereby improving system performance for high‑throughput applications.

DMAMMAPPerformance Optimization
0 likes · 33 min read
Efficient Memory Sharing with mmap and Zero‑Copy Techniques
Deepin Linux
Deepin Linux
Dec 12, 2024 · Backend Development

Understanding Zero‑Copy Architecture: Concepts, Techniques, and Applications

Zero‑copy eliminates CPU‑mediated data copies between user and kernel spaces by using DMA and memory‑mapping, dramatically improving I/O performance, reducing context switches, and enabling high‑throughput applications such as file servers, Kafka brokers, and Java networking frameworks.

DMAI/O optimizationJava
0 likes · 28 min read
Understanding Zero‑Copy Architecture: Concepts, Techniques, and Applications
FunTester
FunTester
Dec 5, 2024 · Backend Development

Understanding Aeron: A High‑Performance Messaging Framework and Its Advantages

Aeron is an open‑source, low‑latency, high‑throughput messaging framework that leverages zero‑copy memory, shared‑memory IPC and UDP transport to deliver microsecond‑level latency for finance, gaming, and distributed systems, offering a simple API and powerful performance features.

AeronHigh-Performance MessagingJava
0 likes · 9 min read
Understanding Aeron: A High‑Performance Messaging Framework and Its Advantages
Architecture Development Notes
Architecture Development Notes
Dec 4, 2024 · Backend Development

How to Build a Zero‑Copy, Low‑Latency Network Protocol in Rust

This article explains how to design and implement a high‑performance custom network protocol in Rust, covering zero‑copy parsing, memory‑mapped packet pools, lock‑free event loops, and an efficient binary packet format to achieve ultra‑low latency and massive concurrency.

RustZero Copyhigh performance
0 likes · 9 min read
How to Build a Zero‑Copy, Low‑Latency Network Protocol in Rust
Sanyou's Java Diary
Sanyou's Java Diary
Oct 10, 2024 · Big Data

Why Kafka Handles Millions of Messages Per Second: Inside Its High‑Performance Architecture

This article explains how Kafka achieves ultra‑high throughput and low latency despite being disk‑based, covering its Reactor I/O network model, zero‑copy techniques, partitioning strategies, segment logs with sparse indexes, sequential disk writes, page cache usage, compression, batch processing, and lock‑free offset management.

KafkaOffset ManagementReactor I/O
0 likes · 27 min read
Why Kafka Handles Millions of Messages Per Second: Inside Its High‑Performance Architecture
macrozheng
macrozheng
Oct 10, 2024 · Fundamentals

How Zero‑Copy Boosts Data Transfer: IO Mechanisms, mmap, sendfile & splice Explained

This article explains the concept of zero‑copy, compares traditional I/O copying with mmap, sendfile, DMA scatter/gather and splice techniques, and shows how Java NIO leverages mmap and sendfile to achieve high‑performance data transfer while minimizing CPU involvement.

IOJava NIOLinux
0 likes · 15 min read
How Zero‑Copy Boosts Data Transfer: IO Mechanisms, mmap, sendfile & splice Explained
Architecture Development Notes
Architecture Development Notes
Aug 7, 2024 · Backend Development

Why fasthttp Beats net/http by 10×: Deep Dive into Go’s High‑Performance HTTP Library

This article examines why Go’s fasthttp library can outperform the standard net/http package by up to tenfold, covering memory allocation strategies, zero‑copy techniques, connection pooling, and additional optimizations, and offers guidance on when to choose each library for high‑performance backend services.

Memory ManagementZero Copyfasthttp
0 likes · 5 min read
Why fasthttp Beats net/http by 10×: Deep Dive into Go’s High‑Performance HTTP Library
IT Services Circle
IT Services Circle
Aug 5, 2024 · Backend Development

Why RocketMQ Lags Behind Kafka in Performance: The Impact of Zero‑Copy Techniques

The article explains how RocketMQ’s reliance on mmap‑based zero‑copy leads to more data copies and system‑call overhead compared to Kafka’s sendfile approach, resulting in lower throughput, and discusses when to choose each message‑queue system based on functional needs and performance requirements.

KafkaMMAPMessage Queue
0 likes · 8 min read
Why RocketMQ Lags Behind Kafka in Performance: The Impact of Zero‑Copy Techniques
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 4, 2024 · Big Data

Why Kafka Can Achieve Million‑Message‑Per‑Second Throughput: Disk Sequential Write, Zero‑Copy, Page Cache, and Memory‑Mapped Files

The article explains how Kafka attains ultra‑high write throughput by leveraging disk sequential writes, zero‑copy data transfer, operating‑system page cache, and memory‑mapped files, detailing each technique’s impact on latency, CPU usage, and overall performance.

KafkaZero Copybig data
0 likes · 5 min read
Why Kafka Can Achieve Million‑Message‑Per‑Second Throughput: Disk Sequential Write, Zero‑Copy, Page Cache, and Memory‑Mapped Files
Sanyou's Java Diary
Sanyou's Java Diary
Jun 3, 2024 · Backend Development

Understanding the Full Lifecycle of a RocketMQ Message: From Production to Deletion

This article walks through every stage of a RocketMQ message—from producer creation, routing, queue selection, and storage with zero‑copy techniques, through high‑availability replication, consumption modes, ordering guarantees, and finally automatic cleanup—providing code examples and architectural diagrams for each step.

High AvailabilityMessage LifecycleZero Copy
0 likes · 26 min read
Understanding the Full Lifecycle of a RocketMQ Message: From Production to Deletion
Deepin Linux
Deepin Linux
May 24, 2024 · Fundamentals

Understanding Zero‑Copy Technology: Concepts, Mechanisms, and Linux Implementations

Zero‑copy is an optimization technique that eliminates unnecessary memory copies between kernel and user space by leveraging DMA, memory‑mapping and specialized system calls, thereby reducing CPU load, latency and improving throughput for high‑performance networking, storage and multimedia workloads.

DMAIOLinux
0 likes · 18 min read
Understanding Zero‑Copy Technology: Concepts, Mechanisms, and Linux Implementations
Cognitive Technology Team
Cognitive Technology Team
May 19, 2024 · Backend Development

Achieving Efficient Data Transfer with Zero‑Copy Techniques

This article explains how zero‑copy technology eliminates redundant memory copies and context switches during data transmission, compares traditional read‑send workflows with zero‑copy approaches such as Linux sendfile/splice and Java's FileChannel.transferTo, and discusses performance benefits and practical considerations.

JavaLinuxZero Copy
0 likes · 6 min read
Achieving Efficient Data Transfer with Zero‑Copy Techniques
DaTaobao Tech
DaTaobao Tech
Apr 8, 2024 · Backend Development

Netty Core Concepts and Architecture Overview

Netty is a high‑performance network framework whose three‑layer architecture—Core, Protocol Support, and Transport Service—combined with a Reactor‑based logical design, diverse I/O models, advanced memory management, zero‑copy techniques, and optimized data structures, enables efficient custom protocol handling and scalable server development.

I/O modelsMemory ManagementNetty
0 likes · 27 min read
Netty Core Concepts and Architecture Overview
Sanyou's Java Diary
Sanyou's Java Diary
Mar 11, 2024 · Backend Development

Why RocketMQ Is So Fast: 10 Core Performance Techniques Explained

This article breaks down the ten key mechanisms—batch sending, message compression, Netty‑based networking, zero‑copy I/O, sequential writes, optimized storage structures, asynchronous flushing and replication, batch processing, lock refinements, and thread‑pool isolation—that together give RocketMQ its remarkable speed and efficiency.

JavaMessage QueueNetty
0 likes · 20 min read
Why RocketMQ Is So Fast: 10 Core Performance Techniques Explained