{"id":210441,"date":"2020-11-30T01:39:40","date_gmt":"2020-11-29T17:39:40","guid":{"rendered":"http:\/\/4563.org\/?p=210441"},"modified":"2020-11-30T01:39:40","modified_gmt":"2020-11-29T17:39:40","slug":"%e4%b8%8d%e6%87%82%e5%b0%b1%e9%97%ae-%e4%ba%a4%e6%98%93%e6%89%80%e7%9a%84-k-%e7%ba%bf%e6%98%af%e6%80%8e%e4%b9%88%e5%81%9a%e5%88%b0%e5%ae%9e%e6%97%b6%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=210441","title":{"rendered":"\u4e0d\u61c2\u5c31\u95ee \u4ea4\u6613\u6240\u7684 k \u7ebf\u662f\u600e\u4e48\u505a\u5230\u5b9e\u65f6\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e0d\u61c2\u5c31\u95ee \u4ea4\u6613\u6240\u7684 k \u7ebf\u662f\u600e\u4e48\u505a\u5230\u5b9e\u65f6\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qdzzyb <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u73b0\u5728\u6709\u4e2a\u7c7b\u4f3c k \u7ebf\u7684\u9700\u6c42 \u6709\u70b9\u4e0d\u77e5\u9053\u4ece\u4f55\u4e0b\u624b \u6570\u636e\u90fd\u5728 mysql<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>14<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4365479\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : libasten <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76d1\u542c\u6570\u636e\u5199\u5165 mysql \u7684\u4e8b\u4ef6\uff1f\u89e6\u53d1\u4e86\u5c31\u7ed8\u5236\u4e00\u4e0b\u7ebf\u56fe\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365480\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : VVVV7 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             websockect \u957f\u8fde\u63a5\u80fd\u505a\u5230 \u670d\u52a1\u7aef\u4e3b\u52a8\u63a8\u9001\u5230\u7f51\u9875\u4e0a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365481\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : toma77 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             websocket                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365482\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : checkzhzzzzz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             redis+websocket                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365483\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : newbieRenew <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u7528 Server-Sent Events                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365484\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tairan2006 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             binlog \u89e3\u6790\uff0c\u7136\u540e\u957f\u8fde\u63a5\u63a8\u9001                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365485\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hronro <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u5e94\u8be5\u628a\u4f60\u7684\u9700\u6c42\u5177\u4f53\u63cf\u8ff0\u51fa\u6765\uff0c\u6bd4\u5982\u4f60\u5e0c\u671b\u77e5\u9053\u662f\u524d\u7aef\u90e8\u5206\u4f55\u5982\u5b9e\u73b0\u8fd8\u662f\u540e\u7aef\u90e8\u5206\u5982\u4f55\u5b9e\u73b0\uff1f<br \/>\u8fd8\u6709\u4f60\u7684\u6570\u636e\u91cf\u6709\u591a\u5927\uff0c\u6570\u636e\u5e93\u67e5\u8be2\u9700\u8981\u82b1\u591a\u4e45\uff1f<\/p>\n<p>\u5982\u679c\u6570\u636e\u91cf\u5f88\u5c0f\u7684\u8bdd\uff0c\u5f88\u597d\u5b9e\u73b0\uff0c\u76f4\u63a5\u524d\u7aef\u6bcf\u9694 1s \u8f6e\u8be2\u4e00\u6b21\u63a5\u53e3\u5c31\u884c\u4e86\u3002<br \/>\u5982\u679c\u6570\u636e\u91cf\u5f88\u5927\uff0c\u6bcf\u6b21\u67e5\u8be2\u6570\u636e\u5e93\u9700\u8981\u82b1\u8d39\u51e0\u5341\u79d2\u751a\u81f3\u66f4\u591a\u7684\u8bdd\uff0c\u90a3\u5c31\u8981\u4e0a\u4e00\u5957\u66f4\u590d\u6742\u7684\u65b9\u6848\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365486\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : qdzzyb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hronro \u611f\u8c22 \u6211\u5e94\u8be5\u8bf4\u8be6\u7ec6\u4e00\u70b9\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365487\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hehe12980 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6b63\u5e38\u7684\u4ea4\u6613\u6240\u90fd\u662f \u524d\u7aef\u7528 node.js \u5bf9\u63a5 redis \u91c7\u7528\u6d88\u606f\u8ba2\u9605\u6a21\u5f0f \u518d\u52a0 websocket \u5982\u679c\u76f4\u63a5\u540e\u53f0 \u63a8\u7684\u8bdd \u6570\u636e\u91cf\u5927 \u5360\u7528\u5e26\u5bbd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365488\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shm7 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u662f\u4e00\u4e2a\u79bb\u6563\u7edf\u8ba1\u8868\u793a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365489\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hellsnow <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             sse                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365490\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jones2000 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             tcp \u6216 ws \u957f\u8fde\u63a5\u8ba2\u9605\u63a8\u9001\uff0c \u6570\u636e\u5b58\u5185\u5b58\uff0c1 \u53f0\u673a\u5668\u6709\u538b\u529b\uff0c \u5c31\u7531\u4e3b\u6570\u636e\u670d\u52a1\u5668\u63a8\u9001\u5230 2 \u7ea7\u6570\u636e\u670d\u52a1\u5668\uff0c\u7531 2 \u7ea7\u6570\u636e\u670d\u52a1\u5668\u63a8\u9001\u7ed9\u5ba2\u6237\u7aef\u3002 \u7528\u6237\u591a\u4e86\uff0c\u591a\u90e8\u7f72\u51e0\u53f0 2 \u7ea7\u6570\u636e\u670d\u52a1\u5668\u5c31\u53ef\u4ee5\uff0c \u4e00\u822c\u5b9e\u65f6\u884c\u60c5\u7cfb\u7edf\u4e0d\u4ece mysql \u6216 redis \u91cc\u9762\u53d6\uff0c\u6162\u6162\u6162\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365491\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : black11black <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @libasten \u5dee\u592a\u8fdc\u4e86\u5144\u5f1f\uff0c\u5173\u7cfb\u578b\u6570\u636e\u5e93\u9996\u5148\u9876\u4e0d\u4f4f\u8fd9\u79cd\u538b\u529b\uff0c\u8fd8\u52a0\u4e8b\u52a1\u66f4\u9876\u4e0d\u4f4f\u4e86\u3002\u3002\u5927\u5238\u5546\u6bcf\u5929 9 \u70b9\u534a QPS \u53ef\u80fd\u4e24\u4e09\u767e\u4e07\uff0cmysql+\u4e8b\u52a1\u4f30\u8ba1\u80fd\u540c\u65f6\u8d1f\u8f7d 20-30 \u4eba\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4365492\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nl101531 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u79cd\u90fd\u65f6\u5e8f\u6570\u636e\u5e93\uff0c\u80cc\u540e\u6709\u5b9e\u65f6\u964d\u91c7\u6837\u805a\u5408\uff0c\u6570\u636e\u7b97\u7684\u5f88\u5feb\u3002\u524d\u7aef\u548c\u540e\u7aef\u5c31 ws \u5b9e\u65f6\u63a8\u9001                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0d\u61c2\u5c31\u95ee \u4ea4\u6613\u6240\u7684 k \u7ebf\u662f\u600e\u4e48\u505a&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/210441"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=210441"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/210441\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=210441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=210441"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=210441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}