{"id":10020800,"date":"2025-05-22T18:11:14","date_gmt":"2025-05-22T10:11:14","guid":{"rendered":"https:\/\/itmax.cn\/?p=10020800"},"modified":"2025-05-22T18:11:14","modified_gmt":"2025-05-22T10:11:14","slug":"%e5%a4%a7%e5%8e%82%e5%a4%96%e5%8c%85vs%e5%b0%8f%e5%85%ac%e5%8f%b8%ef%bc%8c%e4%bd%a0%e4%bc%9a%e6%80%8e%e4%b9%88%e9%80%89%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10020800","title":{"rendered":"\u5927\u5382\u5916\u5305VS\u5c0f\u516c\u53f8\uff0c\u4f60\u4f1a\u600e\u4e48\u9009\uff1f"},"content":{"rendered":"<p>\u5f88\u591a\u670b\u53cb\u5728\u627e\u5de5\u4f5c\u7684\u65f6\u5019\u90fd\u4f1a\u9047\u5230\u5404\u79cd\u5916\u5305\u5c97\uff0c\u4eca\u5929\u5206\u4eab\u7684\u9762\u7ecf\u5c31\u662f\u51fa\u81ea<a href=\"https:\/\/link.segmentfault.com\/?enc=AwFux%2FrE0oj8jqj2dLM01A%3D%3D.SPVY5EUYStab2nOKGsERAwiABvCnak6RzL3Xt9ZMgaHPSXlRoAqTlzZ9ZlNz79vsJxy6X0KnmZNzFbd7CuPfzg%3D%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">\u7ec4\u7ec7\u5185\u90e8<\/a>\u7684\u670b\u53cb\u5728<strong>\u767e\u5ea6\u5916\u5305<\/strong>\u7684\u9762\u8bd5\uff1b<\/p>\n<p>\u770b\u5230\u8fd9\u4e2a\u5c97\u4f4d\u6211\u5c31\u6709\u70b9\u597d\u5947\uff0c\u5982\u679c<strong>\u540c\u65f6\u62ff\u5230\u4e86\u5927\u5382\u5916\u5305\u7684offer\u548c\u5c0f\u516c\u53f8\u7684offe<\/strong>r\uff0c\u4f60\u4eec\u4f1a\u600e\u4e48\u9009\uff1f\u6b22\u8fce\u5927\u5bb6\u7559\u8a00\u8ba8\u8bba\u3002<\/p>\n<h2>\u9762\u7ecf\u8be6\u89e3<\/h2>\n<h3>1. \u81ea\u6211\u4ecb\u7ecd<\/h3>\n<blockquote><p>\u4e00\u5b9a\u8981\u63d0\u524d\u51c6\u5907\u597d\uff0c\u65f6\u95f4\u63a7\u5236\u57282~3\u5206\u949f\uff0c\u4e0d\u8981\u8bf4\u592a\u591a\u4e5f\u4e0d\u8981\u8bf4\u592a\u5c11\u3002<\/p><\/blockquote>\n<h3>2. make\u7684\u4f5c\u7528<\/h3>\n<p><code>make<\/code> \u662f Go \u8bed\u8a00\u4e2d\u7528\u4e8e\u521d\u59cb\u5316\u5207\u7247\uff08slice\uff09\u3001\u6620\u5c04\uff08map\uff09\u548c\u901a\u9053\uff08channel\uff09\u7684\u5185\u7f6e\u51fd\u6570\u3002\u5177\u4f53\u4f5c\u7528\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li><strong>\u5207\u7247<\/strong>\uff1a\u5206\u914d\u5e95\u5c42\u6570\u7ec4\u5e76\u521d\u59cb\u5316\u5207\u7247\u7ed3\u6784\uff08\u957f\u5ea6\u3001\u5bb9\u91cf\u3001\u6307\u9488\uff09\u3002<\/li>\n<li><strong>\u6620\u5c04<\/strong>\uff1a\u5206\u914d\u54c8\u5e0c\u8868\u5e76\u521d\u59cb\u5316\u3002<\/li>\n<li><strong>\u901a\u9053<\/strong>\uff1a\u521b\u5efa\u7528\u4e8e\u534f\u7a0b\u95f4\u901a\u4fe1\u7684\u901a\u9053\u3002  <br \/><code>make<\/code> \u7684\u53c2\u6570\u6839\u636e\u7c7b\u578b\u4e0d\u540c\u800c\u53d8\u5316\uff1a<\/li>\n<li>\u5207\u7247\uff1a<code>make([]T, length, capacity)<\/code>\uff08\u5bb9\u91cf\u53ef\u9009\uff09\u3002<\/li>\n<li>\u6620\u5c04\uff1a<code>make(map[K]V, initialCapacity)<\/code>\uff08\u521d\u59cb\u5bb9\u91cf\u53ef\u9009\uff09\u3002<\/li>\n<li>\u901a\u9053\uff1a<code>make(chan T, bufferSize)<\/code>\uff08\u7f13\u51b2\u533a\u5927\u5c0f\u53ef\u9009\uff09\u3002<\/li>\n<\/ul>\n<hr>\n<h3>3. make\u7684\u5bb9\u91cf<\/h3>\n<p>\u5bb9\u91cf\u7684\u542b\u4e49\u6839\u636e\u7c7b\u578b\u4e0d\u540c\u800c\u4e0d\u540c\uff1a<\/p>\n<ul>\n<li><strong>\u5207\u7247<\/strong>\uff1a\u5bb9\u91cf\u8868\u793a\u5e95\u5c42\u6570\u7ec4\u7684\u603b\u5927\u5c0f\uff0c\u5fc5\u987b \u2265 \u957f\u5ea6\u3002\u4f8b\u5982\uff0c<code>make([]int, 5, 10)<\/code> \u521b\u5efa\u4e00\u4e2a\u957f\u5ea6\u4e3a 5\u3001\u5bb9\u91cf\u4e3a 10 \u7684\u5207\u7247\u3002<\/li>\n<li><strong>\u901a\u9053<\/strong>\uff1a\u5bb9\u91cf\u8868\u793a\u7f13\u51b2\u533a\u5927\u5c0f\uff0c\u5373\u901a\u9053\u5728\u963b\u585e\u524d\u53ef\u5b58\u50a8\u7684\u5143\u7d20\u6570\u3002\u4f8b\u5982\uff0c<code>make(chan int, 5)<\/code> \u521b\u5efa\u4e00\u4e2a\u7f13\u51b2\u533a\u4e3a 5 \u7684\u901a\u9053\u3002<\/li>\n<li>\u6620\u5c04\u7684\u5bb9\u91cf\uff08<code>make(map[K]V, capacity)<\/code>\uff09\u8868\u793a\u521d\u59cb\u54c8\u5e0c\u8868\u7684\u7a7a\u95f4\u9884\u5206\u914d\uff0c\u4f46\u6620\u5c04\u7684\u5b9e\u9645\u5bb9\u91cf\u4f1a\u52a8\u6001\u8c03\u6574\u3002<\/li>\n<\/ul>\n<hr>\n<h3>4. channel\u6709\u51e0\u79cd\u7c7b\u578b<\/h3>\n<p>Channel \u7684\u7c7b\u578b\u5206\u4e3a\u4ee5\u4e0b\u4e09\u79cd\uff1a<\/p>\n<ol>\n<li><strong>\u53cc\u5411\u901a\u9053<\/strong>\uff1a\u9ed8\u8ba4\u7c7b\u578b\uff0c\u53ef\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\uff0c\u4f8b\u5982 <code>chan int<\/code>\u3002<\/li>\n<li><strong>\u53ea\u8bfb\u901a\u9053<\/strong>\uff08<code>&lt;-chan T<\/code>\uff09\uff1a\u4ec5\u80fd\u63a5\u6536\u6570\u636e\u3002<\/li>\n<li>\n<p><strong>\u53ea\u5199\u901a\u9053<\/strong>\uff08<code>chan&lt;- T<\/code>\uff09\uff1a\u4ec5\u80fd\u53d1\u9001\u6570\u636e\u3002  <br \/>\u901a\u8fc7\u7c7b\u578b\u8f6c\u6362\u53ef\u5b9e\u73b0\u53ea\u8bfb\u6216\u53ea\u5199\u7684\u9650\u5236\uff0c\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"go\">ch := make(chan int)\nvar readOnly &lt;-chan int = ch   \/\/ \u53ea\u8bfb\nvar writeOnly chan&lt;- int = ch  \/\/ \u53ea\u5199<\/code><\/pre>\n<\/li>\n<\/ol>\n<hr>\n<h3>5. \u5b9e\u9645\u5e94\u7528\u6700\u5e38\u7528\u54ea\u79cd<\/h3>\n<p>\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c<strong>\u5e26\u7f13\u51b2\u533a\u7684\u53cc\u5411\u901a\u9053<\/strong>\u6700\u5e38\u89c1\u3002\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li><strong>\u4efb\u52a1\u961f\u5217<\/strong>\uff1a\u901a\u8fc7\u7f13\u51b2\u901a\u9053\u5b9e\u73b0\u5f02\u6b65\u5904\u7406\uff0c\u63d0\u5347\u541e\u5410\u91cf\uff08\u5982 <code>make(chan Task, 100)<\/code>\uff09\u3002<\/li>\n<li><strong>\u6d41\u91cf\u63a7\u5236<\/strong>\uff1a\u7ed3\u5408 <code>select<\/code> \u548c\u7f13\u51b2\u533a\u9650\u5236\u5e76\u53d1\u6570\u3002  <br \/>\u65e0\u7f13\u51b2\u901a\u9053\u591a\u7528\u4e8e\u540c\u6b65\u573a\u666f\uff08\u5982\u4fe1\u53f7\u901a\u77e5\uff09\uff0c\u4f46\u5e26\u7f13\u51b2\u7684\u901a\u9053\u66f4\u7075\u6d3b\u4e14\u6027\u80fd\u66f4\u4f18\u3002<\/li>\n<\/ul>\n<hr>\n<h3>6. \u5e76\u53d1\u7f16\u7a0b\u5e38\u7528\u6307\u4ee4<\/h3>\n<ol>\n<li><strong>\u534f\u7a0b\u521b\u5efa<\/strong>\uff1a<code>go func() { ... }()<\/code>\u3002<\/li>\n<li>\n<p><strong>\u901a\u9053\u64cd\u4f5c<\/strong>\uff1a<\/p>\n<ul>\n<li>\u53d1\u9001\u6570\u636e\uff1a<code>ch &lt;- data<\/code>\u3002<\/li>\n<li>\u63a5\u6536\u6570\u636e\uff1a<code>data := &lt;-ch<\/code>\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u540c\u6b65\u5de5\u5177<\/strong>\uff1a<\/p>\n<ul>\n<li><code>sync.WaitGroup<\/code>\uff1a\u7b49\u5f85\u591a\u4e2a\u534f\u7a0b\u5b8c\u6210\uff08<code>Add()<\/code>, <code>Done()<\/code>, <code>Wait()<\/code>\uff09\u3002<\/li>\n<li><code>sync.Mutex<\/code>\/<code>sync.RWMutex<\/code>\uff1a\u4fdd\u62a4\u5171\u4eab\u8d44\u6e90\u3002<\/li>\n<li><code>sync.Map<\/code>\uff1a\u7ebf\u7a0b\u5b89\u5168\u7684\u6620\u5c04\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u901a\u9053\u9009\u62e9<\/strong>\uff1a<code>select<\/code> \u5904\u7406\u591a\u901a\u9053\u64cd\u4f5c\u3002<\/li>\n<li><strong>\u539f\u5b50\u64cd\u4f5c<\/strong>\uff1a<code>sync\/atomic<\/code> \u5305\u63d0\u4f9b\u539f\u5b50\u8bfb\u5199\uff08\u5982 <code>atomic.AddInt32()<\/code>\uff09\u3002<\/li>\n<\/ol>\n<hr>\n<h3>7. \u4ee3\u7801\u9898\uff1a\u5e76\u53d1\u8bf7\u6c42\u4e0b\u6e38\u5e76\u63a7\u5236 QPS<\/h3>\n<p><strong>\u9700\u6c42<\/strong>\uff1a\u8bfb\u53d6\u6587\u4ef6\u4e2d\u7684\u8bf7\u6c42\u4fe1\u606f\uff0c\u5e76\u53d1\u8bf7\u6c42\u4e0b\u6e38\u670d\u52a1\uff0c\u63a7\u5236\u6bcf\u79d2\u8bf7\u6c42\u6570\uff08QPS\uff09\u3002  <br \/><strong>\u5b9e\u73b0\u793a\u4f8b<\/strong>\uff1a<\/p>\n<pre><code class=\"go\">func main() {\n    limiter := rate.NewLimiter(rate.Every(time.Second), 10) \/\/ QPS=10\n\n    file, _ := os.Open(&quot;requests.txt&quot;)\n    defer file.Close()\n\n    scanner := bufio.NewScanner(file)\n    for scanner.Scan() {\n        req := scanner.Text()\n        go func(r string) {\n            ctx := context.Background()\n            limiter.Wait(ctx) \/\/ \u7b49\u5f85\u4ee4\u724c\n            callDownstream(r)\n        }(req)\n    }\n}\n\nfunc callDownstream(request string) {\n    \/\/ \u53d1\u9001\u8bf7\u6c42\u903b\u8f91\n}<\/code><\/pre>\n<p><strong>\u5173\u952e\u70b9<\/strong>\uff1a<\/p>\n<ul>\n<li>\u4f7f\u7528 <code>rate.Limiter<\/code> \u63a7\u5236 QPS\u3002<\/li>\n<li>\u534f\u7a0b\u6c60\u6216\u5e26\u7f13\u51b2\u901a\u9053\u53ef\u8fdb\u4e00\u6b65\u4f18\u5316\u8d44\u6e90\u7ba1\u7406\u3002<\/li>\n<\/ul>\n<hr>\n<h3>8. \u6570\u636e\u5e93\u5e38\u7528\u7528\u6cd5<\/h3>\n<h4>8.1 \u8868\u8bbe\u8ba1<\/h4>\n<ol>\n<li><strong>\u4e1a\u52a1\u62c6\u5206<\/strong>\uff1a\u901a\u8fc7\u903b\u8f91\u5916\u952e\u5173\u8054\uff08\u5982\u7528\u6237\u8868\u4e0e\u8ba2\u5355\u8868\uff09\u3002<\/li>\n<li>\n<p><strong>\u5b57\u6bb5\u8bbe\u8ba1<\/strong>\uff1a<\/p>\n<ul>\n<li><code>NOT NULL<\/code> \u7ea6\u675f\u907f\u514d\u7a7a\u503c\u3002<\/li>\n<li>\u5408\u7406\u9009\u62e9\u7c7b\u578b\uff08\u5982 <code>INT<\/code> vs <code>VARCHAR<\/code>\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u7d22\u5f15\u4f18\u5316<\/strong>\uff1a\u9ad8\u9891\u67e5\u8be2\u5b57\u6bb5\uff08\u5982\u7528\u6237 ID\uff09\u6dfb\u52a0\u7d22\u5f15\u3002<\/li>\n<li><strong>\u5206\u5e93\u5206\u8868<\/strong>\uff1a\u6570\u636e\u91cf\u5927\u65f6\u6309\u54c8\u5e0c\u6216\u8303\u56f4\u5206\u7247\u3002<\/li>\n<\/ol>\n<h4>8.2 \u5e76\u53d1\u63a7\u5236<\/h4>\n<ol>\n<li><strong>\u8bfb\u5199\u5206\u79bb<\/strong>\uff1a\u4e3b\u5e93\u5199\uff0c\u4ece\u5e93\u8bfb\u3002<\/li>\n<li><strong>\u7f13\u5b58\u70ed\u70b9\u6570\u636e<\/strong>\uff1aRedis \u7f13\u5b58\u9ad8\u9891\u67e5\u8be2\u7ed3\u679c\u3002<\/li>\n<li><strong>\u6d41\u91cf\u524a\u5cf0<\/strong>\uff1aKafka \u5f02\u6b65\u5904\u7406\u8bf7\u6c42\u3002<\/li>\n<\/ol>\n<hr>\n<h3>9. \u6162\u67e5\u8be2\u4f18\u5316<\/h3>\n<h4>9.1 SQL \u4f18\u5316<\/h4>\n<ol>\n<li><strong>\u7cbe\u7b80\u67e5\u8be2\u5b57\u6bb5<\/strong>\uff1a\u907f\u514d <code>SELECT *<\/code>\u3002<\/li>\n<li><strong>\u4f18\u5316 JOIN<\/strong>\uff1a\u907f\u514d\u591a\u5c42\u5b50\u67e5\u8be2\u3002<\/li>\n<li><strong>\u5206\u9875\u4f18\u5316<\/strong>\uff1a\u7528 <code>WHERE id &gt; ?<\/code> \u66ff\u4ee3 <code>OFFSET<\/code>\u3002<\/li>\n<\/ol>\n<h4>9.2 \u7d22\u5f15\u4f18\u5316<\/h4>\n<ol>\n<li><strong>\u6dfb\u52a0\u7d22\u5f15<\/strong>\uff1a\u8986\u76d6\u67e5\u8be2\u5b57\u6bb5\u3002<\/li>\n<li>\n<p><strong>\u907f\u514d\u5931\u6548\u573a\u666f<\/strong>\uff1a<\/p>\n<ul>\n<li>\u51fd\u6570\u8ba1\u7b97\uff08\u5982 <code>WHERE YEAR(create_time) = 2023<\/code>\uff09\u3002<\/li>\n<li>\u6a21\u7cca\u67e5\u8be2\uff08\u5982 <code>LIKE '%keyword%'<\/code>\uff09\u3002<\/li>\n<li>\u9690\u5f0f\u7c7b\u578b\u8f6c\u6362\uff08\u5982\u5b57\u7b26\u4e32\u5b57\u6bb5\u7528\u6570\u5b57\u67e5\u8be2\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4>9.3 \u67b6\u6784\u4f18\u5316<\/h4>\n<p>\u5206\u5e93\u5206\u8868\u3001\u8bfb\u5199\u5206\u79bb\u5206\u6563\u538b\u529b\u3002<\/p>\n<hr>\n<h3>10. Redis \u6570\u636e\u7c7b\u578b<\/h3>\n<ol>\n<li><strong>String<\/strong>\uff1a\u5b57\u7b26\u4e32\u3001\u6574\u6570\u3002<\/li>\n<li><strong>List<\/strong>\uff1a\u6709\u5e8f\u5217\u8868\uff0c\u652f\u6301\u53cc\u5411\u64cd\u4f5c\u3002<\/li>\n<li><strong>Hash<\/strong>\uff1a\u952e\u503c\u5bf9\u96c6\u5408\uff0c\u9002\u5408\u5b58\u50a8\u5bf9\u8c61\u3002<\/li>\n<li><strong>Set<\/strong>\uff1a\u65e0\u5e8f\u552f\u4e00\u96c6\u5408\u3002<\/li>\n<li><strong>ZSet<\/strong>\uff1a\u6709\u5e8f\u96c6\u5408\uff0c\u6309\u5206\u6570\u6392\u5e8f\u3002<\/li>\n<\/ol>\n<hr>\n<h3>11. Hash \u7684\u5178\u578b\u4f7f\u7528\u573a\u666f<\/h3>\n<ul>\n<li><strong>\u5b58\u50a8\u5bf9\u8c61<\/strong>\uff1a\u5982\u7528\u6237\u4fe1\u606f\uff08\u5b57\u6bb5\u4e3a <code>name<\/code>, <code>age<\/code>\uff09\u3002<\/li>\n<li><strong>\u914d\u7f6e\u7ba1\u7406<\/strong>\uff1a\u591a\u4e2a\u952e\u503c\u5bf9\u7684\u9ad8\u6548\u5b58\u53d6\u3002<\/li>\n<li><strong>\u7f13\u5b58\u7ec4\u5408\u6570\u636e<\/strong>\uff1a\u907f\u514d\u5e8f\u5217\u5316\u6574\u4e2a\u5bf9\u8c61\u3002<\/li>\n<\/ul>\n<hr>\n<h3>12. \u4ee3\u7801\u9898\uff1a\u6709\u5e8f\u6570\u7ec4\u67e5\u627e\uff08\u4e8c\u5206\u6cd5\uff09<\/h3>\n<pre><code class=\"go\">func binarySearch(nums []int, target int) int {\n    left, right := 0, len(nums)-1\n    for left &lt;= right {\n        mid := left + (right-left)\/2\n        if nums[mid] == target {\n            return mid\n        } else if nums[mid] &lt; target {\n            left = mid + 1\n        } else {\n            right = mid - 1\n        }\n    }\n    return -1\n}<\/code><\/pre>\n<p><strong>\u8981\u70b9<\/strong>\uff1a<\/p>\n<ul>\n<li>\u5faa\u73af\u6761\u4ef6 <code>left &lt;= right<\/code>\u3002<\/li>\n<li>\u4e2d\u95f4\u503c\u8ba1\u7b97\u9632\u6ea2\u51fa\uff08<code>mid := left + (right-left)\/2<\/code>\uff09\u3002<\/li>\n<\/ul>\n<h2>\u65e9\u65e5\u4e0a\u5cb8\uff01<\/h2>\n<p>\u6211\u4eec\u641e\u4e86\u4e00\u4e2a<strong>\u514d\u8d39\u7684\u9762\u8bd5\u771f\u9898\u5171\u4eab\u7fa4<\/strong>\uff0c\u4e92\u901a\u6709\u65e0\uff0c\u4e00\u8d77\u5237\u9898\u8fdb\u6b65\u3002<\/p>\n<p><strong>\u6ca1\u51c6\u80fd\u8ba9\u4f60\u80fd\u5237\u5230\u81ea\u5df1\u610f\u5411\u516c\u53f8\u7684\u6700\u65b0\u9762\u8bd5\u9898\u5462\u3002<\/strong><\/p>\n<p>\u611f\u5174\u8da3\u7684\u670b\u53cb\u4eec\u53ef\u4ee5\u52a0\u6211\u5fae\u4fe1\uff1a<strong>wangzhongyang1993<\/strong>\uff0c\u5907\u6ce8\uff1asf\u9762\u8bd5\u7fa4\u3002<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000046562683\">https:\/\/segmentfault.com\/a\/1190000046562683<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f88\u591a\u670b\u53cb\u5728\u627e\u5de5\u4f5c\u7684\u65f6\u5019\u90fd\u4f1a\u9047\u5230\u5404\u79cd\u5916\u5305\u5c97\uff0c\u4eca\u5929\u5206\u4eab\u7684\u9762\u7ecf\u5c31\u662f\u51fa\u81ea\u7ec4\u7ec7\u5185\u90e8\u7684\u670b\u53cb\u5728\u767e\u5ea6\u5916\u5305\u7684\u9762\u8bd5\uff1b \u770b\u5230\u8fd9\u4e2a\u5c97\u4f4d [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10020800","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020800","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10020800"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10020800\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10020800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10020800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10020800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}