{"action":"closed","issue":{"url":"https://api.github.com/repos/Terry-Mao/goim/issues/33","labels_url":"https://api.github.com/repos/Terry-Mao/goim/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Terry-Mao/goim/issues/33/comments","events_url":"https://api.github.com/repos/Terry-Mao/goim/issues/33/events","html_url":"https://github.com/Terry-Mao/goim/issues/33","id":110579467,"number":33,"title":"对于router服务存在的疑问","user":{"login":"qinlodestar","id":12521847,"avatar_url":"https://avatars.githubusercontent.com/u/12521847?v=3","gravatar_id":"","url":"https://api.github.com/users/qinlodestar","html_url":"https://github.com/qinlodestar","followers_url":"https://api.github.com/users/qinlodestar/followers","following_url":"https://api.github.com/users/qinlodestar/following{/other_user}","gists_url":"https://api.github.com/users/qinlodestar/gists{/gist_id}","starred_url":"https://api.github.com/users/qinlodestar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qinlodestar/subscriptions","organizations_url":"https://api.github.com/users/qinlodestar/orgs","repos_url":"https://api.github.com/users/qinlodestar/repos","events_url":"https://api.github.com/users/qinlodestar/events{/privacy}","received_events_url":"https://api.github.com/users/qinlodestar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-10-09T03:05:30Z","updated_at":"2015-11-12T06:21:53Z","closed_at":"2015-11-12T06:21:53Z","body":"1.router服务存在是为了存储userId和serverId的对应关系，为什么不把router换成memcache或者redis？logic服务就没有必要在写一致性hash的相关算法了\r\n2.就算是按照目前这种框架，在长连接的时候，comet->logic->router,而不直接comet->router，当然这样会存在一致性的问题"}}