61

消息中间件(一)基础-小恶魔的家-51CTO博客

 6 years ago
source link: http://blog.51cto.com/littledevil/2068474
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
消息中间件是用于分步式系统之间收发消息的组件。消息中间件的作用1. 应用解耦2. 异步处理比如用户注册场景,注册主流程完成以后,需要调用邮件系统发送邮件通知用户注册成功,可能还需要调用其他系统。这是串行的,如果一个系统依赖很多系统,那么这个主流程会比较长,耦合度高,整个系统维护成本也会越来越高。那么我们就可以使用消息中间件来进行解耦,通过发布订阅模式,完成用户注册之后,向中间件发送消息,这样就可以

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK