-
Notifications
You must be signed in to change notification settings - Fork 12
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
发现两个问题 #2
Comments
修复中 |
问题1:修改配置文件中worker_num数量为2或者2的倍数可以解决 |
问题2:目前没有发现具体原因,但是可以确定跟swoole本身的包机制没有关系。现在可以确定的是单个包大小不能超过64KB,可能跟gRPC底层的实现有关联,还需进一步确认 |
跟我测试的结果类似,当包过大时,swoole server 这边并没有收到 request,也没有触发 request 事件。而 grpc 客户端一直 waiting。 单侧了下 swoole http server,大几倍的包,都是没问题的。 |
问题2,还继续在排查么,还是暂时搁置呢? |
最近暂时没空处理,不过根据之前的经验来看,grpc自带C底层封装的http2协议跟标准的http2协议也是有出入的,可能问题出现在这些地方,如果要修改的话需要修改http2底层。你可以试试用swoole的http2客户端来发送grpc请求
2018-03-01 15:46 GMT+08:00 rapkey <[email protected]>:
… 问题2,还继续在排查么,还是暂时搁置呢?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFbO5XcViI5yTmqOOCnJKCD0q-omIy6-ks5tZ6dEgaJpZM4SWd5m>
.
|
最新版的 swoole 或许可以? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: