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

hello, #1

Open
yaoqiang opened this issue May 9, 2016 · 3 comments
Open

hello, #1

yaoqiang opened this issue May 9, 2016 · 3 comments

Comments

@yaoqiang
Copy link

yaoqiang commented May 9, 2016

我一直使用pomelo1.x.x,也一直保持最新版本。
游戏上线后,pomelo-rpc这块总会出莫名其妙的问题,还引起过一次服务彻底down掉。
在社区看到过你之前发的帖子,问题类似,运行几天后,
会发生一个莫名的: rpc disconnect,reason: undefined,然后后续的所有rpc都挂了。。
connector是正常的,情急之下我也没有查看pomelo的服务状态,直接就重启了。
看到你帖子,最后是换了node版本。。我一直用的是node v4.x。。

又恰巧看到你这个库,是会比官方的稳定吗?急求回复。。。谢谢!

@roytan883
Copy link
Owner

个人觉得官方的通信层都是不稳定的。
我们已经重写了RPC和客户端通信层。这个库是我们用来替换官方RPC的,目前用着挺稳定的。

@roytan883
Copy link
Owner

你也可以尝试使用https://github.com/roytan883/pomelo-rt
我对pomelo的优化版本,重点就是解决服务器之间通信问题。自带使用的就是pomelo-rpc-ws库。目前我们公司的pomelo全部切换到pomelo-rt了,用了2个多月了大概,没问题。

@yaoqiang
Copy link
Author

非常感谢您的回复,我也已经切到pomelo-rt版本近一个月了,跑的很畅快!

在 2016年5月31日 下午12:08,roytan883 [email protected]写道:

个人觉得官方的通信层都是不稳定的。
我们已经重写了RPC和客户端通信层。这个库是我们用来替换官方RPC的,目前用着挺稳定的。


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAH3v944_26oSXXo85w2laBQvVBHj6lKks5qG7RBgaJpZM4IaAUp
.

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