{"id":228,"date":"2026-08-06T09:30:01","date_gmt":"2026-08-06T01:30:01","guid":{"rendered":"https:\/\/yykcj.com\/?p=228"},"modified":"2026-08-06T09:30:01","modified_gmt":"2026-08-06T01:30:01","slug":"node-js-%e6%80%a7%e8%83%bd%e8%b0%83%e4%bc%98%e5%ae%9e%e6%88%98%ef%bc%9a%e4%bb%8e%e8%af%8a%e6%96%ad%e5%88%b0%e4%bc%98%e5%8c%96%e7%9a%84%e5%ae%8c%e6%95%b4%e6%8c%87%e5%8d%97-3","status":"publish","type":"post","link":"https:\/\/yykcj.com\/?p=228","title":{"rendered":"Node.js \u6027\u80fd\u8c03\u4f18\u5b9e\u6218\uff1a\u4ece\u8bca\u65ad\u5230\u4f18\u5316\u7684\u5b8c\u6574\u6307\u5357"},"content":{"rendered":"<h2>\u5f15\u8a00<\/h2>\n<p>Node.js \u4ee5\u5176\u4e8b\u4ef6\u9a71\u52a8\u548c\u975e\u963b\u585e I\/O \u6a21\u578b\uff0c\u6210\u4e3a\u6784\u5efa\u9ad8\u5e76\u53d1\u5e94\u7528\u7684\u9996\u9009\u3002\u7136\u800c\uff0c\u968f\u7740\u4e1a\u52a1\u590d\u6742\u5ea6\u63d0\u5347\uff0c\u6027\u80fd\u95ee\u9898\u9010\u6e10\u66b4\u9732\uff1a\u54cd\u5e94\u53d8\u6162\u3001CPU \u98d9\u5347\u3001\u5185\u5b58\u6cc4\u6f0f\u2026\u2026\u5982\u4f55\u7cfb\u7edf\u6027\u5730\u8fdb\u884c\u6027\u80fd\u8c03\u4f18\uff1f\u672c\u6587\u5c06\u4ece\u8bca\u65ad\u5de5\u5177\u5f00\u59cb\uff0c\u5e26\u4f60\u4e00\u6b65\u6b65\u5b9a\u4f4d\u548c\u89e3\u51b3\u5e38\u89c1\u7684\u6027\u80fd\u74f6\u9888\u3002<\/p>\n<h2>1. \u6027\u80fd\u8bca\u65ad\uff1a\u5148\u6d4b\u91cf\uff0c\u518d\u4f18\u5316<\/h2>\n<p>\u76f2\u76ee\u4f18\u5316\u662f\u6d6a\u8d39\u65f6\u95f4\u3002\u6211\u4eec\u9700\u8981\u5148\u7528\u5de5\u5177\u91cf\u5316\u95ee\u9898\u3002<\/p>\n<h3>1.1 \u5185\u7f6e\u5de5\u5177\uff1a<code>--prof<\/code> \u548c <code>--trace-gc<\/code><\/h3>\n<p>Node.js \u5185\u7f6e\u4e86 V8 \u5206\u6790\u5668\uff0c\u53ef\u4ee5\u751f\u6210 CPU profile \u548c GC \u8ffd\u8e2a\u3002<\/p>\n<pre><code class=\"language-bash\">\nnode --prof app.js\n# \u8fd0\u884c\u4e00\u6bb5\u65f6\u95f4\u540e\uff0c\u4f1a\u751f\u6210 isolate-0x...-v8.log \u6587\u4ef6\nnode --prof-process isolate-*.log &gt; processed.txt\n<\/code><\/pre>\n<p>\u67e5\u770b processed.txt\uff0c\u91cd\u70b9\u5173\u6ce8 <code>ticks<\/code> \u5360\u6bd4\u9ad8\u7684\u51fd\u6570\u3002<\/p>\n<h3>1.2 \u4f7f\u7528 Clinic.js \u5feb\u901f\u5b9a\u4f4d<\/h3>\n<p><a href=\"https:\/\/clinicjs.org\/\">Clinic.js<\/a> \u662f\u4e00\u5957\u53ef\u89c6\u5316\u8bca\u65ad\u5de5\u5177\uff0c\u7279\u522b\u9002\u5408\u5feb\u901f\u4e0a\u624b\u3002<\/p>\n<pre><code class=\"language-bash\">\nnpm install -g clinic\nclinic doctor -- node app.js\n<\/code><\/pre>\n<p>\u5b83\u4f1a\u81ea\u52a8\u751f\u6210\u62a5\u544a\uff0c\u6307\u51fa CPU\u3001\u5185\u5b58\u6216 I\/O \u74f6\u9888\u3002<\/p>\n<h3>1.3 \u706b\u7130\u56fe\uff1a\u76f4\u89c2\u5c55\u793a\u8c03\u7528\u6808<\/h3>\n<p>\u4f7f\u7528 <code>0x<\/code> \u5de5\u5177\u751f\u6210\u706b\u7130\u56fe\uff1a<\/p>\n<pre><code class=\"language-bash\">\nnpm install -g 0x\n0x app.js\n<\/code><\/pre>\n<p>\u706b\u7130\u56fe\u80fd\u8ba9\u4f60\u4e00\u773c\u770b\u51fa\u54ea\u4e2a\u51fd\u6570\u5360\u7528 CPU \u6700\u591a\u3002<\/p>\n<h2>2. \u4f18\u5316 CPU \u5bc6\u96c6\u578b\u4efb\u52a1<\/h2>\n<h3>2.1 \u95ee\u9898\u573a\u666f\uff1a\u540c\u6b65 JSON \u89e3\u6790<\/h3>\n<p>\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a HTTP \u670d\u52a1\uff0c\u9700\u8981\u89e3\u6790\u5927\u578b JSON \u6570\u636e\uff1a<\/p>\n<pre><code class=\"language-javascript\">\nconst http = require(&#x27;http&#x27;);\nconst server = http.createServer((req, res) =&gt; {\n  \/\/ \u6a21\u62df\u63a5\u6536\u5927\u578b JSON \u5b57\u7b26\u4e32\n  let body = &#x27;&#x27;;\n  req.on(&#x27;data&#x27;, chunk =&gt; body += chunk);\n  req.on(&#x27;end&#x27;, () =&gt; {\n    const data = JSON.parse(body); \/\/ \u540c\u6b65\u89e3\u6790\uff0c\u963b\u585e\u4e8b\u4ef6\u5faa\u73af\n    res.end(JSON.stringify({ size: data.length }));\n  });\n});\nserver.listen(3000);\n<\/code><\/pre>\n<p>\u5f53 JSON \u5f88\u5927\u65f6\uff0c<code>JSON.parse<\/code> \u4f1a\u963b\u585e\u4e8b\u4ef6\u5faa\u73af\uff0c\u5bfc\u81f4\u5176\u4ed6\u8bf7\u6c42\u65e0\u6cd5\u5904\u7406\u3002<\/p>\n<h3>2.2 \u89e3\u51b3\u65b9\u6848\uff1a\u4f7f\u7528 <code>worker_threads<\/code><\/h3>\n<p><code>worker_threads<\/code> \u6a21\u5757\u53ef\u4ee5\u5c06\u8ba1\u7b97\u5bc6\u96c6\u578b\u4efb\u52a1\u653e\u5230\u72ec\u7acb\u7ebf\u7a0b\u4e2d\u3002<\/p>\n<pre><code class=\"language-javascript\">\n\/\/ \u4e3b\u8fdb\u7a0b\nconst { Worker } = require(&#x27;worker_threads&#x27;);\n\nfunction parseJSONAsync(jsonString) {\n  return new Promise((resolve, reject) =&gt; {\n    const worker = new Worker(`\n      const { parentPort, workerData } = require(&#x27;worker_threads&#x27;);\n      try {\n        const data = JSON.parse(workerData);\n        parentPort.postMessage(data);\n      } catch (err) {\n        parentPort.postMessage({ error: err.message });\n      }\n    `, { eval: true, workerData: jsonString });\n\n    worker.once(&#x27;message&#x27;, resolve);\n    worker.once(&#x27;error&#x27;, reject);\n  });\n}\n\n\/\/ \u4f7f\u7528\nhttp.createServer(async (req, res) =&gt; {\n  let body = &#x27;&#x27;;\n  req.on(&#x27;data&#x27;, chunk =&gt; body += chunk);\n  req.on(&#x27;end&#x27;, async () =&gt; {\n    const data = await parseJSONAsync(body);\n    res.end(JSON.stringify({ size: data.length }));\n  });\n});\n<\/code><\/pre>\n<p>\ud83d\udca1 <strong>\u6ce8\u610f<\/strong>\uff1a\u4e0d\u8981\u4e3a\u6bcf\u4e2a\u8bf7\u6c42\u521b\u5efa\u65b0 worker\uff0c\u6700\u597d\u4f7f\u7528 worker \u6c60\uff08\u5982 <code>piscina<\/code> \u5e93\uff09\u3002<\/p>\n<h3>2.3 \u5176\u4ed6\u4f18\u5316\uff1a\u4f7f\u7528\u66f4\u5feb\u7684\u5e93<\/h3>\n<ul>\n<li>\u7528 <code>fast-json-parse<\/code> \u66ff\u4ee3 <code>JSON.parse<\/code>\uff0c\u5b83\u4e0d\u4f1a\u629b\u5f02\u5e38\uff0c\u6027\u80fd\u66f4\u597d\u3002<\/li>\n<li>\u4f7f\u7528 <code>JSON.parse<\/code> \u7684\u66ff\u4ee3\u54c1 <code>json-bigint<\/code> \u5904\u7406\u5927\u6570\u3002<\/li>\n<\/ul>\n<h2>3. \u5185\u5b58\u6cc4\u6f0f\u5b9a\u4f4d\u4e0e\u4fee\u590d<\/h2>\n<h3>3.1 \u75c7\u72b6<\/h3>\n<p>\u5185\u5b58\u5360\u7528\u6301\u7eed\u589e\u957f\uff0c\u6700\u7ec8\u5bfc\u81f4\u8fdb\u7a0b\u5d29\u6e83\uff08OOM\uff09\u3002<\/p>\n<h3>3.2 \u8bca\u65ad\uff1a\u4f7f\u7528 <code>heapdump<\/code> \u548c <code>--inspect<\/code><\/h3>\n<pre><code class=\"language-bash\">\nnpm install heapdump\n<\/code><\/pre>\n<p>\u5728\u4ee3\u7801\u4e2d\u624b\u52a8\u89e6\u53d1\u5806\u8f6c\u50a8\uff1a<\/p>\n<pre><code class=\"language-javascript\">\nconst heapdump = require(&#x27;heapdump&#x27;);\n\n\/\/ \u5728\u53ef\u7591\u4f4d\u7f6e\nheapdump.writeSnapshot((err, filename) =&gt; {\n  console.log(&#x27;Heap dump written to&#x27;, filename);\n});\n<\/code><\/pre>\n<p>\u7136\u540e\u4f7f\u7528 Chrome DevTools \u7684 Memory \u9762\u677f\u5206\u6790\u5806\u5feb\u7167\u3002<\/p>\n<h3>3.3 \u5e38\u89c1\u6cc4\u6f0f\u70b9\uff1a\u95ed\u5305\u548c\u5168\u5c40\u53d8\u91cf<\/h3>\n<pre><code class=\"language-javascript\">\n\/\/ \u6cc4\u6f0f\u793a\u4f8b\nconst cache = {};\n\nfunction processRequest(id) {\n  cache[id] = { data: new Array(10000).join(&#x27;x&#x27;) }; \/\/ \u4e00\u76f4\u5f80\u5168\u5c40\u5bf9\u8c61\u585e\u6570\u636e\n}\n<\/code><\/pre>\n<p>\u4fee\u590d\uff1a\u4f7f\u7528 <code>WeakMap<\/code> \u6216\u5b9a\u671f\u6e05\u7406\u3002<\/p>\n<pre><code class=\"language-javascript\">\nconst cache = new WeakMap();\n<\/code><\/pre>\n<h3>3.4 \u4f7f\u7528 <code>--max-old-space-size<\/code> \u8c03\u6574\u5806\u5927\u5c0f<\/h3>\n<pre><code class=\"language-bash\">\nnode --max-old-space-size=4096 app.js\n<\/code><\/pre>\n<p>\u4f46\u8c03\u6574\u5927\u5c0f\u53ea\u662f\u6cbb\u6807\uff0c\u6839\u672c\u662f\u627e\u5230\u6cc4\u6f0f\u70b9\u3002<\/p>\n<h2>4. I\/O \u4f18\u5316\uff1a\u63d0\u5347\u5e76\u53d1\u5904\u7406\u80fd\u529b<\/h2>\n<h3>4.1 \u4f7f\u7528 <code>Promise.all<\/code> \u5e76\u53d1\u6267\u884c I\/O<\/h3>\n<pre><code class=\"language-javascript\">\n\/\/ \u4e32\u884c\nconst result1 = await db.query(&#x27;SELECT ...&#x27;);\nconst result2 = await db.query(&#x27;SELECT ...&#x27;);\n\n\/\/ \u5e76\u884c\nconst [result1, result2] = await Promise.all([\n  db.query(&#x27;SELECT ...&#x27;),\n  db.query(&#x27;SELECT ...&#x27;)\n]);\n<\/code><\/pre>\n<h3>4.2 \u63a7\u5236\u5e76\u53d1\u6570\uff1a\u4f7f\u7528 <code>p-limit<\/code><\/h3>\n<p>\u5982\u679c\u5e76\u53d1\u592a\u591a\uff0c\u53ef\u80fd\u538b\u57ae\u6570\u636e\u5e93\u3002\u4f7f\u7528 <code>p-limit<\/code> \u63a7\u5236\uff1a<\/p>\n<pre><code class=\"language-javascript\">\nconst pLimit = require(&#x27;p-limit&#x27;);\nconst limit = pLimit(10); \/\/ \u6700\u591a 10 \u4e2a\u5e76\u53d1\n\nconst tasks = urls.map(url =&gt; limit(() =&gt; fetch(url)));\nconst results = await Promise.all(tasks);\n<\/code><\/pre>\n<h3>4.3 \u6d41\u5f0f\u5904\u7406\u5927\u6587\u4ef6<\/h3>\n<p>\u4f7f\u7528 <code>stream<\/code> \u800c\u4e0d\u662f\u4e00\u6b21\u6027\u8bfb\u53d6\u6574\u4e2a\u6587\u4ef6\uff1a<\/p>\n<pre><code class=\"language-javascript\">\nconst fs = require(&#x27;fs&#x27;);\nconst readline = require(&#x27;readline&#x27;);\n\nconst rl = readline.createInterface({\n  input: fs.createReadStream(&#x27;large.log&#x27;),\n  crlfDelay: Infinity\n});\n\nrl.on(&#x27;line&#x27;, (line) =&gt; {\n  \/\/ \u5904\u7406\u6bcf\u4e00\u884c\n});\n<\/code><\/pre>\n<h2>5. \u4f7f\u7528\u7f13\u5b58\u51cf\u5c11\u91cd\u590d\u8ba1\u7b97<\/h2>\n<h3>5.1 \u5185\u5b58\u7f13\u5b58\uff1a<code>node-cache<\/code><\/h3>\n<pre><code class=\"language-javascript\">\nconst NodeCache = require(&#x27;node-cache&#x27;);\nconst myCache = new NodeCache({ stdTTL: 600 }); \/\/ 10\u5206\u949f\n\nfunction getData(key) {\n  let value = myCache.get(key);\n  if (value === undefined) {\n    value = expensiveOperation(key);\n    myCache.set(key, value);\n  }\n  return value;\n}\n<\/code><\/pre>\n<h3>5.2 \u5206\u5e03\u5f0f\u7f13\u5b58\uff1aRedis<\/h3>\n<pre><code class=\"language-javascript\">\nconst redis = require(&#x27;redis&#x27;);\nconst client = redis.createClient();\n\nasync function getData(key) {\n  let value = await client.get(key);\n  if (value === null) {\n    value = await expensiveOperation(key);\n    await client.set(key, value, { EX: 600 });\n  }\n  return value;\n}\n<\/code><\/pre>\n<h2>6. \u4f7f\u7528\u96c6\u7fa4\u5145\u5206\u5229\u7528\u591a\u6838 CPU<\/h2>\n<p>Node.js \u5355\u8fdb\u7a0b\u53ea\u80fd\u7528\u4e00\u4e2a CPU \u6838\u5fc3\uff0c\u901a\u8fc7 <code>cluster<\/code> \u6a21\u5757\u53ef\u4ee5\u542f\u52a8\u591a\u4e2a\u8fdb\u7a0b\u3002<\/p>\n<pre><code class=\"language-javascript\">\nconst cluster = require(&#x27;cluster&#x27;);\nconst os = require(&#x27;os&#x27;);\n\nif (cluster.isMaster) {\n  const numWorkers = os.cpus().length;\n  for (let i = 0; i &lt; numWorkers; i++) {\n    cluster.fork();\n  }\n  cluster.on(&#x27;exit&#x27;, (worker) =&gt; {\n    console.log(&#x27;Worker died, restarting...&#x27;);\n    cluster.fork();\n  });\n} else {\n  \/\/ \u542f\u52a8\u5e94\u7528\n  const http = require(&#x27;http&#x27;);\n  http.createServer((req, res) =&gt; {\n    res.end(&#x27;Hello World&#x27;);\n  }).listen(3000);\n}\n<\/code><\/pre>\n<p>\ud83d\udca1 <strong>\u63d0\u793a<\/strong>\uff1a\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u4f7f\u7528 PM2 \u7ba1\u7406\u8fdb\u7a0b\uff0c\u5b83\u5185\u7f6e\u4e86\u96c6\u7fa4\u548c\u8d1f\u8f7d\u5747\u8861\u3002<\/p>\n<h2>7. \u6027\u80fd\u76d1\u63a7\u548c\u9884\u8b66<\/h2>\n<h3>7.1 \u4f7f\u7528 <code>process<\/code> \u4e8b\u4ef6\u76d1\u63a7\u5185\u5b58<\/h3>\n<pre><code class=\"language-javascript\">\nconst memoryUsage = process.memoryUsage();\nconsole.log(`RSS: ${memoryUsage.rss \/ 1024 \/ 1024} MB`);\n<\/code><\/pre>\n<h3>7.2 \u96c6\u6210 APM \u5de5\u5177<\/h3>\n<ul>\n<li>New Relic<\/li>\n<li>Datadog<\/li>\n<li>\u963f\u91cc\u4e91 ARMS<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u5de5\u5177\u80fd\u5b9e\u65f6\u76d1\u63a7\u5e94\u7528\u6027\u80fd\u5e76\u62a5\u8b66\u3002<\/p>\n<h2>8. \u5e38\u89c1\u5751\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h2>\n<h3>8.1 \u4e0d\u8981\u963b\u585e\u4e8b\u4ef6\u5faa\u73af<\/h3>\n<p>\u907f\u514d\u5728\u56de\u8c03\u4e2d\u6267\u884c\u540c\u6b65 CPU \u5bc6\u96c6\u64cd\u4f5c\uff0c\u5982 <code>crypto<\/code> \u7684\u540c\u6b65\u65b9\u6cd5\u3002<\/p>\n<h3>8.2 \u4f7f\u7528 <code>async<\/code> \u5e93\u63a7\u5236\u6d41\u7a0b<\/h3>\n<p>\u8001\u751f\u5e38\u8c08\uff0c\u4f46 <code>async<\/code> \u5e93\u7684 <code>eachLimit<\/code> \u7b49\u51fd\u6570\u4ecd\u7136\u597d\u7528\u3002<\/p>\n<h3>8.3 \u8bbe\u7f6e <code>NODE_ENV=production<\/code><\/h3>\n<p>\u751f\u4ea7\u73af\u5883\u4f1a\u542f\u7528 V8 \u7684\u4f18\u5316\uff0c\u6027\u80fd\u63d0\u5347\u660e\u663e\u3002<\/p>\n<h3>8.4 \u4f7f\u7528 <code>--max-http-header-size<\/code> \u8c03\u6574\u8bf7\u6c42\u5934\u5927\u5c0f<\/h3>\n<p>\u5982\u679c\u8bf7\u6c42\u5934\u5f88\u5927\uff0c\u9ed8\u8ba4 8KB \u53ef\u80fd\u4e0d\u591f\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u6027\u80fd\u8c03\u4f18\u662f\u4e00\u4e2a\u7cfb\u7edf\u6027\u7684\u5de5\u7a0b\uff0c\u9700\u8981\u5148\u6d4b\u91cf\u518d\u4f18\u5316\u3002\u672c\u6587\u4ece\u8bca\u65ad\u5de5\u5177\u5165\u624b\uff0c\u8986\u76d6\u4e86 CPU \u5bc6\u96c6\u3001\u5185\u5b58\u6cc4\u6f0f\u3001I\/O \u5e76\u53d1\u548c\u96c6\u7fa4\u90e8\u7f72\u7b49\u6838\u5fc3\u573a\u666f\u3002\u8bb0\u4f4f\uff1a\u4f18\u5316\u8981\u57fa\u4e8e\u6570\u636e\uff0c\u4e0d\u8981\u8fc7\u5ea6\u8bbe\u8ba1\u3002<\/p>\n<p>\u4e0b\u4e00\u6b65\uff0c\u4f60\u53ef\u4ee5\u6df1\u5165\u5b66\u4e60 V8 \u5f15\u64ce\u7684\u4f18\u5316\u673a\u5236\uff0c\u6216\u8005\u5c1d\u8bd5\u4f7f\u7528 <code>bun<\/code> \u7b49\u65b0\u5174\u8fd0\u884c\u65f6\u3002\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u52a9\u4f60\u6784\u5efa\u66f4\u9ad8\u6027\u80fd\u7684 Node.js \u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4ece\u6027\u80fd\u8bca\u65ad\u5165\u624b\uff0c\u901a\u8fc7\u771f\u5b9e\u6848\u4f8b\u5c55\u793a\u5982\u4f55\u5b9a\u4f4d CPU \u5bc6\u96c6\u3001\u5185\u5b58\u6cc4\u6f0f\u548c I\/O \u74f6\u9888\uff0c\u5e76\u7ed9\u51fa\u5b9e\u7528\u7684\u4f18\u5316\u6280\u5de7\u548c\u4ee3\u7801\u793a\u4f8b\uff0c\u5e2e\u52a9\u4f60\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u63d0\u5347 Node.js \u5e94\u7528\u6027\u80fd\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4],"tags":[5,188,8,6,187],"class_list":["post-228","post","type-post","status-publish","format-standard","hentry","category-3","category-4","tag-node-js","tag-worker_threads","tag-8","tag-6","tag-187"],"_links":{"self":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=228"}],"version-history":[{"count":0,"href":"https:\/\/yykcj.com\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions"}],"wp:attachment":[{"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yykcj.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}