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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c5ab-2c31d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c5ab-2c31d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?