Skip to content

skynet.call内部消息延迟定位求助 #1724

Closed Answered by gjy1606
gjy1606 asked this question in Q&A
Discussion options

You must be logged in to vote

开了大部分的 trace ,最终把问题定位在 skynet.pack 上了,然后找到了根源,每次返回调用地址的时候,都返回了 accountList ,缓存了所有登录过的账号信息,最大可能有几十万,所以 pack 的耗时不断的增长,只是很缓慢,review 代码的时候也一直忽略了过去。

Replies: 6 comments 19 replies

Comment options

You must be logged in to vote
8 replies
@cloudwu
Comment options

@gjy1606
Comment options

@hanxi
Comment options

@hanxi
Comment options

@gjy1606
Comment options

Comment options

You must be logged in to vote
4 replies
@gjy1606
Comment options

@terry8210
Comment options

@sniper00
Comment options

@gjy1606
Comment options

Comment options

You must be logged in to vote
3 replies
@gjy1606
Comment options

@lmess
Comment options

@gjy1606
Comment options

Comment options

You must be logged in to vote
3 replies
@terry8210
Comment options

@gjy1606
Comment options

@ylme
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by gjy1606
Comment options

You must be logged in to vote
1 reply
@gjy1606
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants