UsherFall
UsherFall
Services like discord, telegram are not available directly in my country, so proxy setup is required for me. In telegram, I can use `SetClient` to set proxy, but how can...
关于task中push.go里的todo ```go //@todo when arg.ServerId server is down, user could be reconnect other serverId but msg in queue no consume task.pushSingleToConnect(arg.ServerId, arg.UserId, arg.Msg) ``` 因为在task里已经维护了关于connect层的serverId信息,那是不是只要做一个if判断就可以实现,也就是说如果当前serverId在task层里查找不到(服务失效)的话,就遍历task维护的connect层信息找到另一个有效的connect服务
发现Push消息到对应用户的时候用到了如题的两个结构,而Push消息到room中却没有用到,那么这两个结构的意义是啥呢?为什么Push消息到用户的时候不要像PushRoom那样比较直接地去调用connect层服务呢?刚刚接触web,问题傻的话还请见谅。。。
etcd服务发现
当有新的服务端上线后,其他服务端能把他添加到自己的一致性哈希Map中吗。看了下好像不能,如果要实现的话得咋操作。。。