Home > Article > Backend Development > Issues related to redis queue generation cache
The queue used to generate the cache writes nearly 40W to the queue every 20 minutes. However, the cache is not generated that fast, resulting in more and more queues accumulating and memory usage increasing. Can you guys give me a solution?
The queue used to generate the cache writes nearly 40W to the queue every 20 minutes. However, the cache is not generated that fast, resulting in more and more queues accumulating and memory usage increasing. Can you guys give me a solution?
Look at your architecture diagram first
Write to redis in batches http://redis.io/topics/mass-i...
Does it have to be written into the memory?