游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3017|回复: 0

游戏逻辑服务器一般要配置多少个呢

[复制链接]

1

主题

3

帖子

13

积分

新手上路

Rank: 1

积分
13
发表于 2013-8-27 18:21:33 | 显示全部楼层 |阅读模式
有人知道,游戏逻辑服务器一般要配置多少个呢,我看默认配置只有一个game1.
游戏逻辑server里面读取DB/memcache的处理都是同步的吧?实际运用中是不是要配置很多个游戏逻辑server啊。

"servers":{
"gate":{"rootport":10000,"name":"gate","db":true,"app":"app.gateserver","log":"app/logs/gate.log"},
"dbfront":{"name":"dbfront","db":true,"mem":true,"app":"app.dbfrontserver","log":"app/logs/dbfront.log"},
"net":{"netport":11009,"name":"net","remoteport":[{"rootport":10000,"rootname":"gate"}],"app":"app.netserver","log":"app/logs/net.log"},
"game1":{"remoteport":[{"rootport":10000,"rootname":"gate"}],
         "name":"game1","db":true,"mem":true,"app":"app.gameserver","reload":"app.game.doreload","log":"app/logs/game1.log"}
},
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2024-4-19 16:20

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表