Record writes with the append-only file and choose an fsync policy. Manage AOF rewrites, multipart AOF files, recovery, and tradeoffs between durability, latency, and storage.