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

MOSN 源码解析:协程模型 #26

Closed
rootsongjc opened this issue Feb 12, 2020 · 6 comments
Closed

MOSN 源码解析:协程模型 #26

rootsongjc opened this issue Feb 12, 2020 · 6 comments
Assignees
Labels

Comments

@rootsongjc
Copy link
Member

Reviewer: @taoyuanyuan

@zhenjunMa
Copy link
Contributor

这篇文章是指IO流?比如请求进来以后,怎么从network到protocol再到stream层?有点类似于netty的pipeline,特别是ByteToMessageEncoder,数据不够解析时继续等待数据,满足解析协议时,交给上层处理。

@taoyuanyuan
Copy link
Contributor

@zhenjunMa 是的,主要就是IO协程+proxy协程池,整个请求的数据流,在各个协程之间的流动交互。

image

@zhenjunMa
Copy link
Contributor

/assign

@rootsongjc
Copy link
Member Author

rootsongjc commented Feb 19, 2020

This issue has been assigned to you for 7 days. Are you still working on it? @zhenjunMa

@zhenjunMa
Copy link
Contributor

@rootsongjc 上周有点忙,我还在看代码研究,不好意思,现在感觉这块概念比较多,还是比较复杂的。

@rootsongjc
Copy link
Member Author

This blog has published at https://mosn.io/zh/blog/code/mosn-eventloop/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants