{"id":1996,"date":"2023-04-01T11:29:19","date_gmt":"2023-04-01T03:29:19","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1996"},"modified":"2023-04-22T07:40:16","modified_gmt":"2023-04-21T23:40:16","slug":"playing-redis-hyperloglog-to-count-daily-and-monthly-activities-on-weibo","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/04\/01\/playing-redis-hyperloglog-to-count-daily-and-monthly-activities-on-weibo\/","title":{"rendered":"\u73a9\u8f6cRedis-HyperLogLog\u7edf\u8ba1\u5fae\u535a\u65e5\u6d3b\u6708\u6d3b"},"content":{"rendered":"<h2>\u540d\u8bcd\u89e3\u91ca<\/h2>\n<p><strong>DAU(Daily Active User)\u65e5\u6d3b\u8dc3\u7528\u6237\u6570\u91cf<\/strong><\/p>\n<p>\u5e38\u7528\u4e8e\u53cd\u6620\u7f51\u7ad9\u3001\u4e92\u8054\u7f51\u5e94\u7528\u6216\u7f51\u7edc\u6e38\u620f\u7684\u8fd0\u8425\u60c5\u51b5\u3002DAU\u901a\u5e38\u7edf\u8ba1\u4e00\u65e5\uff08\u7edf\u8ba1\u65e5\uff09\u4e4b\u5185\uff0c\u767b\u5f55\u6216\u4f7f\u7528\u4e86\u67d0\u4e2a\u4ea7\u54c1\u7684\u7528\u6237\u6570\uff08\u53bb\u9664\u91cd\u590d\u767b\u5f55\u7684\u7528\u6237\uff09<\/p>\n<p><!-- more --><\/p>\n<p><strong>\u6708\u6d3b\u8dc3\u7528\u6237\u6570\u91cf(Monthly Active User\uff0cMAU)<\/strong><\/p>\n<p>\u6708\u6d3b\u8dc3\u7528\u6237\u6570\u91cf\u901a\u5e38\u7edf\u8ba1\u4e00\u4e2a\u6708\uff08\u7edf\u8ba1\u6708\uff09\u4e4b\u5185\uff0c\u767b\u5f55\u6216\u4f7f\u7528\u4e86\u67d0\u4e2a\u4ea7\u54c1\u7684\u7528\u6237\u6570\uff08\u53bb\u9664\u91cd\u590d\u767b\u5f55\u7684\u7528\u6237\uff09<\/p>\n<blockquote>\n<p>Note\uff1a\u65e5\u6d3b\u3001\u6708\u6d3b\u53cd\u6620\u7528\u6237\u7684\u6d3b\u8dc3\u5ea6\uff0c\u4f46\u662f\u65e0\u6cd5\u53cd\u6620\u7528\u6237\u7684\u7c98\u6027\u3002<\/p>\n<\/blockquote>\n<h2>\u65e5\u6d3b\u6570\u636e\u7edf\u8ba1\u9762\u4e34\u54ea\u4e9b\u6311\u6218<\/h2>\n<p>2020\u5e742\u670826\u65e5\uff0c\u5fae\u535a\u53d1\u5e032019\u5e74\u7b2c\u56db\u5b63\u5ea6\u53ca\u5168\u5e74\u8d22\u62a5\u3002\u6570\u636e\u663e\u793a\uff0c\u622a\u81f32019\u5e74\u5e95\uff0c\u5fae\u535a\u6708\u6d3b\u8dc3\u7528\u6237\u8fbe\u52305.16\u4ebf\uff0c\u76f8\u6bd42018\u5e74\u5e74\u5e95\u51c0\u589e\u957f\u7ea65400\u4e07\uff0c\u5176\u4e2d\u79fb\u52a8\u7aef\u5360\u6bd494%\u30022019\u5e74\u5fae\u535a\u5168\u5e74\u8425\u6536\u63d0\u5347\u81f3122.4\u4ebf\u5143\uff0c\u5176\u4e2d\u5e7f\u544a\u8425\u6536\u8fbe\u5230106\u4ebf\u5143\u3002<\/p>\n<h3>Bitmaps\u53ef\u7528\u4e8e\u7edf\u8ba1\u65e5\u6d3b\u5417\uff1f<\/h3>\n<p>\u524d\u6587\u300a\u73a9\u8f6cRedis-\u4eac\u4e1c\u7b7e\u5230\u9886\u4eac\u8c46\u5982\u4f55\u5b9e\u73b0\u300b\u63d0\u5230\u4e86 Bitmaps \u5728\u5927\u6570\u636e\u4e0b\u7684\u5e94\u7528\uff0c\u90a3\u4e48Bitmaps\u53ef\u4ee5\u7528\u4e8e\u7edf\u8ba1\u65e5\u6d3b\u6570\u636e\u5417\uff1f\u6211\u4eec\u6765\u505a\u4e2a\u8ba1\u7b97\u5206\u6790\uff08\u4ee5\u4e00\u4ebf\u7528\u6237\u4e3a\u4f8b\uff09\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u7edf\u8ba1\u65b9\u5f0f<\/th>\n<th style=\"text-align: left;\">\u5360\u7528\u8ba1\u7b97<\/th>\n<th style=\"text-align: left;\">1\u4ebf\u7528\u6237\u5360\u7528\u7a7a\u95f4\uff08M\uff09<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">MySQL 32bit\u7684int\u6570\u636e\u7c7b\u578b<\/td>\n<td style=\"text-align: left;\">1\u4e2aint\u6240\u9700\u5b58\u50a8\u7a7a\u95f4\u4e3a4\u5b57\u8282\uff0c\u53ef\u5b58\u50a832 bit\u4f4d<\/td>\n<td style=\"text-align: left;\">10^8 \/ (1024 <em> 1024 <\/em> 8 \/ 32) \u2248 381 M<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">Redis Bitmaps<\/td>\n<td style=\"text-align: left;\">Bitmaps\u5355\u4e2a\u652f\u6301512M\uff0c\u4e0d\u50cfint\u5355\u4e2a\u4ec5\u5b58\u50a832\u4f4d<\/td>\n<td style=\"text-align: left;\">10^8 \/ (1024 <em> 1024 <\/em> 8) \u2248 12M<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u4f7f\u7528Bitmaps\u8ba1\u7b97\u65e5\u6d3b\u6708\u6d3b<\/strong>\uff1a<\/p>\n<ul>\n<li><strong>\u8ba1\u7b97\u65e5\u6d3b<\/strong>\uff1abitcount key\u83b7\u53d6key\u4e3a1\u7684\u6570\u91cf<\/li>\n<li><strong>\u8ba1\u7b97\u6708\u6d3b<\/strong>\uff1a\u53ef\u628a30\u5929\u7684\u6240\u6709bitmap\u505aor\u8ba1\u7b97\uff0c\u518d\u8fdb\u884cbitcount\u8ba1\u7b97<\/li>\n<li><strong>\u8ba1\u7b97\u7559\u5b58\u7387<\/strong>\uff1a\u6628\u65e5\u7559\u5b58=\u6628\u5929\u4eca\u5929\u8fde\u7eed\u767b\u5f55\u7684\u4eba\u6570\/\u6628\u5929\u767b\u5f55\u7684\u4eba\u6570\uff0c\u5373\u6628\u5929\u7684bitmap\u4e0e\u4eca\u5929\u7684bitmap\u8fdb\u884cand\u8ba1\u7b97\uff0c\u5728\u9664\u4ee5\u6628\u5929bitcount\u7684\u6570\u91cf<\/li>\n<\/ul>\n<p>\u901a\u8fc7\u4ee5\u4e0a\u8ba1\u7b97\uff0c\u6211\u4eec\u53d1\u73b0Bitmaps\u5df2\u7ecf\u5f88\u8282\u7701\u7a7a\u95f4\u4e86\u3002\u7edf\u8ba1\u4e00\u4e2a\u7f51\u7ad9\u7684\u65e5\u6d3b\u5df2\u4e0d\u5728\u8bdd\u4e0b\uff0c\u4f46\u662f\u5927\u578b\u4e92\u8054\u7f51\u516c\u53f8\u9664\u4e86\u65e5\u6d3b\uff0c\u8fd8\u6709UV\u3001PV\u7b49\u7b49\u9700\u8981\u7edf\u8ba1\u3002\u9762\u5bf9\u4e0a\u5343\u751a\u81f3\u66f4\u591a\u7684\u9700\u7edf\u8ba1\u6a21\u5757\uff0c1\u4e2a\u6a21\u57571\u5929\u9700\u898112M\uff0c\u4e00\u5e74\u5c31\u9700\u8981<code>12M * 365 \/ 1024 \u2248 4.3G<\/code>\uff0c1000\u4e2a\u6a21\u5757\u4e00\u5e74\u5c31\u9700\u8981<code>12M * 365 \/ 1024 \/ 1024 \u2248 4.2T<\/code>\u3002So \u9769\u547d\u5c1a\u672a\u6210\u529f\uff0c\u6211\u4eec\u8fd8\u9700\u518d\u8282\u7701\u70b9\uff01<\/p>\n<h3>\u65e5\u6d3b\u6570\u636e\u7edf\u8ba1\u7684\u7279\u70b9<\/h3>\n<ul>\n<li>\u6570\u636e\u9700\u8981\u53bb\u91cd<\/li>\n<li>\u6570\u636e\u5141\u8bb8\u6709\u4e00\u5b9a\u7684\u504f\u5dee\uff0c101W\u548c102W\u5dee\u8ddd\u4e0d\u5927<\/li>\n<li>\u5360\u7528\u7a7a\u95f4\u5c3d\u53ef\u80fd\u5c0f<\/li>\n<\/ul>\n<h2>HyperLogLog\u4ecb\u7ecd<\/h2>\n<h3>HyperLogLog\u5fc5\u77e5<\/h3>\n<p>HyperLogLog\uff08HLL\uff09\u662f\u4e00\u79cd\u7528\u4e8e<strong>\u57fa\u6570\u8ba1\u7b97\u7684\u6982\u7387\u6570\u636e\u7ed3\u6784<\/strong>\uff0c\u901a\u4fd7\u7684\u8bf4\u5c31\u662f\u652f\u6301\u96c6\u5408\u4e2d\u4e0d\u91cd\u590d\u5143\u7d20\u7684\u7edf\u8ba1\u3002<\/p>\n<p>\u5e38\u89c4\u57fa\u6570\u8ba1\u7b97\u9700\u8981\u51c6\u5907\u4e00\u5757\u5185\u5b58\u7a7a\u95f4\u7528\u4e8e\u5b58\u50a8\u5df2\u7ecf\u8ba1\u6570\u7684\u5143\u7d20\uff0c\u907f\u514d\u67d0\u4e9b\u5143\u7d20\u88ab\u91cd\u590d\u7edf\u8ba1\u3002Redis\u63d0\u4f9b\u4e86\u4e00\u79cd<strong>\u7528\u7cbe\u5ea6\u6765\u6362\u53d6\u5185\u5b58\u7a7a\u95f4<\/strong>\u7684\u7b97\u6cd5\uff0c\u6807\u51c6\u8bef\u5dee\u4f4e\u4e8e1%\u3002\u4ec5\u9700\u898112K \u5c31\u80fd\u5b8c\u6210\u7edf\u8ba1\uff08\u518d\u52a0\u4e0aHLL\u81ea\u8eab\u6240\u9700\u7684\u4e00\u70b9bytes\uff09\uff0c\u5982\u679cHyperLogLog\u4e2d\u7684\u5143\u7d20\u8f83\u5c11\uff0c\u6240\u9700\u5185\u5b58\u7a7a\u95f4\u66f4\u5c0f\u3002<strong>HyperLogLogs\u7684\u6807\u51c6\u8bef\u5dee\u662f0.81%<\/strong>\u3002<\/p>\n<p>\u8f93\u5165\u5143\u7d20\u6570\u91cf\u6216\u4f53\u79ef\u975e\u5e38\u5927\u65f6\uff0cHLL\u6240\u9700\u7a7a\u95f4\u56fa\u5b9a\u4e14\u5f88\u5c0f\u3002<strong>12kb\u5185\u5b58\u53ef\u8ba1\u7b97\u63a5\u8fd1 2^64 \u4e2a\u4e0d\u540c\u5143\u7d20\u7684\u57fa\u6570<\/strong>\u3002<\/p>\n<p>HyperLogLog\u867d\u7136\u6280\u672f\u5b9e\u73b0\u662f\u4e00\u79cd\u4e0d\u540c\u7684\u6570\u636e\u7ed3\u6784\uff0c\u4f46\u5e95\u5c42\u4f9d\u65e7\u662fRedis strings\uff0c\u6240\u4ee5\u53ef\u4ee5\u4f7f\u7528GET\u547d\u4ee4\u83b7\u53d6\u5e8f\u5217\u5316\u540e\u7684\u6570\u636e\uff0c\u4f7f\u7528SET\u547d\u4ee4\u53cd\u5e8f\u5217\u5316\u6570\u636e\u5b58\u50a8\u5230Redis\u3002<\/p>\n<h3>HyperLogLog\u548cSets\u7684\u533a\u522b<\/h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u5bf9\u6bd4\/\u6570\u636e\u7c7b\u578b<\/th>\n<th style=\"text-align: left;\">Sets<\/th>\n<th style=\"text-align: left;\">HyperLogLog<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">\u662f\u5426\u5b9e\u9645\u5b58\u50a8\u7edf\u8ba1\u5143\u7d20<\/td>\n<td style=\"text-align: left;\">\u5b58\u50a8<\/td>\n<td style=\"text-align: left;\">\u4e0d\u5b58\u50a8\u5143\u7d20\uff0c\u4ec5\u5b58\u50a8\u5b58\u5728\u7684\u6807\u8bb0<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">\u589e\u52a0\u5143\u7d20<\/td>\n<td style=\"text-align: left;\">SADD<\/td>\n<td style=\"text-align: left;\">PFADD<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">\u7edf\u8ba1\u5143\u7d20\u6570\u91cf<\/td>\n<td style=\"text-align: left;\">SCARD<\/td>\n<td style=\"text-align: left;\">PFCOUNT<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">\u5220\u9664\u5143\u7d20<\/td>\n<td style=\"text-align: left;\">SREM<\/td>\n<td style=\"text-align: left;\">\u4e0d\u652f\u6301\u5220\u9664\u5143\u7d20<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>HyperLogLog\u5982\u4f55\u4f7f\u7528<\/h2>\n<p>HyperLogLog\u6838\u5fc3\u547d\u4ee4\uff1aPFADD\u3001PFCOUNT\u3001PFMERGE<\/p>\n<h3>HyperLogLog\u547d\u4ee4\u5bf9\u6bd4\u5206\u6790<\/h3>\n<table>\n<thead>\n<tr>\n<th style=\"text-align: left;\">\u547d\u4ee4<\/th>\n<th style=\"text-align: left;\">\u529f\u80fd<\/th>\n<th style=\"text-align: left;\">\u53c2\u6570<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: left;\">PFADD<\/td>\n<td style=\"text-align: left;\">\u6dfb\u52a0\u5143\u7d20\u5230HLL\u6570\u636e\u7ed3\u6784<\/td>\n<td style=\"text-align: left;\">key element [element &#8230;]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">PFCOUNT<\/td>\n<td style=\"text-align: left;\">\u8fd4\u56deHLL\u7684\u57fa\u6570\u503c<\/td>\n<td style=\"text-align: left;\">key [key &#8230;]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: left;\">PFMERGE<\/td>\n<td style=\"text-align: left;\">\u5408\u5e76\u591a\u4e2aHLL\u7ed3\u6784\u6570\u636e\u5230destkey<\/td>\n<td style=\"text-align: left;\">destkey sourcekey [sourcekey &#8230;]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>HLL\u64cd\u4f5c\u547d\u4ee4\u4e2d\u7684PF\u542b\u4e49\uff1aHyperLogLog \u6570\u636e\u7ed3\u6784\u7684\u53d1\u660e\u4eba Philippe Flajolet \u7684\u9996\u5b57\u6bcd\u7f29\u5199\u3002<\/p>\n<h3>HyperLogLog\u547d\u4ee4\u8be6\u89e3<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/www.yezhou.me\/AppBlog\/images\/\u6570\u636e\u5e93\/Redis-HyperLogLog\u64cd\u4f5c.png\" alt=\"Redis-HyperLogLog\u64cd\u4f5c\" \/><\/p>\n<h3>HyperLogLog\u547d\u4ee4\u6ce8\u610f\u4e8b\u9879<\/h3>\n<ul>\n<li>PFADD\u4ec5\u5b58\u50a8\u6807\u8bb0\uff0c\u4e0d\u5b58\u50a8\u5143\u7d20\u672c\u8eab<\/li>\n<li>PFCOUNT\u5b9e\u9645\u662f\u4e00\u4e2awrite\u547d\u4ee4\uff0c\u6267\u884cPFCOUNT\u65f6\u53ef\u80fd\u4f1a\u91cd\u65b0\u8ba1\u7b97\u8ba1\u6570\u503c\u5e76\u5b58\u50a8<\/li>\n<li>key\u6709\u591a\u4e2a\u65f6\uff0cPFCOUNT\u4f1a\u52a8\u6001\u5408\u5e76\u8ba1\u7b97\uff0c\u5e76\u4e14\u8ba1\u7b97\u7ed3\u679c\u4e0d\u4f1a\u88ab\u7f13\u5b58\uff0c\u6240\u4ee5\u751f\u4ea7\u73af\u5883\u6267\u884cPFCOUNT\u65f6\u5c3d\u91cf\u907f\u514d\u5e26\u591a\u4e2akey<\/li>\n<li>key\u6709\u591a\u4e2a\u65f6\uff0cPFCOUNT\u662f\u5148\u5408\u5e76\u518d\u8ba1\u7b97\uff0c\u7ed3\u679c\u4e3a\u591a\u4e2a\u5bf9\u8c61\u5408\u5e76&lt;\u53bb\u91cd&gt;\u540e\u7684\u57fa\u6570\u503c\uff08\u6ce8\u610f\uff1a\u4e0d\u662f\u57fa\u6570\u503c\u4e4b\u548c\uff09<\/li>\n<li>PFMERGE\u8ba1\u7b97\u7684\u662fsourcekey\u7684\u5e76\u96c6<\/li>\n<li>\u5982\u679cdestkey\u5df2\u5b58\u5728\uff0c\u5219PFMERGE\u6267\u884c\u540edestkey\u6700\u7ec8\u7684\u7ed3\u679c\u662fdest+source\u7684\u5e76\u96c6<\/li>\n<\/ul>\n<h3>HyperLogLog\u547d\u4ee4\u793a\u4f8b<\/h3>\n<pre><code class=\"language-bash\">\/\/ pfadd\u3001pfcount \u793a\u4f8b\n\n127.0.0.1:6379&gt; pfadd hll 1\n(integer) 1\n127.0.0.1:6379&gt; pfadd hll 1\n(integer) 0\n127.0.0.1:6379&gt; pfadd hll 2 3 4\n(integer) 1\n127.0.0.1:6379&gt; pfcount hll\n(integer) 4\n127.0.0.1:6379&gt; pfcount hll:notexist\n(integer) 0\n127.0.0.1:6379&gt; pfadd hll2 a b\n(integer) 1\n127.0.0.1:6379&gt; pfcount hll2\n(integer) 2\n127.0.0.1:6379&gt; pfcount hll hll2\n(integer) 6\n127.0.0.1:6379&gt; get hll\n&quot;HYLL\\x01\\x00\\x00\\x00\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x00A\\xee\\x84[v\\x80Mt\\x80Q,\\x8cC\\xf3&quot;\n127.0.0.1:6379&gt; set hll:error error666\nOK\n127.0.0.1:6379&gt; pfcount hll:error\n(error) WRONGTYPE Key is not a valid HyperLogLog string value.<\/code><\/pre>\n<pre><code class=\"language-bash\">\/\/ pfmerge \u793a\u4f8b\n\n127.0.0.1:6379&gt; pfadd hllm1 1 2 3 4 5\n(integer) 1\n127.0.0.1:6379&gt; pfadd hllm2 5 6 7 8\n(integer) 1\n127.0.0.1:6379&gt; pfmerge hllm3 hllm1 hllm2\nOK\n127.0.0.1:6379&gt; pfcount hllm3\n(integer) 8\n\n127.0.0.1:6379&gt; pfadd hllm4 7 8 9 10 11 12 14 14\n(integer) 1\n127.0.0.1:6379&gt; pfmerge hllm4 hllm1 hllm2\nOK\n127.0.0.1:6379&gt; pfcount hllm4\n(integer) 13<\/code><\/pre>\n<h2>HyperLogLog\u5e94\u7528\u573a\u666f<\/h2>\n<h3>\u7f51\u7ad9\u65e5\u6d3b\u6708\u6d3b<\/h3>\n<ul>\n<li>\u65e5\u6d3b\uff1a\u6bcf\u5929\u4e00\u4e2aHLL\uff0c\u7528\u6237\u767b\u5f55\u65f6\u5219 <code>PFADD HLL20200719 userID<\/code>;<\/li>\n<li>\u6708\u6d3b\uff1a\u5408\u5e76\u5f53\u6708\u7684\u6240\u6709\u65e5\u6d3b\u6570\u636e <code>PFMERGE HLL202007 HLL20200701 HLL20200702 HLL20200703 ...<\/code><\/li>\n<\/ul>\n<h3>\u7f51\u9875UV<\/h3>\n<p>UV\uff08Unique Visitor\uff09\u72ec\u7acb\u8bbf\u5ba2\uff1a1\u5929\u5185\uff1bcookie\u4e3a\u6807\u8bc6\uff1b\u76f8\u540c\u7684\u5ba2\u6237\u7aef\u591a\u6b21\u8bbf\u95ee\u53ea\u8ba1\u4e3a1\u4e2a\u8bbf\u5ba2\u3002<\/p>\n<p>\u6bd4\u5982\u8001\u677f\u60f3\u5b9e\u65f6\u67e5\u770b\u516c\u53f8\u7f51\u7ad9\u67d0\u4e9b\u9875\u9762\u4ece\u4eca\u59290\u70b9\u5230\u73b0\u5728\u88ab\u591a\u5c11\u72ec\u7acb\u8bbf\u5ba2\u8bbf\u95ee\u3002<\/p>\n<h3>\u5176\u4ed6\u573a\u666f\u573a\u666f<\/h3>\n<ul>\n<li>\u641c\u7d22\u5f15\u64ce\u5173\u952e\u8bcd\u641c\u7d22\u91cf<\/li>\n<li>\u7528\u6237\u5728\u7ebf\u4eba\u6570\u7edf\u8ba1<\/li>\n<li>\u57fa\u4e8e\u57fa\u6570\u8ba1\u6570\u7684\u6570\u636e\u5206\u6790\u573a\u666f<\/li>\n<\/ul>\n<blockquote>\n<p>\u8f6c\u8f7d\u81f3\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/zxiaofan.blog.csdn.net\/article\/details\/107449335\">https:\/\/zxiaofan.blog.csdn.net\/article\/details\/107449335<\/a><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u540d\u8bcd\u89e3\u91ca DAU(Daily Active User)\u65e5\u6d3b\u8dc3\u7528\u6237\u6570\u91cf \u5e38\u7528\u4e8e\u53cd\u6620\u7f51\u7ad9\u3001\u4e92\u8054\u7f51\u5e94\u7528\u6216\u7f51\u7edc\u6e38\u620f\u7684\u8fd0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[504],"class_list":["post-1996","post","type-post","status-publish","format-standard","hentry","category-redis","tag-hyperloglog"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1996"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1996\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}