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

游戏服务器的配置修改以后,是怎么热更新的呢? #1

Open
ghost opened this issue Nov 15, 2017 · 10 comments
Open

游戏服务器的配置修改以后,是怎么热更新的呢? #1

ghost opened this issue Nov 15, 2017 · 10 comments
Labels

Comments

@ghost
Copy link

ghost commented Nov 15, 2017

No description provided.

@ipengyo
Copy link

ipengyo commented Nov 15, 2017

同问、

@jzyong
Copy link
Owner

jzyong commented Nov 15, 2017

通过监控web服务器发http消息调用接口重新加载

@ipengyo
Copy link

ipengyo commented Nov 15, 2017

哦哦 重新 reload 一下配置,我也想过这个问题,但是考虑到这个http请求怕是会有丢失的可能哦。

@jzyong
Copy link
Owner

jzyong commented Nov 15, 2017

http请求后会有返回加载是否成功,如果丢包重新加载一次就好,丢失的问题极小,而且配置也不是经常更新

@ipengyo
Copy link

ipengyo commented Nov 15, 2017

嗯嗯 好的 谢谢老大解答!!

@ghost
Copy link
Author

ghost commented Nov 15, 2017

@jzyong
gameserver 是通过zookeeper注册的吗?

@ghost
Copy link
Author

ghost commented Nov 15, 2017

zookeeper 在项目中是什么作用

@jzyong
Copy link
Owner

jzyong commented Nov 15, 2017

不是通过zookeeper注册的,自己实现类似zookeeper的功能,zookeeper现在还没使用

@ipengyo
Copy link

ipengyo commented Nov 15, 2017

楼主能简单叙述一下原理以及实现过程吗,我最近也要做一个类似的东西。想参考一下大神的意见。

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

No branches or pull requests

2 participants