30

在微服务中是用队列好还是 RPC 好

 4 years ago
source link: https://www.v2ex.com/t/580080
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.
程序员 - @springmarker - 个人浅薄的认识,在大多数场景下可以用队列替换 RPC(指代通常的 RPC,不是由队列实现的 RPC)。<br>队列的优点:<br>1.消息可以堆积,只要队列稳定,消息丢失的概率就比直接 RPC

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK