Go 有用 nsq 做游戏 message server 的例子吗

dumbcoder · July 06, 2014 · 9125 hits

有用 nsq 做游戏 message server 的例子吗,nsq 做大并发时候,容易做到超低 end-to-server-to-end 的延迟吗 (比如做 online FPS 那种游戏需要的,稳定在 50ms 一下的 E2S2E 延迟).

粗略扫了一眼 http://nsq.io/ client 是保持一个 TCP 长连接连到 server nsqd 端的 只要按照下面的 spec 实现就行 http://nsq.io/clients/tcp_protocol_spec.html

看文档,client 从 server nsqd 端读 message 的时候,message 是走的 TCP 长连接上的 nsq 自己的协议。 client 往 server nsqd 端写 message 的时候,也是走的 TCP 长连接上的 nsq 自己的协议?还是一定得用 HTTP POST 到 nsqd 上?

另外,好像没看到有很流行的开源 Go gaming sever 框架呢? 只搜索到一个 Gonet: https://github.com/xtaci/gonet 有像网易的 Node.js pomelo 一样完整的框架吗? http://pomelo.netease.com/

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.