{"id":322497,"date":"2021-02-05T12:54:24","date_gmt":"2021-02-05T04:54:24","guid":{"rendered":"http:\/\/4563.org\/?p=322497"},"modified":"2021-02-05T12:54:24","modified_gmt":"2021-02-05T04:54:24","slug":"%e5%ae%9e%e9%99%85%e5%b7%a5%e7%a8%8b%e4%b8%ad%e7%9a%84%e5%8d%81%e4%ba%bf%e6%9d%a1%e6%95%b0%e6%8d%ae%e5%ae%8c%e5%85%a8%e5%8c%b9%e9%85%8d%e6%9f%a5%e8%af%a2","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=322497","title":{"rendered":"\u5b9e\u9645\u5de5\u7a0b\u4e2d\u7684\u5341\u4ebf\u6761\u6570\u636e\u5b8c\u5168\u5339\u914d\u67e5\u8be2"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5b9e\u9645\u5de5\u7a0b\u4e2d\u7684\u5341\u4ebf\u6761\u6570\u636e\u5b8c\u5168\u5339\u914d\u67e5\u8be2               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : beryl <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4e5f\u7b97\u662f\u4e00\u9053\u5e38\u89c1\u7684\u7b97\u6cd5\u9898\uff1a\u6709\u5341\u4ebf\u6761 URL\uff0c\u6765\u4e86\u4e00\u4e2a\u65b0\u7684 URL \u5224\u65ad\u662f\u5426\u5728\u91cc\u9762\uff0c<strong>\u63d0\u4f9b\u5728\u7ebf\u670d\u52a1<\/strong><\/p>\n<p>\u4f46\u662f\u60f3\u7740\u4f18\u5148\u4f7f\u7528 mysql \u67e5\u8be2\uff0c\u5176\u6b21 ES, \u60f3\u5e03\u9686\u8fc7\u6ee4\u5668\u7b49\u4e0d\u9002\u5408\u5728\u5de5\u7a0b\u5e94\u7528\uff0c\u8981\u4fdd\u8bc1\u51c6\u786e <\/p>\n<p>\u73b0\u6709\u601d\u8def\uff0c\u5c06 url \u8fdb\u884c md5 \u5b58\u50a8\uff0c\u4f5c\u4e3a\u4e3b\u952e key \u5206\u8868\u653e\u5728\u6570\u636e\u5e93\u3002<\/p>\n<p>\u4f46\u662f\u4e0d\u6e05\u695a\u5177\u4f53\u8fd9\u79cd\u60c5\u51b5\u4e0b\u6548\u7387\u4f1a\u662f\u600e\u4e48\u6837<\/p>\n<\/p><\/div>\n<p><\/p>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>22<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5203055\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liprais <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3a\u5565 bloom \u8fc7\u6ee4\u5668\u4e0d\u884c?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203056\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jooooooooo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &#8220;\u5e03\u9686\u8fc7\u6ee4\u5668\u7b49\u4e0d\u9002\u5408\u5728\u5de5\u7a0b\u5e94\u7528&#8221; &#8220;\u8981\u4fdd\u8bc1\u51c6\u786e&#8221;<\/p>\n<p>\u6ca1\u6709\u7406\u89e3\u5e03\u9686\u7684\u7cbe\u9ad3\u554a                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203057\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rahuahua <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jooooooooo \u4e3b\u8fd9\u79cd\u60c5\u51b5\u786e\u5b9e\u4e0d\u9002\u5408 bloom \u5440                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203058\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lanmoyingsheng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e03\u9686\u8fc7\u6ee4\u53ef\u4ee5\u4fdd\u8bc1\u4e0d\u5b58\u5728\u3002<br \/>\u611f\u89c9\u5148\u5e03\u9686\u8fc7\u6ee4\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u76f4\u63a5\u8fd4\u56de\uff1b\u5982\u679c\u5b58\u5728 \u518d\u67e5 ES \u6216 mysql \uff1b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203059\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuxu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528 crc64 \u53ef\u4ee5\u5c0f\u4e00\u70b9\uff0cmd5 \u5f97 32 \u4f4d char \u505a\u7d22\u5f15\uff0c\u7136\u540e hash \u62c6\u5e93                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203060\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dongtingyue <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             es \u4e3a\u5565\u4e0d\u80fd\u4fdd\u8bc1\u51c6\u786e\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203061\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sampeng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bf7\u95ee\u2026\u7528\u6570\u636e\u5e93\uff0ces \u5b9e\u73b0\u4e86\u3002\u8fd8\u8003\u4e2a\u4ec0\u4e48\u7b97\u6cd5\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203062\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : herozzm <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @dongtingyue #6 es \u66f4\u65b0\u4e0d\u80fd\u53ca\u65f6\u4f53\u73b0\uff0c\u53ea\u80fd\u8bf4\u63a5\u8fd1\u5373\u65f6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203063\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liuzhaowei55 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u70ed\u6570\u636e\u653e\u7f13\u5b58\uff0ckey hash \u540e\u5206\u8868\uff0c\u6570\u636e\u5e93\u5982\u679c\u7528 mongo \u5355\u8868 2 \u4ebf\u6570\u636e\uff0c\u52a0\u4e2a\u7d22\u5f15\u5c31\u884c\u4e86\u57fa\u672c\u4e0d\u9700\u8981\u7279\u6b8a\u4f18\u5316\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203064\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : swulling <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u9700\u8981\u6570\u636e\u5e93\uff0c\u4f7f\u7528 Hash \u8868\u5c31\u53ef\u4ee5\u4e86\uff0c\u5148\u505a Hash\uff0c\u7136\u540e\u8fdb\u884c\u53d6\u6a21 Mod N\uff0c\u5206\u5e03\u5230 N \u4e2a Hash \u8868\u91cc\u3002<\/p>\n<p>\u4f30\u8ba1\u9700\u8981 3 \u53f0 128G \u5185\u5b58\u7684\u7269\u7406\u673a\u5c31\u8db3\u591f\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203065\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tisswb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             url \u7684\u8bdd \u90a3\u5c31\u5148\u683c\u5f0f\u5316\uff0c\u7136\u540e md5\uff0c\u7136\u540e redis                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203066\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fengpan567 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ES \u4e3a\u5565\u4e0d\u80fd\u4fdd\u8bc1\u51c6\u786e\u6027\uff1f\u66f4\u65b0\u5ef6\u8fdf\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203067\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : love <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             md5 \u592a\u5927\u4e86\uff0c64 \u4f4d hash \u7b97\u6cd5\u5982 xxhash \u8db3\u591f,hash \u52a0\u4e2a\u7d22\u5f15 where hash = ? and url = ?\u5c31\u884c\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203068\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : THESDZ <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u62c6\u5206 \u6a21\u62df\u6811\u7ed3\u6784\u5c31\u597d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203069\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : aeli <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             10 \u4ebf url\uff0c\u505a\u6210\u77ed\u94fe\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203070\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lambdaq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5148\u7533\u8bf7 10 \u4e07\u53f0\u670d\u52a1\u5668\uff0c\u6bcf\u4e2a\u670d\u52a1\u5668\u5b58 1 \u4e07\u6761\u6570\u636e\u3002\u8fd9\u6837\u662f\u4e0d\u662f\u5c31\u7b80\u5355\u4e86\u30022333                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203071\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : chenqh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u611f\u89c9\u53ef\u4ee5 md5 hash,\u8981\u662f\u89c9\u5f97\u957f\uff0c \u53ef\u4ee5\u53ea\u5b58\u524d 16 \u4f4d\u5440                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203072\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wangdashuai <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u6784\u9020\u524d\u7f00\u6811,\u8fd9\u6837\u53ef\u4ee5\u538b\u7f29\u6570\u636e\u5927\u5c0f.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203073\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wangdashuai \u538b\u7f29\u524d\u7f00\u6811\u9762\u5bf9\u5341\u4ebf\u8fd9\u4e2a\u91cf\u7ea7\u8fd8\u662f\u4e0d\u591f\u7528\u7684\u3002\u6211\u4e4b\u524d\u8bd5\u8fc7\u3002<\/p>\n<p>\u4e3b\u8fd9\u4e2a\u9700\u6c42\uff0c\u5982\u679c\u53ea\u662f\u5224\u65ad\u662f\u5426\u5728\u91cc\u9762\uff0c\u5e03\u9686\u8fc7\u6ee4\u5668\u5c31\u591f\u4e86\u3002\u5341\u4ebf\u6570\u636e\uff0c\u6839\u636e\u6700\u4f18\u6982\u7387\u516c\u5f0f\u7b97\u51fa\u6765\uff0c\u9519\u8bef\u7387\u63a7\u5236\u5728\u4e07\u5206\u4e4b\u4e00\u5de6\u53f3\uff0c\u6211\u8bb0\u5f97\u4e5f\u5c31\u4e00\u4e2a\u591a GB \u3002<\/p>\n<p>\u4e00\u4efd\u4e4b\u524d\u7528\u8fc7\u7684 Python \u4ee3\u7801\u8d34\u51fa\u6765\u4ee5\u4f9b\u53c2\u8003\uff1a<\/p>\n<p>https:\/\/gist.github.com\/abersheeran\/210f5c1a6f36721302f755e39a242e50 <button onclick=\"lazyGist(this)\">\u00a0\u663e\u793a Gist \u4ee3\u7801\u00a0<\/button> <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203074\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : abersheeran <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @abersheeran \u5982\u679c\u8981\u7cbe\u51c6\u5224\u65ad\uff0c\u8fd9\u91cc\u5c31\u9700\u8981\u4e0a\u4e00\u4e2a kv \u7d22\u5f15\u4e86\u3002\u8fd9\u4e2a\u53c2\u8003\u4e00\u4e0b HBase \u4e4b\u7c7b\u7684\u6570\u636e\u5e93\u505a\u6cd5\u5c31\u884c\uff0c\u4e5f\u6ca1\u5565\u522b\u7684\u597d\u529e\u6cd5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203075\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Lemeng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             10 \u4ebf\u6761\uff0c\u7adf\u7136 url                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5203076\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : luozic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Cuckoo Filter \u4e86\u89e3\u4e00\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5b9e\u9645\u5de5\u7a0b\u4e2d\u7684\u5341\u4ebf\u6761\u6570\u636e\u5b8c\u5168\u5339\u914d\u67e5\u8be2&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\/322497"}],"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=322497"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/322497\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=322497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=322497"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=322497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}