We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@jzyong 大神你好,简单的看了一下代码,发现 大厅进程 与 游戏逻辑进程 都会同时持有玩家同一个字段的数据 比如 金币 在内存中 那么 这样区分 如何做到 2个同步一致性呢,比如 在大厅获取了金币 处理充值 等等其他的事情,而 游戏逻辑是不知道的。
The text was updated successfully, but these errors were encountered:
数据存redis,数据在一个服务器处理然后通知另外一个服务器,或者加分布式锁
Sorry, something went wrong.
No branches or pull requests
@jzyong 大神你好,简单的看了一下代码,发现 大厅进程 与 游戏逻辑进程 都会同时持有玩家同一个字段的数据 比如 金币 在内存中 那么 这样区分 如何做到 2个同步一致性呢,比如 在大厅获取了金币 处理充值 等等其他的事情,而 游戏逻辑是不知道的。
The text was updated successfully, but these errors were encountered: