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

源码解析: 7层流量治理,接口限流 #426

Closed
seeflood opened this issue Mar 18, 2022 · 4 comments · Fixed by #488
Closed

源码解析: 7层流量治理,接口限流 #426

seeflood opened this issue Mar 18, 2022 · 4 comments · Fixed by #488
Assignees
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed kind/easy 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 是怎么做接口限流的

Layotto “寄生”在 MOSN 里, 可以通过 MOSN的7层stream filter扩展机制 写stream filter、做流量治理
Layotto 官方文档中提供了一个接口限流的示例,用于演示如何扩展7层流量治理功能,其中用到的 stream filter在 MOSN 项目中。

难度: Easy

参考阅读

Layotto 官方文档中提供了一个接口限流的示例

代码在 https://github.com/mosn/mosn/tree/master/pkg/filter/stream/flowcontrol

源码解析文章的格式

可以参考之前 “MOSN 源码解析活动”的文章格式 https://mosn.io/blog/code/

@seeflood seeflood added documentation Improvements or additions to documentation help wanted Extra attention is needed kind/easy source-code-analyze labels Mar 18, 2022
@kuaile-zc
Copy link
Contributor

assign

@seeflood
Copy link
Member Author

seeflood commented Apr 2, 2022

@kuaile-zc 欢迎~~有问题可以随时聊哈,群里或者github都行

@kuaile-zc
Copy link
Contributor

@seeflood
Copy link
Member Author

@kuaile-zc 感谢贡献!可以直接提pull request、修改 layotto 的官方文档
可以参照文档贡献指南
可以放在"博客"目录下
image

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/easy source-code-analyze
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants