RSocket 是一个新的通信协议, Facebook、Netfi、Pivotal、vlingo 等公司都有参与研发,它是一个位于传输层的新协议。在反应式编程中有两个瓶颈,一个是关系型数据库性能,一个是网络传输性能,对于数据库已经有r2dbc开发,而网络问题则由 RScoket 解决,有人说 VaughnVernon 去 vlingo 做 RSocket 研究是为了解决领域驱动设计中上下文映射的问题(未求证)
按官方的解释翻译以及个人理解:
| 名称 | 用途 |
|---|---|
| Request/Response | rpc |
| Request/Stream | pub/sub |
| Fire-and-Forget | logging, metrics |
| channel | mobile & IoT <-> Server 全双工通道 |
RSocket 实现了 Reactive 编程模型,它有以下特点
https://www.infoq.cn/article/2018%2F10%2Frsocket-facebook
https://www.ibm.com/developerworks/cn/java/j-using-rsocket-for-reactive-data-transfer/index.html
https://en.wikipedia.org/wiki/RSocket
https://dev.to/petros0/getting-started-with-rsocket-in-springboot-5889
RSocket 是一个新的通信协议, Facebook、Netfi、Pivotal、vlingo 等公司都有参与研发,它是一个位于传输层的新协议。在反应式编程中有两个瓶颈,一个是关系型数据库性能,一个是网络传输性能,对于数据库已经有r2dbc开发,而网络问题则由 RScoket 解决,有人说 VaughnVernon 去 vlingo 做 RSocket 研究是为了解决领域驱动设计中上下文映射的问题(未求证)
按官方的解释翻译以及个人理解:
| 名称 | 用途 |
|---|---|
| Request/Response | rpc |
| Request/Stream | pub/sub |
| Fire-and-Forget | logging, metrics |
| channel | mobile & IoT <-> Server 全双工通道 |
RSocket 实现了 Reactive 编程模型,它有以下特点
https://www.infoq.cn/article/2018%2F10%2Frsocket-facebook
https://www.ibm.com/developerworks/cn/java/j-using-rsocket-for-reactive-data-transfer/index.html
https://en.wikipedia.org/wiki/RSocket
https://dev.to/petros0/getting-started-with-rsocket-in-springboot-5889