Tagged articles
43 articles
Page 1 of 1
Deepin Linux
Deepin Linux
May 4, 2026 · Fundamentals

Deep Dive into Linux VMA: Core Mechanisms of Virtual Memory Areas

Linux’s Virtual Memory Area (VMA) is the kernel’s core structure for managing a process’s address space, and this article explains its definition, key fields, linked‑list and red‑black‑tree organization, allocation, protection, page‑fault handling, copy‑on‑write, and practical usage examples.

Copy-on-WriteLinuxVMA
0 likes · 26 min read
Deep Dive into Linux VMA: Core Mechanisms of Virtual Memory Areas
Deepin Linux
Deepin Linux
Apr 19, 2026 · Fundamentals

How Linux Fork Uses Copy‑On‑Write to Boost Process Creation Efficiency

This article explains the fork system call in the Linux kernel, details the copy‑on‑write (COW) mechanism that underpins its efficiency, provides code examples, and explores practical scenarios and performance implications for process creation, memory usage, and concurrent server programming.

C programmingCOWCopy-on-Write
0 likes · 36 min read
How Linux Fork Uses Copy‑On‑Write to Boost Process Creation Efficiency
Shuge Unlimited
Shuge Unlimited
Apr 5, 2026 · Artificial Intelligence

How Claude Code’s Speculation Engine Lets AI Finish Your Code Before You Hit Tab

The article dissects Claude Code’s Speculation system, showing how an AI sub‑agent predicts user intent, runs a full edit‑test pipeline in an overlay filesystem, filters results through twelve safety layers, and only commits changes when the user confirms, effectively turning speculative execution into a safe performance boost.

AI AgentClaude CodeCopy-on-Write
0 likes · 21 min read
How Claude Code’s Speculation Engine Lets AI Finish Your Code Before You Hit Tab
AI2ML AI to Machine Learning
AI2ML AI to Machine Learning
Dec 22, 2025 · Artificial Intelligence

The Core Ideas Behind Paged Attention for KV‑Caching

This article explains how Paged Attention, introduced by the vLLM team, applies virtual‑memory techniques, non‑contiguous block mapping, copy‑on‑write reuse, distributed scheduling, and hardware‑level optimizations to improve KV‑cache efficiency and reduce memory fragmentation in large language model serving.

Copy-on-WriteDistributed SchedulingGPU Memory Management
0 likes · 6 min read
The Core Ideas Behind Paged Attention for KV‑Caching
php Courses
php Courses
Nov 17, 2025 · Backend Development

Why PHP Should Swap Variables Like Reusable Resources

The article examines PHP's current variable handling, proposes treating variables as reusable resources to cut memory usage and boost performance, and outlines practical techniques, benefits, challenges, and future directions for such optimizations.

Copy-on-WritePHPVariable Management
0 likes · 7 min read
Why PHP Should Swap Variables Like Reusable Resources
Deepin Linux
Deepin Linux
Sep 21, 2025 · Fundamentals

Why Linux Uses Copy‑On‑Write: Boosting Process Creation and Memory Efficiency

This article explains Linux’s Copy‑On‑Write mechanism, detailing how it avoids full memory duplication during process creation, the underlying page‑table workflow, its implementation in the kernel, and real‑world applications such as Redis persistence, Docker image layering, and filesystem snapshots, while also discussing its advantages and drawbacks.

Copy-on-WriteLinuxMemory Management
0 likes · 73 min read
Why Linux Uses Copy‑On‑Write: Boosting Process Creation and Memory Efficiency
Liangxu Linux
Liangxu Linux
Sep 1, 2025 · Fundamentals

What Happens Inside Linux When You Call fork()? A Deep Dive

This article explains how the fork() system call creates a duplicate process in Linux, walks through a simple code experiment, details the kernel steps—including task_struct creation, PID allocation, copy-on-write memory handling, and resource inheritance—and highlights common use cases, optimizations, and pitfalls.

CCopy-on-WriteLinux
0 likes · 12 min read
What Happens Inside Linux When You Call fork()? A Deep Dive
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 15, 2025 · Fundamentals

Unveiling Swift’s Dictionary: Inside the Hash Table Mechanics

This article dives deep into Swift's Dictionary implementation, explaining its underlying hash‑table structure, memory layout, bucket calculation, probing strategies, copy‑on‑write semantics, performance optimizations, and conflict‑resolution techniques, all illustrated with real source code and debugging screenshots.

Copy-on-WriteData StructuresSwift
0 likes · 27 min read
Unveiling Swift’s Dictionary: Inside the Hash Table Mechanics
Sohu Tech Products
Sohu Tech Products
Aug 13, 2025 · Fundamentals

Unveiling Swift’s Dictionary: Inside the Hash Table and Memory Layout

This article dives deep into Swift's Dictionary implementation, explaining its underlying hash‑table structure, memory layout, variant storage, probing strategies, copy‑on‑write semantics, conflict resolution, load‑factor handling, and automatic resizing, all illustrated with real code and debugger screenshots.

Copy-on-WriteData StructuresSwift
0 likes · 26 min read
Unveiling Swift’s Dictionary: Inside the Hash Table and Memory Layout
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 9, 2025 · Mobile Development

Unveiling Swift’s Array: Memory Allocation, SIL Insights, and Copy‑On‑Write Mechanics

This article dives deep into Swift's Array implementation, explaining how the language allocates memory, the role of SIL and internal structs like _Array, _ArrayBody, and _ContiguousArrayStorage, and how copy‑on‑write ensures efficient mutation handling, all illustrated with real code snippets and debugger output.

Copy-on-WriteMemory ManagementSIL
0 likes · 20 min read
Unveiling Swift’s Array: Memory Allocation, SIL Insights, and Copy‑On‑Write Mechanics
Tencent Cloud Developer
Tencent Cloud Developer
Oct 23, 2024 · Cloud Native

Remote Development and CI Equivalence with Cloud Native Build (CNB)

Remote development and CI share an identical Git‑based workflow, and CNB’s git‑clone‑yyds plugin plus declarative Dockerfile configuration enable rapid container startup, shared copy‑on‑write volume caching, and synchronized environment setup, making code preparation, dependency installation, and compile/test phases functionally equivalent across both contexts.

CNBCopy-on-WriteDeclarative Configuration
0 likes · 9 min read
Remote Development and CI Equivalence with Cloud Native Build (CNB)
Tencent Cloud Developer
Tencent Cloud Developer
Oct 16, 2024 · Cloud Native

CNB Volumes Cache: Accelerating Large-Scale Compilation with Copy-on-Write

CNB speeds up massive AOSP builds by using Docker volumes with a copy‑on‑write overlay cache, turning a 46‑minute compilation into a 90‑second incremental build even with six concurrent pipelines, while simplifying configuration and supporting multiple caching strategies for parallel development.

AOSP CompilationBuild CacheCI/CD Optimization
0 likes · 8 min read
CNB Volumes Cache: Accelerating Large-Scale Compilation with Copy-on-Write
Python Programming Learning Circle
Python Programming Learning Circle
Aug 13, 2024 · Big Data

What’s New in pandas 2.0: Arrow Backend, Copy‑On‑Write, and Performance Improvements

The article reviews pandas 2.0’s major upgrades—including an Apache Arrow backend that speeds up CSV reads by over 30×, new Arrow dtypes, a nullable‑numpy dtype for missing values, a copy‑on‑write memory model, optional dependencies, and benchmark comparisons with ydata‑profiling—highlighting the library’s enhanced performance, flexibility, and interoperability for data‑intensive Python workflows.

Apache ArrowCopy-on-WritePython
0 likes · 15 min read
What’s New in pandas 2.0: Arrow Backend, Copy‑On‑Write, and Performance Improvements
Deepin Linux
Deepin Linux
Nov 9, 2023 · Fundamentals

Understanding Linux Memory Mapping (mmap): API, Implementation, and Use Cases

This article explains Linux memory mapping (mmap), covering its purpose, API parameters, different mapping types, internal kernel implementation, page‑fault handling, copy‑on‑write semantics, practical use cases, and includes a complete Objective‑C example demonstrating file mapping and manipulation.

Copy-on-WriteLinux kernelPage Fault
0 likes · 27 min read
Understanding Linux Memory Mapping (mmap): API, Implementation, and Use Cases
Liangxu Linux
Liangxu Linux
Sep 11, 2023 · Fundamentals

What Happens Inside a Linux Process Address Space?

This article walks through a simple C program that forks a parent and child process, explains why they share the same virtual address for a global variable yet see different values, and details how Linux uses virtual memory, page tables, and copy‑on‑write to manage process address spaces.

Copy-on-Writeforkprocess
0 likes · 10 min read
What Happens Inside a Linux Process Address Space?
MaGe Linux Operations
MaGe Linux Operations
Jun 24, 2023 · Databases

Mastering Redis Persistence: RDB, AOF, and Hybrid Strategies Explained

This article explains Redis’s persistence mechanisms—including RDB snapshots, AOF append‑only logs, and the hybrid approach—detailing how to enable each method, their commands, configuration options, performance trade‑offs, rewrite processes, and recovery procedures to help you choose the right strategy for reliable data durability.

AOFCopy-on-WriteHybrid
0 likes · 16 min read
Mastering Redis Persistence: RDB, AOF, and Hybrid Strategies Explained
Sohu Tech Products
Sohu Tech Products
Jan 11, 2023 · Mobile Development

Deep Dive into Swift Array Implementation and Copy‑On‑Write Mechanics

This article provides a comprehensive, low‑level exploration of Swift's Array type, detailing its memory layout, the SIL generation process, buffer allocation, internal structures such as _ArrayBuffer and _ContiguousArrayStorage, and the copy‑on‑write behavior that governs mutation and reference counting.

ArrayCopy-on-WriteLow-Level Debugging
0 likes · 18 min read
Deep Dive into Swift Array Implementation and Copy‑On‑Write Mechanics
ITPUB
ITPUB
Nov 22, 2022 · Databases

How Redis RDB Works: Snapshotting, BGSAVE, and Copy‑On‑Write Explained

Redis achieves high speed by keeping data in memory, but to avoid data loss it offers two persistence methods—RDB and AOF; this article explains RDB’s snapshot mechanism, the SAVE vs BGSAVE commands, copy‑on‑write handling, automatic save configuration, and the internal structures that drive periodic backups.

BGSAVECopy-on-WritePersistence
0 likes · 13 min read
How Redis RDB Works: Snapshotting, BGSAVE, and Copy‑On‑Write Explained
IT Architects Alliance
IT Architects Alliance
Aug 31, 2022 · Databases

Redis Persistence Mechanisms: RDB Snapshots, AOF Logging, and Hybrid Persistence

This article explains Redis's persistence strategies—including RDB snapshotting with Copy‑On‑Write, AOF command logging with configurable fsync policies, and the hybrid persistence introduced in Redis 4.0—detailing their implementation, performance trade‑offs, configuration options, and practical usage examples.

AOFConfigurationCopy-on-Write
0 likes · 12 min read
Redis Persistence Mechanisms: RDB Snapshots, AOF Logging, and Hybrid Persistence
Cognitive Technology Team
Cognitive Technology Team
May 14, 2022 · Backend Development

Copy‑On‑Write Strategy and Its Implementation in Java's CopyOnWriteArrayList

The article explains the copy‑on‑write (COW) concurrency strategy, its suitability for read‑heavy scenarios, and demonstrates how Java implements COW with CopyOnWriteArrayList and CopyOnWriteArraySet, including volatile array handling, write‑locking, snapshot reads, and iterator behavior.

Backend DevelopmentCopy-on-WriteCopyOnWriteArrayList
0 likes · 7 min read
Copy‑On‑Write Strategy and Its Implementation in Java's CopyOnWriteArrayList
ITPUB
ITPUB
Apr 26, 2022 · Big Data

Mastering Delta Lake: From Data Lake Basics to Hands‑On Implementation

This article explains the fundamentals of data lakes and data warehouses, compares their architectures, outlines the challenges of data lakes, and then dives deep into Delta Lake's core features, storage model, ACID guarantees, concurrency handling, and provides step‑by‑step Spark code examples for practical use.

ACIDCopy-on-WriteData Lake
0 likes · 18 min read
Mastering Delta Lake: From Data Lake Basics to Hands‑On Implementation
Qingyun Technology Community
Qingyun Technology Community
Sep 17, 2021 · Fundamentals

Why ZFS Is the Ultimate File System for Modern Storage Needs

This article explores the origins, core features, and installation methods of the advanced ZFS file system, highlighting its storage pool architecture, copy‑on‑write, snapshots, data integrity checks, RAID‑Z, and massive scalability that make it popular among engineers and enterprises.

Copy-on-WriteRAID-ZZFS
0 likes · 9 min read
Why ZFS Is the Ultimate File System for Modern Storage Needs
php Courses
php Courses
Jul 1, 2021 · Backend Development

Understanding PHP 7.4 zval and zend_string Internals with GDB Debugging

This tutorial walks through PHP 7.4’s internal zend_string and zval structures, explains their role in binary‑safe strings and copy‑on‑write memory management, and demonstrates step‑by‑step debugging with GDB to inspect variable states and reference counts.

BackendCopy-on-Writegdb
0 likes · 14 min read
Understanding PHP 7.4 zval and zend_string Internals with GDB Debugging
DataFunTalk
DataFunTalk
May 16, 2021 · Big Data

Efficient Data Update/Delete and Real‑time Processing in the Arctic Lakehouse System

This article explains the evolution from traditional data warehouses to modern lakehouse architectures, introduces the Arctic system’s dynamic hash tree for fast update/delete, describes file splitting with sequence/offset ordering, and compares copy‑on‑write versus merge‑on‑read techniques for achieving low‑latency analytics.

ArcticBig DataCopy-on-Write
0 likes · 12 min read
Efficient Data Update/Delete and Real‑time Processing in the Arctic Lakehouse System
Code Ape Tech Column
Code Ape Tech Column
Nov 24, 2020 · Databases

Understanding Redis Persistence: A Deep Dive into AOF and RDB

This article explains Redis's two persistence mechanisms—AOF (Append Only File) and RDB (snapshot)—detailing their concepts, write‑back strategies, rewrite process, performance trade‑offs, snapshot handling, copy‑on‑write technique, incremental snapshots, and the benefits of combining both approaches.

AOFCopy-on-WriteHybrid
0 likes · 14 min read
Understanding Redis Persistence: A Deep Dive into AOF and RDB
Big Data Technology Architecture
Big Data Technology Architecture
May 31, 2020 · Big Data

Applying Apache Hudi in Medical Big Data: Architecture, Synchronization, Storage Choices, and Future Directions

This article examines the use of Apache Hudi for building a hospital‑wide medical big‑data platform, covering construction background, reasons for selecting Hudi, data synchronization methods, storage mode choices, query optimizations, and future development considerations.

Apache HudiCopy-on-WriteMedical Big Data
0 likes · 7 min read
Applying Apache Hudi in Medical Big Data: Architecture, Synchronization, Storage Choices, and Future Directions
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 7, 2019 · Fundamentals

Unlocking Linux Memory: A Practical Guide to mmap and Its Real-World Uses

This article explains Linux’s virtual address space, the mmap system call, its prototype and typical applications—including shared file mapping, inter‑process communication, and file I/O optimization—while illustrating concepts with diagrams and code examples, and discusses alignment, copy‑on‑write, and memory swapping considerations.

Copy-on-WriteSystem CallVirtual Memory
0 likes · 9 min read
Unlocking Linux Memory: A Practical Guide to mmap and Its Real-World Uses
360 Tech Engineering
360 Tech Engineering
Nov 7, 2019 · Fundamentals

Understanding mmap: Concepts, Usage, and Typical Applications in Linux

This article explains the Linux mmap system call, covering virtual address space fundamentals, how mmap interacts with the page cache and inode structures, typical use‑cases such as shared memory and anonymous mappings, code examples, and special considerations like alignment, copy‑on‑write and memory swapping.

Copy-on-WriteLinuxMemory Management
0 likes · 9 min read
Understanding mmap: Concepts, Usage, and Typical Applications in Linux
Architects' Tech Alliance
Architects' Tech Alliance
Jun 23, 2018 · Fundamentals

ZFS File System: Architecture, Features, and Variants

This article reviews the history of Sun and Solaris, explains ZFS’s core design as a combined file system and volume manager, and details its key features such as metadata integrity, copy‑on‑write, snapshots, clones, storage pools, RAID‑Z, caching, compression, deduplication, and tunability.

Copy-on-WriteRAID-ZZFS
0 likes · 11 min read
ZFS File System: Architecture, Features, and Variants
ITPUB
ITPUB
Mar 3, 2017 · Fundamentals

What Really Happens to Files and Disks During a Power Outage?

When power is lost mid‑write, the write command, device caches, and ordering become uncertain, and file systems employ various strategies—ranging from ignoring errors to copy‑on‑write and journaling—to mitigate data loss, each with trade‑offs in performance and reliability.

Copy-on-Writedata integrityext4
0 likes · 9 min read
What Really Happens to Files and Disks During a Power Outage?
21CTO
21CTO
Feb 23, 2017 · Backend Development

Inside PHP: Understanding the zval Structure and Memory Management

This article explains PHP's core zval structure, how different variable types are stored, and the mechanisms of reference counting, copy‑on‑write, and garbage collection that enable efficient memory management in the Zend engine.

BackendCopy-on-WriteMemory Management
0 likes · 12 min read
Inside PHP: Understanding the zval Structure and Memory Management