{"id":1311,"date":"2023-07-12T22:04:30","date_gmt":"2023-07-12T14:04:30","guid":{"rendered":"https:\/\/rain1024.com\/?p=1311"},"modified":"2023-08-07T21:01:09","modified_gmt":"2023-08-07T13:01:09","slug":"%e9%98%bf%e9%87%8c%e4%ba%91redis%e4%b8%8etair%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%84","status":"publish","type":"post","link":"http:\/\/rain1024.com\/index.php\/2023\/07\/12\/%e9%98%bf%e9%87%8c%e4%ba%91redis%e4%b8%8etair%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%84\/","title":{"rendered":"\u963f\u91cc\u4e91Redis\u4e0eTair\u538b\u529b\u6d4b\u8bc4"},"content":{"rendered":"<p>\u65e0\u610f\u4e2d\u53d1\u73b0\u963f\u91cc\u4e91\u5f00\u53d1\u793e\u533a\u7684\u8bad\u7ec3\u8425\u6d3b\u52a8\uff0c\u5176\u4e2d\u6709\u4e00\u4e2a7\u5929\u73a9\u8f6cRedis\u3001tair\u8bad\u7ec3\u8425\u8ba1\u5212\uff0c\u91cc\u9762\u53ef\u4ee5\u514d\u8d39\u9886\u53d6\u4e09\u4e2a\u6708\u7684\u8bd5\u7528\u793c\u5305\uff0c\u56e0\u4e3a\u662f\u53c2\u8425\u4efb\u52a1\uff0c\u4e0d\u9886\u53d6\u90fd\u4e0d\u884c\u7684\u90a3\u79cd\uff0c\u9886\u53d6\u4e4b\u540e\u653e\u7740\u4e5f\u662f\u653e\u7740\uff0c\u4e0d\u5982\u8dd1\u8dd1\u6570\u636e\u770b\u770bRedis\u548cTair\u7684\u6027\u80fd\u6709\u4ec0\u4e48\u533a\u522b\uff0c\u7b80\u5355\u7684\u538b\u529b\u6d4b\u8bd5\u4e0b\uff0c\u672c\u6b21\u6d4b\u8bd5\u5e76\u4e0d\u7cbe\u786e\uff0c\u4e5f\u4e0d\u5177\u6709\u592a\u591a\u53c2\u8003\u610f\u4e49\uff0c\u771f\u7684\u5c31\u662f\u4e3a\u4e86\u6d4b\u8bd5\u800c\u6d4b\u8bd5\u3002<\/p>\n<p><strong>\u6d3b\u52a8\u5730\u5740\u94fe\u63a5\u89c1\u6700\u4e0b\u9762\u7684<\/strong><\/p>\n<h2>\u4ec0\u4e48\u662fTair<\/h2>\n<p>\u8fd9\u91cc\u6709\u5177\u4f53\u4ecb\u7ecdTair\u7684\u89c6\u9891\uff0c\u91cc\u9762\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u963f\u91cc\u4e91Redis\u548c\u81ea\u5efaRedis\u7684\u5bf9\u6bd4\u5206\u6790<\/p>\n<p><a href=\"https:\/\/edu.aliyun.com\/course\/3114106\/lesson\/19637\">https:\/\/edu.aliyun.com\/course\/3114106\/lesson\/19637<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2ef7bca8.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f01bf2e.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f083f88.png\" alt=\"\" \/><\/p>\n<h2>\u6d4b\u8bd5\u5de5\u4f5c<\/h2>\n<p>\u672c\u6b21\u6ca1\u6709\u4f7f\u7528Redis\u81ea\u5e26\u7684Redis Benchmark\u5de5\u5177\uff0c\u60f3\u7740\u4e3a\u4e86\u6d4b\u8bd5\u800c\u6d4b\u8bd5\uff0c\u5c31\u4e3a\u4e86\u6d4b\u8bd5\u800c\u5f00\u53d1\u5427\u3002<\/p>\n<h3>\u4e00\uff1a\u51c6\u5907\u5de5\u4f5c<\/h3>\n<ol>\n<li>\u9886\u53d6Redis\u4e0eTair\u4e09\u4e2a\u6708\u514d\u8d39\u989d\u5ea6<\/li>\n<li>\u7f16\u5199\u538b\u529b\u6d4b\u8bd5\u4ee3\u7801<\/li>\n<li>\u51c6\u5907\u6d4b\u8bd5\u6570\u636e\u3002<\/li>\n<\/ol>\n<h3>\u4e8c\uff1a\u6d4b\u8bd5\u65b9\u6848\u8bbe\u8ba1<\/h3>\n<ol>\n<li>\u6279\u91cf\u63d2\u5165\u6570\u636e\u67e5\u770b\u603b\u4f53\u65f6\u5ef6\uff0c\u4e0e\u4e0d\u540c\u6570\u636e\u91cf\u4e0b\u65f6\u5ef6\u66f2\u7ebf\u8868\uff0c\u8bb0\u5f55\u603b\u4f53\u8017\u65f6<\/li>\n<li>\u6279\u91cf\u6570\u636e\u67e5\u8be2\uff0c\u8bb0\u5f55\u67e5\u8be2QPS\uff0c\u5185\u5b58\u60c5\u51b5\uff0c\u7f51\u7edc\u6d41\u91cf\u7b49<\/li>\n<li>\u5c06\u6570\u636e\u5e93\u5185\u5b58\u7a7a\u95f4\u6253\u6ee1\u540e\uff0c\u67e5\u770b\u76f8\u540c\u6dd8\u6c70\u7b56\u7565\u4e0b\u5185\u5bb9\u4f18\u5316\u60c5\u51b5<\/li>\n<\/ol>\n<h3>\u4e09\uff1a\u8fdb\u884c\u538b\u529b\u6d4b\u8bd5<\/h3>\n<ol>\n<li>\u5148\u8fdb\u884c\u529f\u80fd\u6d4b\u8bd5,\u6821\u9a8c\u7cfb\u7edf\u529f\u80fd\u5728\u9ad8\u8d1f\u8f7d\u4e0b\u662f\u5426\u6b63\u5e38\u3002<\/li>\n<li>\u52a0\u5927\u5e76\u53d1\u7528\u6237\u6570\u6216\u8bf7\u6c42\u6d41\u91cf,\u6a21\u62df\u5cf0\u503c\u538b\u529b\u60c5\u51b5\u3002<\/li>\n<li>\u89c2\u5bdf\u8bb0\u5f55\u5173\u952e\u6307\u6807,\u5206\u6790\u7cfb\u7edf\u74f6\u9888\u3002<\/li>\n<\/ol>\n<h3>\u56db\uff1a\u673a\u5668\u6307\u6807<\/h3>\n<p>\u4e3a\u4e86\u53bb\u9664\u672c\u5730\u673a\u5668\u3001\u7f51\u7edc\u5e26\u6765\u7684\u5e72\u6270\uff0c\u8fd9\u6b21\u7684\u4ee3\u7801\u90fd\u4f1a\u8fd0\u884c\u5728ECS\u670d\u52a1\u5668\u4e2d\uff0c\u4f46\u81ea\u5df1\u7684ECS\u670d\u52a1\u5668\u90fd\u4e0d\u662f\u676d\u5dde\u533a\u7684\uff0c\u8fd8\u662f\u8981\u901a\u8fc7\u5916\u7f51\u57df\u540d\u7684\u5f62\u5f0f\u8fde\u63a5Redis\u3001Tair\uff0c\u4e0d\u8fc7\u6570\u636e\u4f20\u8f93\u901f\u7387\u4e5f\u662f\u53ef\u9760\u7684\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th>Redis<\/th>\n<th>Tair<\/th>\n<th>ECS\u670d\u52a1\u56681<\/th>\n<th>ECS\u670d\u52a1\u56681<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u89c4\u683c<\/td>\n<td>2 GB \u589e\u5f3a\u7248 (vCPU shared)<\/td>\n<td>2 GB \u589e\u5f3a\u7248 (vCPU shared)<\/td>\n<td>4C8G<\/td>\n<td>4C8G<\/td>\n<\/tr>\n<tr>\n<td>\u6700\u5927\u8fde\u63a5\u6570<\/td>\n<td>10,000<\/td>\n<td>30,000<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u6700\u5927\u5e26\u5bbd<\/td>\n<td>96 MB\/s<\/td>\n<td>96 MB\/s<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u53c2\u8003QPS<\/td>\n<td>100,000<\/td>\n<td>300,000<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u526f\u672c\u6570<\/td>\n<td>2\u526f\u672c<\/td>\n<td>2\u526f\u672c<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5206\u7247\u6570\u91cf<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Redis\u7248\u672c<\/td>\n<td>Redis 5.0<\/td>\n<td>\u7248\u672c\u517c\u5bb9\u6027\uff1aRedis 6.0<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5b58\u50a8\u7a7a\u95f4<\/td>\n<td>10G<\/td>\n<td>10G<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u67b6\u6784\u7c7b\u578b<\/td>\n<td>\u975e\u96c6\u7fa4<\/td>\n<td>\u975e\u96c6\u7fa4<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>maxmemory-policy<\/td>\n<td>volatile-lru \uff08\u6309\u7167LRU\u7b97\u6cd5\u9010\u51fa\u539f\u6709\u6570\u636e\uff0c\u4f46\u4ec5\u9010\u51fa\u8bbe\u7f6e\u4e86\u8fc7\u671f\u65f6\u95f4\u7684\u6570\u636e\uff09<\/td>\n<td>volatile-lru \uff08\u6309\u7167LRU\u7b97\u6cd5\u9010\u51fa\u539f\u6709\u6570\u636e\uff0c\u4f46\u4ec5\u9010\u51fa\u8bbe\u7f6e\u4e86\u8fc7\u671f\u65f6\u95f4\u7684\u6570\u636e\uff09<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u4e94\uff1a\u8fd0\u884c\u4ee3\u7801\uff1a<\/h3>\n<pre><code>package org.rain;\n\nimport redis.clients.jedis.*;\n\nimport java.io.BufferedReader;\nimport java.io.File;\nimport java.io.InputStreamReader;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.Files;\nimport java.util.concurrent.*;\nimport java.util.concurrent.atomic.AtomicInteger;\n\npublic class Main {\n\n    public static void readTxtFile(String filePath, JedisPool pool) {\n        try {\n            File file = new File(filePath);\n            if (file.isFile() &amp;&amp; file.exists()) {\n                InputStreamReader isr = new InputStreamReader(Files.newInputStream(file.toPath()), StandardCharsets.UTF_8);\n                BufferedReader br = new BufferedReader(isr);\n                String lineTxt = null;\n                AtomicInteger i = new AtomicInteger();\n                ExecutorService executorService = new ThreadPoolExecutor(50, 50, 100L, TimeUnit.MILLISECONDS, new SynchronousQueue&lt;Runnable&gt;(), new ThreadPoolExecutor.CallerRunsPolicy());\n\n                while ((lineTxt = br.readLine()) != null) {\n                    String[] textArr = lineTxt.split(&quot;\\t&quot;);\n                    if (textArr.length &lt;= 6) {\n                        continue;\n                    }\n                    executorService.submit(() -&gt; {\n                        try (Jedis jedis = pool.getResource()) {\n                            jedis.setex(textArr[0] + &quot;-&quot; + i.getAndIncrement(), 14400, textArr[6]);\n                            \/\/                            System.out.println(&quot;\u5df2\u5904\u7406\u7b2c&quot; + i);\n                        }\n                    });\n                    executorService.submit(() -&gt; {\n                        try (Jedis jedis = pool.getResource()) {\n                            jedis.setex(textArr[1] + &quot;-&quot; + i.getAndIncrement(), 14400, textArr[6]);\n                            \/\/                            System.out.println(&quot;\u5df2\u5904\u7406\u7b2c&quot; + i);\n                        }\n                    });\n                }\n                System.out.println(&quot;\u5904\u7406\u5b8c\u6bd5\uff0c\u5171\u5904\u7406\uff1a&quot; + i);\n                executorService.shutdown();\n                br.close();\n            } else {\n                System.out.println(&quot;\u6587\u4ef6\u4e0d\u5b58\u5728!&quot;);\n            }\n        } catch (Exception e) {\n            System.out.println(&quot;\u6587\u4ef6\u8bfb\u53d6\u9519\u8bef!&quot; + e);\n        }\n    }\n\n    public static void main(String[] args) {\n        JedisPoolConfig config = new JedisPoolConfig();\n        config.setMaxIdle(200);\n        config.setMaxTotal(300);\n        config.setTestOnBorrow(false);\n        config.setTestOnReturn(false);\n        String redisHost = &quot;r-.redis.rds.aliyuncs.com&quot;;\n        String redisUser = &quot;r-&quot;;\n        String redisPassword = &quot;&quot;;\n        String tairHost = &quot;r-.redis.rds.aliyuncs.com&quot;;\n        String tairUser = &quot;r-&quot;;\n        String tairPassword = &quot;&quot;;\n        JedisPool pool;\n        if (&quot;redis&quot;.equals(args[0])) {\n            System.out.println(&quot;redis&quot;);\n            pool = new JedisPool(config, redisHost, 6379, redisUser, redisPassword);\n        } else {\n            System.out.println(&quot;tair&quot;);\n            pool = new JedisPool(config, tairHost, 6379, tairUser, tairPassword);\n        }\n        String filePath = &quot;local&quot;.equals(args[1]) ? &quot;\/Users\/Downloads\/weibo_train_data.txt&quot; : &quot;\/home\/weibo_train_data.txt&quot;;\n            System.out.println(filePath);\n            readTxtFile(filePath, pool);\n            }\n            }<\/code><\/pre>\n<h3>\u516d\uff1a\u6a21\u62df\u6570\u636e<\/h3>\n<p>1229619\u6761\u5fae\u535a\u7528\u6237\u53d1\u5e16\u6570\u636e<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f0cf489.png\" alt=\"\" \/><\/p>\n<h2>\u5199\u5165\u6027\u80fd\u622a\u56fe<\/h2>\n<h3>Redis<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f116740.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f16981c.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f2bd45a.png\" alt=\"\" \/><\/p>\n<h3>Tair<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f31c701.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f35750c.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f38b67a.png\" alt=\"\" \/><\/p>\n<h3>\u670d\u52a1\u5668\u8d1f\u8f7d<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f3bb312.png\" alt=\"\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f46fd28.png\" alt=\"\" \/><\/p>\n<p>\u4ece\u56fe\u91cc\u770b\uff0c\u5728\u6ca1\u6709\u8c03\u6574\u4efb\u4f55\u53c2\u6570\u7684\u60c5\u51b5\u4e0b\uff0c\u63d2\u5165250w\u6761\u6570\u636e\uff0cRedis\u548cTair\u57fa\u672c\u6ca1\u6709\u592a\u5927\u7684\u533a\u522b\uff0c\u53ea\u662fTair\u7684\u5e73\u5747\u65f6\u5ef6\u6709\u4e9b\u9ad8\uff0c\u4e24\u8005\u7684QPS\u90fd\u80fd\u8fbe\u52301000\uff0c\u8fd8\u6ca1\u6709\u8dd1\u6ee1\u5b98\u65b9\u7684\u53c2\u8003\u503c\u3002<\/p>\n<h2>\u8bfb\u53d6\u6d4b\u8bd5\u622a\u56fe<\/h2>\n<p>\u4ee3\u7801<\/p>\n<pre><code>public static void getTxtFile(String filePath, JedisPool pool) {\n    try {\n        File file = new File(filePath);\n        if (file.isFile() &amp;&amp; file.exists()) {\n            InputStreamReader isr = new InputStreamReader(Files.newInputStream(file.toPath()), StandardCharsets.UTF_8);\n            BufferedReader br = new BufferedReader(isr);\n            String lineTxt = null;\n            AtomicInteger i = new AtomicInteger();\n            ExecutorService executorService = new ThreadPoolExecutor(50, 50, 100L, TimeUnit.MILLISECONDS, new SynchronousQueue&lt;Runnable&gt;(), new ThreadPoolExecutor.CallerRunsPolicy());\n\n            while ((lineTxt = br.readLine()) != null) {\n                String[] textArr = lineTxt.split(&quot;\\t&quot;);\n                if (textArr.length &lt;= 6) {\n                    continue;\n                }\n                executorService.submit(() -&gt; {\n                    try (Jedis jedis = pool.getResource()) {\n                        System.out.println(jedis.get(textArr[0] + &quot;-&quot; + i.getAndIncrement()));\n                    }\n                });\n                executorService.submit(() -&gt; {\n                    try (Jedis jedis = pool.getResource()) {\n                        System.out.println(jedis.get(textArr[1] + &quot;-&quot; + i.getAndIncrement()));\n                    }\n                });\n            }\n            System.out.println(&quot;\u5904\u7406\u5b8c\u6bd5\uff0c\u5171\u5904\u7406\uff1a&quot; + i);\n            executorService.shutdown();\n            br.close();\n        } else {\n            System.out.println(&quot;\u6587\u4ef6\u4e0d\u5b58\u5728!&quot;);\n        }\n    } catch (Exception e) {\n        System.out.println(&quot;\u6587\u4ef6\u8bfb\u53d6\u9519\u8bef!&quot; + e);\n    }\n}<\/code><\/pre>\n<h3>Redis<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f4c5bbc.png\" alt=\"\" \/><\/p>\n<h3>Tair<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f51d0e0.png\" alt=\"\" \/><\/p>\n<p>\u603b\u7ed3<\/p>\n<p><strong>\u901a\u8fc7\u76d1\u63a7\u62a5\u8868\u7684\u5206\u6790\uff0c\u4e3b\u8981\u7684\u5dee\u8ddd\u8fd8\u662f\u5728\u5e73\u5747\u65f6\u5ef6\u4e0a\uff0c\u5728\u5e76\u53d150\u60c5\u51b5\u4e0b\uff0cQPS\u8fbe\u52301000\u5de6\u53f3\u65f6\uff0credis\u7684\u5e73\u5747\u65f6\u5ef6\u8981\u6bd4Tair\u4f4e\u5f88\u591a\uff0c\u5199\u5165\u548c\u8bfb\u53d6\u65f6\u5ef6\u90fd\u6709\u6240\u5dee\u8ddd\u3002\u5176\u4ed6\u7684\u4e24\u8005\u5b8c\u5168\u76f8\u4f3c\u3002<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/rain1024.com\/wp-content\/uploads\/2023\/07\/post-1311-64aeb2f56f698.png\" alt=\"\" \/><\/p>\n<p><a href=\"https:\/\/developer.aliyun.com\/trainingcamp\/5fd706c381604c09bebaf774a6290c5a?spm=a2c6h.12883283.0.0.5f1f4307Aqn8to#free\">https:\/\/developer.aliyun.com\/trainingcamp\/5fd706c381604c09bebaf774a6290c5a?spm=a2c6h.12883283.0.0.5f1f4307Aqn8to#free<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65e0\u610f\u4e2d\u53d1\u73b0\u963f\u91cc\u4e91\u5f00\u53d1\u793e\u533a\u7684\u8bad\u7ec3\u8425\u6d3b\u52a8\uff0c\u5176\u4e2d\u6709\u4e00\u4e2a7\u5929\u73a9\u8f6cRedis\u3001tair\u8bad\u7ec3\u8425\u8ba1\u5212\uff0c\u91cc\u9762\u53ef\u4ee5\u514d\u8d39\u9886\u53d6\u4e09\u4e2a\u6708\u2026 <span class=\"read-more\"><a href=\"http:\/\/rain1024.com\/index.php\/2023\/07\/12\/%e9%98%bf%e9%87%8c%e4%ba%91redis%e4%b8%8etair%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%84\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":1313,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[108],"tags":[],"class_list":["post-1311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-redis"],"_links":{"self":[{"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/posts\/1311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/comments?post=1311"}],"version-history":[{"count":1,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/posts\/1311\/revisions"}],"predecessor-version":[{"id":1312,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/posts\/1311\/revisions\/1312"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/media\/1313"}],"wp:attachment":[{"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/media?parent=1311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/categories?post=1311"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/rain1024.com\/index.php\/wp-json\/wp\/v2\/tags?post=1311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}