Tagged articles

Fork Process

1 articles · Page 1 of 1
DaTaobao Tech
DaTaobao Tech
Jun 7, 2022 · Databases

Inside Redis AOF Rewrite: How Forked Processes Manage Data Persistence

This article provides a detailed walkthrough of Redis's AOF rewrite mechanism, covering trigger conditions, parent‑child process forking, three communication pipes, key data structures, the child’s rewrite steps, the parent’s handling of concurrent writes, and the final hand‑over that swaps the new AOF file into production.

AOF RewriteData persistenceDatabases
0 likes · 12 min read
Inside Redis AOF Rewrite: How Forked Processes Manage Data Persistence