基于开源工具提供real time api 的一个参考集成方案

参考架构方案

组件说明

核心还是利用了以上的开源组件进行集成,提供不同模式的real time 能力,基于分层的模式,有些是依赖中间件的,有些是依赖db的
我们利用以上组件可以快速设计一个支持real time的api,当然没有银弹,集成需要代价,开源框架解决不了所有问题,合理集成,大胆
扩展才可以很好的解决问题

参考资料

https://centrifugal.dev/
https://pushpin.org/
https://feathersjs.com/
https://nchan.io/
https://www.meteor.com/
https://gun.eco

原文地址:https://www.cnblogs.com/rongfengliang/p/15371955.html