{"id":4094,"date":"2018-09-20T19:50:29","date_gmt":"2018-09-20T11:50:29","guid":{"rendered":"https:\/\/ixyzero.com\/blog\/?p=4094"},"modified":"2018-09-20T19:50:29","modified_gmt":"2018-09-20T11:50:29","slug":"bloom%e8%bf%87%e6%bb%a4%e5%99%a8%e5%ad%a6%e4%b9%a0%e5%92%8c%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/4094.html","title":{"rendered":"Bloom\u8fc7\u6ee4\u5668\u5b66\u4e60\u548c\u4f7f\u7528"},"content":{"rendered":"<p>=Start=<\/p>\n<h4 id=\"id-\u6a21\u677f-\u7f18\u7531\uff1a\">\u7f18\u7531\uff1a<\/h4>\n<p>\u5bf9\u6211\u6765\u8bf4\uff0c\u5728\u65e0\u4e8b\u53ef\u505a\u7684\u65f6\u5019\u5b66\u4e00\u4e9b\u4e1c\u897f\u662f\u6253\u53d1\u65f6\u95f4\u7684\u6700\u4f73\u65b9\u5f0f\u3002\u800c\u4e14\u8fd9\u4e2a\u4e1c\u897f\u53ef\u80fd\u8fd8\u6709\u4e9b\u5b9e\u9645\u7528\u5904\u3002<\/p>\n<h4 id=\"id-\u6a21\u677f-\u6b63\u6587\uff1a\">\u6b63\u6587\uff1a<\/h4>\n<h5 id=\"id-\u6a21\u677f-\u53c2\u8003\u89e3\u7b54\uff1a\">\u53c2\u8003\u89e3\u7b54\uff1a<\/h5>\n<h6>1\u3001Bloom-Filter\u7b97\u6cd5\u7b80\u4ecb<\/h6>\n<p>Bloom-Filter\uff0c\u5373\u5e03\u9686\u8fc7\u6ee4\u5668\uff0c1970\u5e74\u7531Bloom\u4e2d\u63d0\u51fa\u3002\u5b83<span style=\"color: #ff0000;\"><strong>\u53ef\u4ee5\u7528\u4e8e\u68c0\u7d22\u4e00\u4e2a\u5143\u7d20\u662f\u5426\u5728\u4e00\u4e2a\u96c6\u5408\u4e2d\u3002<\/strong><\/span><\/p>\n<p>Bloom-Filter\u662f\u4e00\u79cd\u7a7a\u95f4\u6548\u7387\u5f88\u9ad8\u7684\u968f\u673a\u6570\u636e\u7ed3\u6784\uff0c\u5b83\u5229\u7528\u4f4d\u6570\u7ec4\u5f88\u7b80\u6d01\u5730\u8868\u793a\u4e00\u4e2a\u96c6\u5408\uff0c\u5e76\u80fd\u5224\u65ad\u4e00\u4e2a\u5143\u7d20\u662f\u5426\u5c5e\u4e8e\u8fd9\u4e2a\u96c6\u5408\u3002\u5b83\u662f\u4e00\u4e2a\u5224\u65ad\u5143\u7d20\u662f\u5426\u5b58\u5728\u96c6\u5408\u7684\u5feb\u901f\u7684\u6982\u7387\u7b97\u6cd5\u3002<span style=\"color: #ff0000;\"><strong>Bloom-Filter\u6709\u53ef\u80fd\u4f1a\u51fa\u73b0\u9519\u8bef\u5224\u65ad\uff0c\u4f46\u4e0d\u4f1a\u6f0f\u6389\u5224\u65ad\u3002\u4e5f\u5c31\u662fBloom-Filter\u5224\u65ad\u5143\u7d20\u4e0d\u5728\u96c6\u5408\uff0c\u90a3\u80af\u5b9a\u4e0d\u5728\u3002\u5982\u679c\u5224\u65ad\u5143\u7d20\u5b58\u5728\u96c6\u5408\u4e2d\uff0c\u6709\u4e00\u5b9a\u7684\u6982\u7387\u5224\u65ad\u9519\u8bef\u3002<\/strong><\/span>\u56e0\u6b64\uff0c<strong>Bloom-Filter\u4e0d\u9002\u5408\u90a3\u4e9b\u201c\u96f6\u9519\u8bef\u201d\u7684\u5e94\u7528\u573a\u5408\u3002\u800c\u5728\u80fd\u5bb9\u5fcd\u4f4e\u9519\u8bef\u7387\u7684\u5e94\u7528\u573a\u5408\u4e0b\uff0cBloom-Filter\u6bd4\u5176\u4ed6\u5e38\u89c1\u7684\u7b97\u6cd5\uff08\u5982hash\uff0c\u6298\u534a\u67e5\u627e\uff09\u6781\u5927\u8282\u7701\u4e86\u7a7a\u95f4\u3002<\/strong><\/p>\n<p>\u8bef\u5224\u2014\u2014\u662f\u56e0\u4e3a\u9009\u7528\u7684Hash\u7b97\u6cd5\u5b58\u5728\u78b0\u649e\u7684\u53ef\u80fd\u3002<\/p>\n<h6>2\u3001Bloom-Filter\u7b97\u6cd5\u57fa\u672c\u601d\u60f3<\/h6>\n<p>\u8ba1\u7b97\u67d0\u5143\u7d20x\u662f\u5426\u5728\u4e00\u4e2a\u96c6\u5408\u4e2d\uff0c\u9996\u5148\u80fd\u60f3\u5230\u7684\u65b9\u6cd5\u5c31\u662f\u5c06\u6240\u6709\u7684\u5df2\u77e5\u5143\u7d20\u4fdd\u5b58\u8d77\u6765\u6784\u6210\u4e00\u4e2a\u96c6\u5408R\uff0c\u7136\u540e\u7528\u5143\u7d20x\u8ddf\u8fd9\u4e9bR\u4e2d\u7684\u5143\u7d20\u4e00\u4e00\u6bd4\u8f83\u6765\u5224\u65ad\u662f\u5426\u5b58\u5728\u4e8e\u96c6\u5408R\u4e2d\uff1b\u6211\u4eec\u53ef\u4ee5\u91c7\u7528\u94fe\u8868\u7b49\u6570\u636e\u7ed3\u6784\u6765\u5b9e\u73b0\u3002\u4f46\u662f\uff0c\u968f\u7740\u96c6\u5408R\u4e2d\u5143\u7d20\u7684\u589e\u52a0\uff0c\u5176\u5360\u7528\u7684\u5185\u5b58\u5c06\u8d8a\u6765\u8d8a\u5927\u3002\u8bd5\u60f3\uff0c\u5982\u679c\u6709\u51e0\u5343\u4e07\u4e2a\u4e0d\u540c\u7f51\u9875\u9700\u8981\u4e0b\u8f7d\uff0c\u6240\u9700\u7684\u5185\u5b58\u5c06\u8db3\u4ee5\u5360\u7528\u6389\u6574\u4e2a\u8fdb\u7a0b\u7684\u5185\u5b58\u5730\u5740\u7a7a\u95f4\u3002\u5373\u4f7f\u7528MD5\uff0cUUID\u8fd9\u4e9b\u65b9\u6cd5\u5c06URL\u8f6c\u6210\u56fa\u5b9a\u7684\u77ed\u5c0f\u7684\u5b57\u7b26\u4e32\uff0c\u5185\u5b58\u5360\u7528\u4e5f\u662f\u76f8\u5f53\u5de8\u5927\u7684\u3002<\/p>\n<p>\u4e8e\u662f\uff0c\u6211\u4eec\u4f1a\u60f3\u5230\u7528Hash table\u7684\u6570\u636e\u7ed3\u6784\uff0c\u8fd0\u7528\u4e00\u4e2a\u8db3\u591f\u597d\u7684Hash\u51fd\u6570\u5c06\u4e00\u4e2aURL\u6620\u5c04\u5230\u4e8c\u8fdb\u5236\u4f4d\u6570\u7ec4\uff08\u4f4d\u56fe\u6570\u7ec4\uff09\u4e2d\u7684\u67d0\u4e00\u4f4d\u3002\u5982\u679c\u8be5\u4f4d\u5df2\u7ecf\u88ab\u7f6e\u4e3a1\uff0c\u90a3\u4e48\u8868\u793a\u8be5URL\u5df2\u7ecf\u5b58\u5728\u3002<\/p>\n<p><span style=\"color: #ff0000;\">Hash\u5b58\u5728\u4e00\u4e2a\u51b2\u7a81\uff08\u78b0\u649e\uff09\u7684\u95ee\u9898\uff0c\u7528\u540c\u4e00\u4e2aHash\u5f97\u5230\u7684\u4e24\u4e2aURL\u7684\u503c\u6709\u53ef\u80fd\u76f8\u540c\u3002\u4e3a\u4e86\u51cf\u5c11\u51b2\u7a81\uff0c\u6211\u4eec\u53ef\u4ee5\u591a\u5f15\u5165\u51e0\u4e2aHash\uff0c\u5982\u679c\u901a\u8fc7\u5176\u4e2d\u7684\u4e00\u4e2aHash\u503c\u6211\u4eec\u5f97\u51fa\u67d0\u5143\u7d20\u4e0d\u5728\u96c6\u5408\u4e2d\uff0c\u90a3\u4e48\u8be5\u5143\u7d20\u80af\u5b9a\u4e0d\u5728\u96c6\u5408\u4e2d\u3002\u53ea\u6709\u5728\u6240\u6709\u7684Hash\u51fd\u6570\u544a\u8bc9\u6211\u4eec\u8be5\u5143\u7d20\u5728\u96c6\u5408\u4e2d\u65f6\uff0c\u624d\u80fd\u786e\u5b9a\u8be5\u5143\u7d20\u5b58\u5728\u4e8e\u96c6\u5408\u4e2d\u3002\u8fd9\u4fbf\u662fBloom-Filter\u7684\u57fa\u672c\u601d\u60f3\u3002<\/span><\/p>\n<p><strong>\u539f\u7406\u8981\u70b9\uff1a\u4e00\u662f\u4f4d\u6570\u7ec4\uff0c\u4e8c\u662fk\u4e2a\u72ec\u7acbhash\u51fd\u6570\u3002<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h5 id=\"id-\u6a21\u677f-\u53c2\u8003\u94fe\u63a5\uff1a\">\u53c2\u8003\u94fe\u63a5\uff1a<\/h5>\n<ul>\n<li><a href=\"https:\/\/blog.csdn.net\/hguisu\/article\/details\/7866173\">\u6d77\u91cf\u6570\u636e\u5904\u7406\u7b97\u6cd5\u2014Bloom Filter<\/a><br \/>\n<a href=\"http:\/\/en.wikipedia.org\/wiki\/Bloom_filter\">http:\/\/en.wikipedia.org\/wiki\/Bloom_filter<\/a><\/li>\n<li><a href=\"https:\/\/blog.mimvp.com\/article\/25760.html\">Bloom Filter \u7b97\u6cd5\u5904\u7406\u6d77\u91cf\u6570\u636e<\/a><\/li>\n<li><a href=\"https:\/\/blog.mimvp.com\/article\/25772.html\">BloomFilter + Redis \u5927\u6570\u636e\u53bb\u91cd\u7b56\u7565\u7684\u5b9e\u73b0<\/a><\/li>\n<li><a href=\"https:\/\/blog.csdn.net\/qq_18495465\/article\/details\/78500472\">BloomFilter\uff08\u5927\u6570\u636e\u53bb\u91cd\uff09+Redis\uff08\u6301\u4e45\u5316\uff09\u7b56\u7565<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/kongtianyi\/BloomFilterRedis\">\u57fa\u4e8eRedis\u7684\u5e03\u9686\u8fc7\u6ee4\u5668(Python\u5b9e\u73b0)<\/a># \u53ef\u4ee5\u4f7f\u7528<\/li>\n<li><a href=\"https:\/\/www.weibo.com\/ttarticle\/p\/show?id=2309404003610395590217\">Bloom Filter\u5728Python\u4e0a\u7684\u5b9e\u73b0\u4e0e\u4f18\u7f3a\u70b9\u5206\u6790<\/a><br \/>\n# \u5b8c\u5168\u6ee1\u8db3\u5e38\u89c4\u4f7f\u7528\u7684\u7248\u672c<br \/>\n<a href=\"https:\/\/github.com\/jaybaird\/python-bloomfilter\">https:\/\/github.com\/jaybaird\/python-bloomfilter<\/a><br \/>\n# \u66f4\u5feb\u7684\u7248\u672c<br \/>\n<a href=\"https:\/\/axiak.github.io\/pybloomfiltermmap\/\">https:\/\/axiak.github.io\/pybloomfiltermmap\/<\/a><br \/>\n<a href=\"https:\/\/github.com\/axiak\/pybloomfiltermmap\">https:\/\/github.com\/axiak\/pybloomfiltermmap<\/a><\/li>\n<\/ul>\n<p>=END=<\/p>\n","protected":false},"excerpt":{"rendered":"<p>=Start= \u7f18\u7531\uff1a \u5bf9\u6211\u6765\u8bf4\uff0c\u5728\u65e0\u4e8b\u53ef\u505a\u7684\u65f6\u5019\u5b66\u4e00\u4e9b\u4e1c\u897f\u662f\u6253\u53d1\u65f6\u95f4\u7684\u6700\u4f73\u65b9\u5f0f\u3002\u800c\u4e14\u8fd9\u4e2a\u4e1c\u897f\u53ef\u80fd\u8fd8\u6709\u4e9b\u5b9e\u9645\u7528 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,7,12],"tags":[1216,1217,1218],"class_list":["post-4094","post","type-post","status-publish","format-standard","hentry","category-knowledgebase-2","category-programing","category-tools","tag-bloomfilter","tag-1217","tag-1218"],"views":5346,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/4094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=4094"}],"version-history":[{"count":1,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/4094\/revisions"}],"predecessor-version":[{"id":4095,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/4094\/revisions\/4095"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=4094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=4094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=4094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}