{"action":"created","issue":{"url":"https://api.github.com/repos/CodisLabs/codis/issues/905","repository_url":"https://api.github.com/repos/CodisLabs/codis","labels_url":"https://api.github.com/repos/CodisLabs/codis/issues/905/labels{/name}","comments_url":"https://api.github.com/repos/CodisLabs/codis/issues/905/comments","events_url":"https://api.github.com/repos/CodisLabs/codis/issues/905/events","html_url":"https://github.com/CodisLabs/codis/issues/905","id":167004146,"number":905,"title":"proxy codis-server之间连接池的疑问","user":{"login":"bigpyer","id":8213772,"avatar_url":"https://avatars.githubusercontent.com/u/8213772?v=3","gravatar_id":"","url":"https://api.github.com/users/bigpyer","html_url":"https://github.com/bigpyer","followers_url":"https://api.github.com/users/bigpyer/followers","following_url":"https://api.github.com/users/bigpyer/following{/other_user}","gists_url":"https://api.github.com/users/bigpyer/gists{/gist_id}","starred_url":"https://api.github.com/users/bigpyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigpyer/subscriptions","organizations_url":"https://api.github.com/users/bigpyer/orgs","repos_url":"https://api.github.com/users/bigpyer/repos","events_url":"https://api.github.com/users/bigpyer/events{/privacy}","received_events_url":"https://api.github.com/users/bigpyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-22T09:18:30Z","updated_at":"2016-07-22T09:22:50Z","closed_at":null,"body":"我的疑问:\r\ncodis-proxy codis-server之间没有建立连接池?\r\n我的依据:\r\nhttps://github.com/CodisLabs/codis/blob/release3.0/pkg/proxy/router/backend.go#L102\r\n如果是这样，为什么这么设计？"},"comment":{"url":"https://api.github.com/repos/CodisLabs/codis/issues/comments/234496936","html_url":"https://github.com/CodisLabs/codis/issues/905#issuecomment-234496936","issue_url":"https://api.github.com/repos/CodisLabs/codis/issues/905","id":234496936,"user":{"login":"spinlock","id":722853,"avatar_url":"https://avatars.githubusercontent.com/u/722853?v=3","gravatar_id":"","url":"https://api.github.com/users/spinlock","html_url":"https://github.com/spinlock","followers_url":"https://api.github.com/users/spinlock/followers","following_url":"https://api.github.com/users/spinlock/following{/other_user}","gists_url":"https://api.github.com/users/spinlock/gists{/gist_id}","starred_url":"https://api.github.com/users/spinlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinlock/subscriptions","organizations_url":"https://api.github.com/users/spinlock/orgs","repos_url":"https://api.github.com/users/spinlock/repos","events_url":"https://api.github.com/users/spinlock/events{/privacy}","received_events_url":"https://api.github.com/users/spinlock/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T09:22:50Z","updated_at":"2016-07-22T09:22:50Z","body":"proxy 和 server 之间是单连接 & pipeline 的过程。\r\n\r\n1. pipeline 性能足够好了\r\n2. 单连接能保证顺序，如果是连接池，会导致设计上复杂很多\r\n    + 保证同一 client 下的同一 slot 的请求有序变得很困难\r\n    + 性能收益不明显"}}
{"actor":{"display_login":"spinlock"}}