{"action":"created","issue":{"url":"https://api.github.com/repos/tnie/YDData2/issues/251","repository_url":"https://api.github.com/repos/tnie/YDData2","labels_url":"https://api.github.com/repos/tnie/YDData2/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/tnie/YDData2/issues/251/comments","events_url":"https://api.github.com/repos/tnie/YDData2/issues/251/events","html_url":"https://github.com/tnie/YDData2/issues/251","id":387602116,"node_id":"MDU6SXNzdWUzODc2MDIxMTY=","number":251,"title":"服务端消费能力不足","user":{"login":"tnie","id":5952845,"node_id":"MDQ6VXNlcjU5NTI4NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5952845?v=4","gravatar_id":"","url":"https://api.github.com/users/tnie","html_url":"https://github.com/tnie","followers_url":"https://api.github.com/users/tnie/followers","following_url":"https://api.github.com/users/tnie/following{/other_user}","gists_url":"https://api.github.com/users/tnie/gists{/gist_id}","starred_url":"https://api.github.com/users/tnie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnie/subscriptions","organizations_url":"https://api.github.com/users/tnie/orgs","repos_url":"https://api.github.com/users/tnie/repos","events_url":"https://api.github.com/users/tnie/events{/privacy}","received_events_url":"https://api.github.com/users/tnie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-05T05:43:19Z","updated_at":"2018-12-05T05:47:08Z","closed_at":null,"author_association":"OWNER","body":"通过 guxj 开发的 loadData 项目，测试发现：同一连接，**连续发送** 50+ 的「获取数据」请求会出现**任务“消失”现象**\r\n- 通过完善日志，确认任务全部发送成功，服务端无任何内容返回（NOT qid without data ）。\r\n- 猜测服务端为每个 client connection 维护的缓存队列很小，消费不及时有任务会被丢弃。\r\n- 从「发送 `1~2~3~... ~27~28~...~49~50`，会出现接收 `1~2~3~...~30~49~50` 」的结果来看，猜测服务端使用的循环队列。"},"comment":{"url":"https://api.github.com/repos/tnie/YDData2/issues/comments/444366844","html_url":"https://github.com/tnie/YDData2/issues/251#issuecomment-444366844","issue_url":"https://api.github.com/repos/tnie/YDData2/issues/251","id":444366844,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDM2Njg0NA==","user":{"login":"tnie","id":5952845,"node_id":"MDQ6VXNlcjU5NTI4NDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5952845?v=4","gravatar_id":"","url":"https://api.github.com/users/tnie","html_url":"https://github.com/tnie","followers_url":"https://api.github.com/users/tnie/followers","following_url":"https://api.github.com/users/tnie/following{/other_user}","gists_url":"https://api.github.com/users/tnie/gists{/gist_id}","starred_url":"https://api.github.com/users/tnie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnie/subscriptions","organizations_url":"https://api.github.com/users/tnie/orgs","repos_url":"https://api.github.com/users/tnie/repos","events_url":"https://api.github.com/users/tnie/events{/privacy}","received_events_url":"https://api.github.com/users/tnie/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T05:47:08Z","updated_at":"2018-12-05T05:47:08Z","author_association":"OWNER","body":"改进方向：\r\n1. 相邻两次发送增加延迟，或连续发送 N 此请求后增加延迟（需要试验 N 和延迟时长的关系）\r\n2. 维护已请求任务列表，并标记数据是否返回。在所有请求发送完毕并合理等待之后，针对未返回的请求再次请求。"}}
{"actor":{"display_login":"tnie"}}