Tag

BGSAVE

0 views collected around this technical thread.

Architecture & Thinking
Architecture & Thinking
Mar 7, 2024 · Databases

Mastering Redis RDB Snapshots: SAVE vs BGSAVE Explained

This article explains how Redis RDB snapshots work, compares the blocking SAVE command with the asynchronous BGSAVE command, outlines their impact on performance, and provides best‑practice guidance on snapshot frequency and trade‑offs.

BGSAVEDatabasePersistence
0 likes · 10 min read
Mastering Redis RDB Snapshots: SAVE vs BGSAVE Explained
Aikesheng Open Source Community
Aikesheng Open Source Community
Apr 25, 2022 · Databases

Diagnosing Periodic Redis Latency Caused by BGSAVE and Fork Overhead

The article analyzes a recurring one‑second pause in a Redis 4.0 master‑slave setup, identifies the periodic BGSAVE fork operation as the root cause through metrics like latest_fork_usec, and presents mitigation strategies such as memory limits, activedefrag, and migration to a lower‑RSS instance.

BGSAVEMonitoringPerformance
0 likes · 6 min read
Diagnosing Periodic Redis Latency Caused by BGSAVE and Fork Overhead