How much impact does creating a large number of string, with expiration times have on redis performance?

for example, every day to create millions or even tens of millions of string, with expiration time of about 2 seconds, does it have a big impact on redis performance? Is this practice OK?

Jan.14,2022

massive data elimination in a short period of time will consume a lot of cpu resources, and may even fail to keep up with the writing speed
because redis uses periodic testing and random sampling to carry out active data elimination


if the key of Redis expires at the same time, then Redis may experience temporary stutters. It is recommended that expiration time be randomized to deal with expiration time

Menu