Home  >  Article  >  Backend Development  >  Issues related to redis queue generation cache

Issues related to redis queue generation cache

WBOY
WBOYOriginal
2016-08-04 09:19:03794browse

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?

Reply content:

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?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn