ByteDance Interview Question

Q; How did you solve the problem that redis may crash when running?