Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源码解析: 处理 rpc 请求 #424

Closed
seeflood opened this issue Mar 18, 2022 · 2 comments · Fixed by #494
Closed

源码解析: 处理 rpc 请求 #424

seeflood opened this issue Mar 18, 2022 · 2 comments · Fixed by #494
Assignees
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed kind/hard source-code-analyze

Comments

@seeflood
Copy link
Member

seeflood commented Mar 18, 2022

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 请求的流程是什么样的

参考阅读

进行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/

@seeflood seeflood added documentation Improvements or additions to documentation help wanted Extra attention is needed source-code-analyze kind/hard labels Mar 18, 2022
@seeflood seeflood changed the title 源码解析: 处理 rpc 请求的流程 源码解析: 处理 rpc 请求 Mar 18, 2022
@rayowang
Copy link
Member

assign

@seeflood
Copy link
Member Author

@rayowang 欢迎加入社区~ 过程中遇到问题随时讨论哈,微信 钉钉 github都可以联系

rayowang pushed a commit to rayowang/layotto that referenced this issue Apr 21, 2022
rayowang pushed a commit to rayowang/layotto that referenced this issue Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed kind/hard source-code-analyze
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants