源码解析: 处理 rpc 请求 #424
Labels
documentation
Improvements or additions to documentation
help wanted
Extra attention is needed
kind/hard
source-code-analyze
Note: since this is a Chinese community activity,I wrote it in Chinese.
介绍
阅读源码,分析 Layotto 处理rpc请求的流程。
Layotto “寄生”在 MOSN 里,rpc请求到达sidecar时,其实是先经过 MOSN、MOSN通过grpcFilter 把流量转给 Layotto ,Layotto 解包、处理之后,再通过一对虚拟连接(net.Pipe) 将流量转给MOSN, MOSN做流量转发
难度: Hard
参考解析
参考阅读
进行RPC调用--helloworld
进行RPC调用--Dubbo JSON RPC Example
https://mosn.io/layotto/#/zh/building_blocks/rpc/reference
https://mosn.io/layotto/#/zh/design/rpc/rpc%E8%AE%BE%E8%AE%A1%E6%96%87%E6%A1%A3
源码解析文章的格式
可以参考之前 “MOSN 源码解析活动”的文章格式 https://mosn.io/blog/code/
The text was updated successfully, but these errors were encountered: