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

关于转发性能 损耗 #15

Open
xiaolei2141576 opened this issue Sep 14, 2020 · 3 comments
Open

关于转发性能 损耗 #15

xiaolei2141576 opened this issue Sep 14, 2020 · 3 comments

Comments

@xiaolei2141576
Copy link

关于转发性能损耗,在您的项目文档中有提到大约是 2ms的损耗。使用gateway项目测试,配置使用redis, 测试转发损耗约30ms,不知道是我使用过的方式不对 还是其他? 使用的跟您一样的的数据,只是修改了 下游路由地址跟ip 走的是内网调用。 直接调用下游接口约 17ms 通过gateway 大约50ms

Repository owner deleted a comment from shuiwazi Sep 14, 2020
@q315523275
Copy link
Owner

@xiaolei2141576 源码发我邮箱,看一下

@xiaolei2141576
Copy link
Author

xiaolei2141576 commented Sep 15, 2020 via email

@xiaolei2141576
Copy link
Author

我的问题,在debug下会有 30ms左右,release下2-5ms的样子

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

No branches or pull requests

2 participants