-
客户端连接4w以上,消息每秒就40条,job 报一下错误:
[2016/12/19 16:45:12 CST] [EROR] [main.roomsComet:212] c.Call(PushRPC.Rooms, args, reply) error(rpc is not available)
[2016/12/19 16:45:18 CST] [EROR] [goim/libs/net/xr…
-
封装自己的 Timer 实现.
-
rt
-
docker启动比较方便
-
[10/25/16 22:52:41] [INFO] init comet rpc: [{tcp 127.0.0.1:8092}]
[10/25/16 22:52:41] [INFO] start topic:KafkaPushsTopic consumer
[10/25/16 22:52:41] [INFO] consumer group name:kafka_topic_push_group
…
-
Trunk code does not compile correctly. Some libs import path should add "github.com" prefix.
such as:
https://github.com/Terry-Mao/goim/blob/master/comet/rpc.go
import (
inet "goim/libs/net" // i…
-
请问这个不更新了吗?
sonwa updated
8 years ago
-
[love your work!]
still researching the cause... might be related to the fact that this episode was 'corrected'
in file 142.shtml, after parsing, only 6 lines of data appears
`select * from sentence…
luzer updated
8 years ago
-
现在使用comet下的client客户端测试连接, 使用tcp 协议连接服务器,跑完以后,程序退出, 报错误如下:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x40a47e]
goroutine 33203 [running]:…
-
Hi,毛大。最近在用data race detector测试goim,发现几处warning。我还没来得及研究各个warning会对业务产生什么影响,先发个issue引起大家注意。
贴一个comet里的报警,每个客户端连接会有两个goroutine处理消息,两个goroutine都会用到ch.CliProto,而该Ring结构里提供的方法里并没有加锁,导致data race:
![image](h…