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

如何实现集群(Cluster)及数据库访问? #40

Open
nihao2015 opened this issue Mar 13, 2017 · 3 comments
Open

如何实现集群(Cluster)及数据库访问? #40

nihao2015 opened this issue Mar 13, 2017 · 3 comments

Comments

@nihao2015
Copy link

1、比如游戏并发访问比较高时,需要部署一个Login及多台Gate和Game模块,如何实现?
不同的用户登录到了不同的服务器,是否可实现广播消息?

2、游戏本身的数据保存到mysql,而不是mongodb, 需要如何扩展?

@Tsiannian
Copy link

1.服务器之间可以通过代理,队列,数据库,rpc等方式进行交互来实现集群特性。
2.数据的存储方式和存储时机和框架本身是无关的,直接调用mysql就行。

@chiuan
Copy link

chiuan commented Mar 17, 2017

@Tsiannian
关于第二点,应该还是有关系的吧?可以一个module专门做存储,例如异步队列。改变通知入列等。

@3dseals
Copy link

3dseals commented Nov 20, 2020

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

4 participants