Home  >  Article  >  Backend Development  >  How to read the redis queue written in swoole

How to read the redis queue written in swoole

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

I write the email information to be sent into the redis queue in swoole, and then how to read redis to execute sending the email. Do I need to use contab to set the timing, or use swoole's timer? Or other ways

Reply content:

I write the email information to be sent into the redis queue in swoole, and then how to read redis to execute sending the email. Do I need to use contab to set the timing, or use swoole's timer? Or other ways

Redis has a pubsub mode, you can consider it

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