Home >Backend Development >PHP Tutorial >What is the use of message queue?

What is the use of message queue?

WBOY
WBOYOriginal
2016-09-03 00:00:221187browse

I recently wrote a website that needs to constantly poll an interface. If the data changes, I need to send an email. Now some people say that I can’t receive emails during the day and can only receive them at night. I guess it’s because I send emails during the day. The frequency is too high so some emails cannot be sent? Do I need to use message queue in this case? (I am writing a backend in PHP. I wonder if SF allows me to post the URL of my website. I am afraid that the administrator will think it is an advertisement...)
In addition, what is the relationship between message middleware and message queue?

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