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

sofa-server端耗时异常 #220

Open
scottzzq opened this issue Nov 29, 2017 · 0 comments
Open

sofa-server端耗时异常 #220

scottzzq opened this issue Nov 29, 2017 · 0 comments

Comments

@scottzzq
Copy link

使用sofa编写的server,有部分请求耗时长,尝试修改了一些sofa源码,在一些关键步骤加入了调试信息,详情如下:
1、2017-11-29 11:28:14.984941 +0800 384567 OnReceived, seqid:2225===============>在RpcServerImpl::OnReceived函数中, 调用CallMethod之前
2、I1129 11:28:14.985003 384567 table-server/src/node/sofa_node_server.cc:106] RpcCall Cost:0ms,====================>调用done->Run()之前
3、2017-11-29 11:28:15.047725 +0800 384567 OnCallMethodDone, seqid:2225, ============>在RpcServerImpl::OnCallMethodDone函数中开始时
4、2017-11-29 11:28:15.047799 +0800 384559 OnSendResponseDone, seqid:2225,=============>在RpcServerImpl::OnSendResponseDone函数结尾部分

想知道为什么第二步和第三步之前为什么间隔这么长时间? @qinzuoyan

@scottzzq scottzzq reopened this Nov 29, 2017
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

1 participant