{"id":428727,"date":"2021-04-18T07:23:03","date_gmt":"2021-04-17T23:23:03","guid":{"rendered":"http:\/\/4563.org\/?p=428727"},"modified":"2021-04-18T07:23:03","modified_gmt":"2021-04-17T23:23:03","slug":"%e8%af%b7%e9%97%ae-wrk-%e9%87%8c%e7%9a%84%e8%bf%99%e4%b8%aa%e6%8c%87%e6%a0%870%ef%bc%8c-%e5%a6%82%e4%bd%95%e6%8e%92%e6%9f%a5%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=428727","title":{"rendered":"\u8bf7\u95ee wrk \u91cc\u7684\u8fd9\u4e2a\u6307\u6807&gt;0\uff0c \u5982\u4f55\u6392\u67e5\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u95ee wrk \u91cc\u7684\u8fd9\u4e2a\u6307\u6807&gt;0\uff0c \u5982\u4f55\u6392\u67e5\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Joker123456789 <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u7528 AIO \u505a\u4e86\u4e2a http \u670d\u52a1\uff0cwrk \u7684\u6d4b\u8bd5\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<pre><code>Running 30s test @  http:\/\/127.0.0.1:8088\/demo   12 threads and 400 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency   49.32ms  165.75ms   1.90s    86.66%     Req\/Sec    47.06     30.91   393.00     82.89%   Latency Distribution      50%  218.31ms      75%  520.60ms      90%  955.08ms      99%    1.93s    4922 requests in 30.06s, 73.86MB read   Socket errors: connect 0, read 7058, write 0, timeout 0 Requests\/sec:    13478.92 Transfer\/sec:      2.46MB <\/code><\/pre>\n<p>\u4ece\u7ed3\u679c\u4e2d\u53ef\u4ee5\u770b\u51fa\uff0c\u51fa\u73b0\u4e86 Socket errors\uff0cread \u6570\u91cf\u4e3a 7058\uff0c\u7279\u522b\u9ad8\u3002 \u4f46\u662f\u7a0b\u5e8f\u4e00\u70b9\u5f02\u5e38\u90fd\u6ca1\u62a5\uff0c\u771f\u7684\u4e00\u5934\u96fe\u6c34\u3002<\/p>\n<p>\u6709\u6ca1\u6709\u5927\u795e\u53ef\u4ee5\u6307\u70b9\u4e00\u4e0b\uff0c\u53ef\u4ee5\u4ece\u54ea\u7740\u624b\u53bb\u6392\u67e5\u95ee\u9898\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5679260\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Nillouise <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528 wrk \u7684\u6d4b\u8bd5\u7684\u540c\u65f6\uff0c\u53d1\u4e2a postman \u8bf7\u6c42\u6216\u8005 chrome \u8bf7\u6c42\u4e0d\u5c31\u77e5\u9053\u4e86\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679261\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Joker123456789 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Nillouise \u95ee\u9898\u5c31\u662f\u4e00\u70b9\u5f02\u5e38\u90fd\u6ca1\u3002 \u53d1\u4e86\u4e5f\u4e0d\u62a5\u9519\uff0c\u80fd\u6b63\u5e38\u8fd4\u56de\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679262\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Nillouise <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Joker123456789 \u4f60\u5728 postman \u91cc\u770b\u6709\u4ec0\u4e48\u95ee\u9898\u5440\uff0c\u4e0d\u7136\u5c31\u662f wrk \u51fa bug \u4e86\u5457                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679263\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nazor <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u662f\u4e0d\u662f\u8bf7\u6c42\u6ca1\u6709\u8fd4\u56de Connection: close                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679264\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : InternetExplorer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             socket error \u5e94\u8be5\u662f tcp \u5c42\u7684\u9519\u8bef\u5427\uff0c\u8fde\u63a5\u5173\u95ed\u4ec0\u4e48\u7684\uff0c\u628a\u8fde\u63a5\u6570\u8c03\u4f4e\u70b9\u53ef\u80fd\u5c31\u597d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5679265\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : Joker123456789 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nazor \u5927\u8001\u5389\u5bb3\uff0c\u679c\u7136\u662f\u8fd9\u4e2a\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u95ee wrk \u91cc\u7684\u8fd9\u4e2a\u6307\u6807&gt;&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\/428727"}],"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=428727"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/428727\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=428727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=428727"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=428727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}