This article focuses on the query tail latency spikes caused by memory key-value pair databases when using fork to take snapshots and solves the problem from the perspective of the operating system.