redis publish/subscribe model

 

https://www.cnblogs.com/huangxincheng/p/5002794.html

 

An example we often hear

It is the scenario of email subscription. What does it mean? That is to say, 100 people subscribe to your blog. If the blogger publishes an article, then 100 people will receive notification emails at the same time, except for this

Can you find other scenes in the scene? Of course there are. Think about it. If you want to make a read-write separation program in the memory, in order to maintain the integrity of the data, do you need to ensure that you are writing

When it is time, should it be distributed to each program that reads memory? So there are still many scenarios, it depends on your excavation

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324940128&siteId=291194637