2

不同子系统间如何优雅地传递消息

 2 years ago
source link: https://www.v2ex.com/t/817400
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.
neoserver,ios ssh client

V2EX  ›  程序员

不同子系统间如何优雅地传递消息

  chanlk · 4 小时 7 分钟前 · 836 次点击

有四个子系统,每个子系统的用的技术都不一样

  1. 一个有十几个 dubbo 子模块的业务系统,模块间可以相互调用;
  2. 由五六个 C++、Go 流媒体模块组成的流媒体系统;
  3. 一个新的 IOT 系统,单体的,java 写的;
  4. 三四个传统 java 模块,单体的;

几个系统之间经常需要相互调用或者传递消息,现在是通过 HTTP 调用的方式,很笨重,开发效率低,也容易出 BUG ; 有什么更好的方式吗?

现在每个子系统的资源都是隔离的,如数据库,redis ,es 这些都是每个子系统独有的,不能相互访问;


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK