【2020/QuASoQ】Evaluating the Impact of Inter Process Communication in Microservice Architectures

论文链接:https://www.researchgate.net/publication/346943854_Evaluating_the_Impact_of_Inter_Process_Communication_in_Microservice_Architectures
源码链接:未公布

TL;DR

现实中微服务系统通过不同的方式来实现进程间的通信 inter process communication (IPC),每种方式都有优缺点和trade-offs,论文中通过不同的实验来对比不同 IPC 通信的优缺点,实验证明虽然没有通用的IPC方式适用于所有的场景,但是异步的通信方式普遍优于同步的方式。

State of the Art

  • Synchronous Communication (quest/response interaction style)
    • REST API
    • gRPC
  • Asynchronous Communication (services exchange messages with each other)

Implementation

搭建服务架构:

  • Product Information Service
  • Product Review Service
  • Product Recommendation Service
  • Product Shipping Service
  • Customer Shopping Cart Service

Results and Evaluation

  • Performance Efficiency
  • Availability
    A v a i l a b i l i t y = M T T F M T T F + M T T R M T T F : 故 障 发 生 前 系 统 预 计 运 行 时 间 M T T R : 故 障 发 生 后 系 统 恢 复 时 间 Availability=\frac{MTTF}{MTTF+MTTR} \\ MTTF:故障发生前系统预计运行时间\\MTTR:故障发生后系统恢复时间 Availability=MTTF+MTTRMTTFMTTFMTTR

总结

对调用链定位没有任何用处;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值