Home > Backend Development > PHP Tutorial > Issues related to redis queue generation cache

Issues related to redis queue generation cache

WBOY
Release: 2016-08-04 09:19:03
Original
817 people have browsed it

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?

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template