[{"data":1,"prerenderedAt":3981},["ShallowReactive",2],{"navigation":3,"/document/kubernetes/management/storage":2685,"/document/kubernetes/management/storage-surround":3976},[4],{"title":5,"path":6,"stem":7,"children":8,"page":50},"Document","/document","document",[9,51,118,150,207,263,307,343,363,403,447,479,518,558,585,609,633,665,700,731,762,794,831,863,899,929,964,1000,1036,1075,1145,1233,1265,1296,1327,1355,1432,1472,1504,1544,1581,1613,1645,1742,1828,1901,1959,2101,2155,2194,2263,2317,2391,2462,2502,2560,2622],{"title":10,"path":11,"stem":12,"children":13,"page":50},"Html5","/document/html5","document/01.html5",[14,42],{"title":15,"path":16,"stem":17,"children":18,"icon":41},"指南","/document/html5/guide","document/01.html5/01.guide/01.index",[19,21,25,29,33,37],{"title":20,"path":16,"stem":17},"HTML 入门教程",{"title":22,"path":23,"stem":24},"常用标签详解","/document/html5/guide/tag","document/01.html5/01.guide/02.tag",{"title":26,"path":27,"stem":28},"布局与语义标签","/document/html5/guide/layout","document/01.html5/01.guide/03.layout",{"title":30,"path":31,"stem":32},"表单设计与用户输入","/document/html5/guide/form","document/01.html5/01.guide/04.form",{"title":34,"path":35,"stem":36},"多媒体与 HTML5 新特性","/document/html5/guide/html5","document/01.html5/01.guide/05.html5",{"title":38,"path":39,"stem":40},"Web 标准与 HTML 编写规范","/document/html5/guide/web","document/01.html5/01.guide/06.web","i-lucide-code",{"title":43,"path":44,"stem":45,"children":46,"icon":49},"考核","/document/html5/examine","document/01.html5/02.examine/01.index",[47],{"title":48,"path":44,"stem":45},"接下来对你进行考核","i-lucide-clipboard-check",false,{"title":52,"path":53,"stem":54,"children":55,"page":50},"Css","/document/css","document/02.css",[56,75,100,113],{"title":57,"path":58,"stem":59,"children":60,"icon":50},"启航","/document/css/guide","document/02.css/01.guide/01.index",[61,63,67,71],{"title":62,"path":58,"stem":59},"CSS 基础入门教程",{"title":64,"path":65,"stem":66},"文本与盒子样式详解","/document/css/guide/styles","document/02.css/01.guide/02.styles",{"title":68,"path":69,"stem":70},"选择器与权重机制","/document/css/guide/selected","document/02.css/01.guide/03.selected",{"title":72,"path":73,"stem":74},"盒模型详解","/document/css/guide/box","document/02.css/01.guide/04.box",{"title":76,"icon":50,"path":77,"stem":78,"children":79,"page":50},"布局","/document/css/layout","document/02.css/02.layout",[80,84,88,92,96],{"title":81,"path":82,"stem":83},"网页布局三剑客详解","/document/css/layout/policy","document/02.css/02.layout/01.policy",{"title":85,"path":86,"stem":87},"Position 定位详解","/document/css/layout/position","document/02.css/02.layout/02.position",{"title":89,"path":90,"stem":91},"Flexbox 布局入门指南","/document/css/layout/flex","document/02.css/02.layout/03.flex",{"title":93,"path":94,"stem":95},"Grid 布局入门指南","/document/css/layout/grid","document/02.css/02.layout/04.grid",{"title":97,"path":98,"stem":99},"响应式设计指南","/document/css/layout/relative","document/02.css/02.layout/05.relative",{"title":101,"icon":50,"path":102,"stem":103,"children":104,"page":50},"使用技巧","/document/css/skill","document/02.css/03.skill",[105,109],{"title":106,"path":107,"stem":108},"CSS 动画全解析","/document/css/skill/animation","document/02.css/03.skill/01.animation",{"title":110,"path":111,"stem":112},"CSS 使用技巧全攻略","/document/css/skill/skill","document/02.css/03.skill/02.skill",{"title":43,"path":114,"stem":115,"children":116,"icon":49},"/document/css/examine","document/02.css/04.examine/01.index",[117],{"title":48,"path":114,"stem":115},{"title":119,"path":120,"stem":121,"children":122,"page":50},"Git","/document/git","document/03.git",[123,145],{"title":57,"path":124,"stem":125,"children":126,"icon":50},"/document/git/guide","document/03.git/01.guide/01.index",[127,129,133,137,141],{"title":128,"path":124,"stem":125},"Git 入门指南",{"title":130,"path":131,"stem":132},"Git 安装与初体验","/document/git/guide/install","document/03.git/01.guide/02.install",{"title":134,"path":135,"stem":136},"常用 Git 命令详解","/document/git/guide/command","document/03.git/01.guide/03.command",{"title":138,"path":139,"stem":140},"Git 分支管理全解析","/document/git/guide/branch","document/03.git/01.guide/04.branch",{"title":142,"path":143,"stem":144},"使用 GitHub 轻松托管和管理代码","/document/git/guide/github","document/03.git/01.guide/05.github",{"title":43,"path":146,"stem":147,"children":148,"icon":49},"/document/git/examine","document/03.git/02.examine/01.index",[149],{"title":48,"path":146,"stem":147},{"title":151,"path":152,"stem":153,"children":154,"page":50},"Js Base","/document/js-base","document/04.js-base",[155,185,202],{"title":15,"path":156,"stem":157,"children":158,"icon":41},"/document/js-base/guide","document/04.js-base/01.guide/01.index",[159,161,165,169,173,177,181],{"title":160,"path":156,"stem":157},"JavaScript 基础快速入门",{"title":162,"path":163,"stem":164},"搞懂变量与数据类型","/document/js-base/guide/variable","document/04.js-base/01.guide/02.variable",{"title":166,"path":167,"stem":168},"JavaScript 运算符详解","/document/js-base/guide/operator","document/04.js-base/01.guide/03.operator",{"title":170,"path":171,"stem":172},"条件判断与循环语句","/document/js-base/guide/flow","document/04.js-base/01.guide/04.flow",{"title":174,"path":175,"stem":176},"深入理解 JavaScript 函数","/document/js-base/guide/function","document/04.js-base/01.guide/05.function",{"title":178,"path":179,"stem":180},"对象数组的创建与操作","/document/js-base/guide/object","document/04.js-base/01.guide/06.object",{"title":182,"path":183,"stem":184},"Math 和 Date 用法详解","/document/js-base/guide/math","document/04.js-base/01.guide/07.math",{"title":186,"icon":41,"path":187,"stem":188,"children":189,"page":50},"浏览器","/document/js-base/browser","document/04.js-base/02.browser",[190,194,198],{"title":191,"path":192,"stem":193},"DOM 操作入门与实战","/document/js-base/browser/dom","document/04.js-base/02.browser/01.dom",{"title":195,"path":196,"stem":197},"浏览器 BOM 基础知识","/document/js-base/browser/bom","document/04.js-base/02.browser/02.bom",{"title":199,"path":200,"stem":201},"JavaScript 事件处理机制","/document/js-base/browser/event","document/04.js-base/02.browser/03.event",{"title":43,"path":203,"stem":204,"children":205,"icon":49},"/document/js-base/examine","document/04.js-base/03.examine/01.index",[206],{"title":48,"path":203,"stem":204},{"title":208,"path":209,"stem":210,"children":211,"page":50},"Js Advanced","/document/js-advanced","document/05.js-advanced",[212,231,249],{"title":213,"path":214,"stem":215,"children":216,"icon":41},"JavaScript 原理","/document/js-advanced/guide","document/05.js-advanced/01.guide/01.index",[217,219,223,227],{"title":218,"path":214,"stem":215},"JavaScript 是怎么运行的？",{"title":220,"path":221,"stem":222},"深入理解函数和作用域","/document/js-advanced/guide/function","document/05.js-advanced/01.guide/02.function",{"title":224,"path":225,"stem":226},"深入理解 this 指向","/document/js-advanced/guide/this","document/05.js-advanced/01.guide/03.this",{"title":228,"path":229,"stem":230},"浅拷贝与深拷贝详解","/document/js-advanced/guide/copy","document/05.js-advanced/01.guide/04.copy",{"title":232,"icon":233,"path":234,"stem":235,"children":236,"page":50},"编程范式","i-lucide-shapes","/document/js-advanced/program","document/05.js-advanced/02.program",[237,241,245],{"title":238,"path":239,"stem":240},"面向对象编程（OOP）","/document/js-advanced/program/object","document/05.js-advanced/02.program/01.object",{"title":242,"path":243,"stem":244},"函数式编程入门","/document/js-advanced/program/fp","document/05.js-advanced/02.program/02.fp",{"title":246,"path":247,"stem":248},"防抖和节流详解","/document/js-advanced/program/debounce","document/05.js-advanced/02.program/03.debounce",{"title":250,"icon":251,"path":252,"stem":253,"children":254,"page":50},"浏览器相关特性","i-lucide-monitor","/document/js-advanced/browser","document/05.js-advanced/03.browser",[255,259],{"title":256,"path":257,"stem":258},"浏览器缓存入门指南","/document/js-advanced/browser/cache","document/05.js-advanced/03.browser/01.cache",{"title":260,"path":261,"stem":262},"Web 存储机制深度剖析","/document/js-advanced/browser/storage","document/05.js-advanced/03.browser/02.storage",{"title":264,"path":265,"stem":266,"children":267,"page":50},"Es6","/document/es6","document/06.es6",[268,302],{"title":213,"path":269,"stem":270,"children":271,"icon":41},"/document/es6/guide","document/06.es6/01.guide/01.index",[272,274,278,282,286,290,294,298],{"title":273,"path":269,"stem":270},"ES6 入门指南",{"title":275,"path":276,"stem":277},"变量声明：let 与 const","/document/es6/guide/const","document/06.es6/01.guide/02.const",{"title":279,"path":280,"stem":281},"箭头函数的用法与特点","/document/es6/guide/arrow","document/06.es6/01.guide/03.arrow",{"title":283,"path":284,"stem":285},"字符串、对象与数组的新特性","/document/es6/guide/enhance","document/06.es6/01.guide/04.enhance",{"title":287,"path":288,"stem":289},"Map 和 Set 的使用方式","/document/es6/guide/set","document/06.es6/01.guide/05.set",{"title":291,"path":292,"stem":293},"Promise 实现异步流程控制","/document/es6/guide/promise","document/06.es6/01.guide/06.promise",{"title":295,"path":296,"stem":297},"ESM 模块化语法解析","/document/es6/guide/esm","document/06.es6/01.guide/07.esm",{"title":299,"path":300,"stem":301},"Class 的定义与继承机制","/document/es6/guide/class","document/06.es6/01.guide/08.class",{"title":43,"path":303,"stem":304,"children":305,"icon":49},"/document/es6/examine","document/06.es6/02.examine/01.index",[306],{"title":48,"path":303,"stem":304},{"title":308,"path":309,"stem":310,"children":311,"page":50},"Js Algorithms","/document/js-algorithms","document/07.js-algorithms",[312,338],{"title":15,"path":313,"stem":314,"children":315,"icon":41},"/document/js-algorithms/guide","document/07.js-algorithms/01.guide/01.index",[316,318,322,326,330,334],{"title":317,"path":313,"stem":314},"什么是数据结构和算法？",{"title":319,"path":320,"stem":321},"时间和空间复杂度","/document/js-algorithms/guide/complexity","document/07.js-algorithms/01.guide/02.complexity",{"title":323,"path":324,"stem":325},"数据结构","/document/js-algorithms/guide/structure","document/07.js-algorithms/01.guide/03.structure",{"title":327,"path":328,"stem":329},"算法","/document/js-algorithms/guide/algorithms","document/07.js-algorithms/01.guide/04.algorithms",{"title":331,"path":332,"stem":333},"算法思想","/document/js-algorithms/guide/heuristic","document/07.js-algorithms/01.guide/05.heuristic",{"title":335,"path":336,"stem":337},"深度优先与广度优先搜索","/document/js-algorithms/guide/search","document/07.js-algorithms/01.guide/06.search",{"title":43,"path":339,"stem":340,"children":341,"icon":49},"/document/js-algorithms/examine","document/07.js-algorithms/02.examine/01.index",[342],{"title":48,"path":339,"stem":340},{"title":344,"path":345,"stem":346,"children":347,"page":50},"Automation","/document/automation","document/08.automation",[348,358],{"title":15,"path":349,"stem":350,"children":351,"icon":41},"/document/automation/guide","document/08.automation/01.guide/01.index",[352,354],{"title":353,"path":349,"stem":350},"什么是前端工程化？",{"title":355,"path":356,"stem":357},"开始搭建工程化项目","/document/automation/guide/start","document/08.automation/01.guide/02.start",{"title":43,"path":359,"stem":360,"children":361,"icon":49},"/document/automation/examine","document/08.automation/02.examine/01.index",[362],{"title":48,"path":359,"stem":360},{"title":364,"path":365,"stem":366,"children":367,"page":50},"Webpack","/document/webpack","document/09.webpack",[368,398],{"title":15,"path":369,"stem":370,"children":371,"icon":41},"/document/webpack/guide","document/09.webpack/01.guide/01.index",[372,374,378,382,386,390,394],{"title":373,"path":369,"stem":370},"Webpack 初识",{"title":375,"path":376,"stem":377},"搭建 Webpack 项目","/document/webpack/guide/start","document/09.webpack/01.guide/02.start",{"title":379,"path":380,"stem":381},"Loader 加载器","/document/webpack/guide/loader","document/09.webpack/01.guide/03.loader",{"title":383,"path":384,"stem":385},"Plugin 插件","/document/webpack/guide/plugin","document/09.webpack/01.guide/04.plugin",{"title":387,"path":388,"stem":389},"HMR 热更新与开发模式","/document/webpack/guide/dev","document/09.webpack/01.guide/05.dev",{"title":391,"path":392,"stem":393},"性能优化配置","/document/webpack/guide/optimize","document/09.webpack/01.guide/06.optimize",{"title":395,"path":396,"stem":397},"webpack 生产环境构建全攻略","/document/webpack/guide/production","document/09.webpack/01.guide/07.production",{"title":43,"path":399,"stem":400,"children":401,"icon":49},"/document/webpack/examine","document/09.webpack/02.examine/01.index",[402],{"title":48,"path":399,"stem":400},{"title":404,"path":405,"stem":406,"children":407,"page":50},"Scss","/document/scss","document/10.scss",[408,442],{"title":15,"path":409,"stem":410,"children":411,"icon":41},"/document/scss/guide","document/10.scss/01.guide/01.index",[412,414,418,422,426,430,434,438],{"title":413,"path":409,"stem":410},"什么是 SCSS？",{"title":415,"path":416,"stem":417},"SCSS 入门语法基础","/document/scss/guide/syntax","document/10.scss/01.guide/02.syntax",{"title":419,"path":420,"stem":421},"开始编写 Scss 项目","/document/scss/guide/start","document/10.scss/01.guide/03.start",{"title":423,"path":424,"stem":425},"Scss 模块导入方式","/document/scss/guide/import","document/10.scss/01.guide/04.import",{"title":427,"path":428,"stem":429},"Mixin 与函数详解","/document/scss/guide/mixin","document/10.scss/01.guide/05.mixin",{"title":431,"path":432,"stem":433},"Scss 继承、占位符技巧","/document/scss/guide/extend","document/10.scss/01.guide/06.extend",{"title":435,"path":436,"stem":437},"SCSS 流程控制与逻辑语法","/document/scss/guide/flow","document/10.scss/01.guide/07.flow",{"title":439,"path":440,"stem":441},"SCSS 内置函数","/document/scss/guide/function","document/10.scss/01.guide/08.function",{"title":43,"path":443,"stem":444,"children":445,"icon":49},"/document/scss/examine","document/10.scss/02.examine/01.index",[446],{"title":48,"path":443,"stem":444},{"title":448,"path":449,"stem":450,"children":451,"page":50},"Eslint","/document/eslint","document/11.eslint",[452,474],{"title":15,"path":453,"stem":454,"children":455,"icon":41},"/document/eslint/guide","document/11.eslint/01.guide/01.index",[456,458,462,466,470],{"title":457,"path":453,"stem":454},"ESLint 是什么？",{"title":459,"path":460,"stem":461},"ESLint 安装与运行详解","/document/eslint/guide/install","document/11.eslint/01.guide/02.install",{"title":463,"path":464,"stem":465},"ESLint  规则介绍","/document/eslint/guide/rule","document/11.eslint/01.guide/03.rule",{"title":467,"path":468,"stem":469},"集成 ESLint 到 Webpack","/document/eslint/guide/webpack","document/11.eslint/01.guide/04.webpack",{"title":471,"path":472,"stem":473},"Plugins 和 Extends 使用","/document/eslint/guide/plugins","document/11.eslint/01.guide/05.plugins",{"title":43,"path":475,"stem":476,"children":477,"icon":49},"/document/eslint/examine","document/11.eslint/02.examine/01.index",[478],{"title":48,"path":475,"stem":476},{"title":480,"path":481,"stem":482,"children":483,"page":50},"Axios","/document/axios","document/12.axios",[484,494,513],{"title":15,"path":485,"stem":486,"children":487,"icon":41},"/document/axios/guide","document/12.axios/01.guide/01.index",[488,490],{"title":489,"path":485,"stem":486},"HTTP 协议与网络请求",{"title":491,"path":492,"stem":493},"使用 JavaScript 发起请求","/document/axios/guide/get","document/12.axios/01.guide/02.get",{"title":495,"path":496,"stem":497,"children":498,"icon":41},"axios 插件","/document/axios/axios","document/12.axios/02.axios/01.index",[499,501,505,509],{"title":500,"path":496,"stem":497},"Axios 入门",{"title":502,"path":503,"stem":504},"Axios 请求基础全面讲解","/document/axios/axios/start","document/12.axios/02.axios/02.start",{"title":506,"path":507,"stem":508},"Axios 高级使用技巧","/document/axios/axios/advenced","document/12.axios/02.axios/03.advenced",{"title":510,"path":511,"stem":512},"CORS 跨域解决方案","/document/axios/axios/cors","document/12.axios/02.axios/04.cors",{"title":43,"path":514,"stem":515,"children":516,"icon":49},"/document/axios/examine","document/12.axios/03.examine/01.index",[517],{"title":48,"path":514,"stem":515},{"title":519,"path":520,"stem":521,"children":522,"page":50},"Typescript","/document/typescript","document/13.typescript",[523,553],{"title":15,"path":524,"stem":525,"children":526,"icon":41},"/document/typescript/guide","document/13.typescript/01.guide/01.index",[527,529,533,537,541,545,549],{"title":528,"path":524,"stem":525},"TypeScript 简介与入门",{"title":530,"path":531,"stem":532},"类型系统基础","/document/typescript/guide/base","document/13.typescript/01.guide/02.base",{"title":534,"path":535,"stem":536},"类型组合与类型保护","/document/typescript/guide/compose","document/13.typescript/01.guide/03.compose",{"title":538,"path":539,"stem":540},"类与面向对象编程","/document/typescript/guide/class","document/13.typescript/01.guide/04.class",{"title":542,"path":543,"stem":544},"泛型与类型复用","/document/typescript/guide/generic","document/13.typescript/01.guide/05.generic",{"title":546,"path":547,"stem":548},"项目进阶与配置实战","/document/typescript/guide/config","document/13.typescript/01.guide/06.config",{"title":550,"path":551,"stem":552},"第三方库类型支持与声明","/document/typescript/guide/declare","document/13.typescript/01.guide/07.declare",{"title":43,"path":554,"stem":555,"children":556,"icon":49},"/document/typescript/examine","document/13.typescript/02.examine/01.index",[557],{"title":48,"path":554,"stem":555},{"title":559,"path":560,"stem":561,"children":562,"page":50},"Vue2","/document/vue2","document/14.vue2",[563],{"title":15,"path":564,"stem":565,"children":566,"icon":41},"/document/vue2/guide","document/14.vue2/01.guide/01.index",[567,569,573,577,581],{"title":568,"path":564,"stem":565},"Vue 2 入门与安装",{"title":570,"path":571,"stem":572},"模板语法与指令详解","/document/vue2/guide/directive","document/14.vue2/01.guide/02.directive",{"title":574,"path":575,"stem":576},"组件化开发基础","/document/vue2/guide/component","document/14.vue2/01.guide/03.component",{"title":578,"path":579,"stem":580},"计算属性与监听器","/document/vue2/guide/reactive","document/14.vue2/01.guide/04.reactive",{"title":582,"path":583,"stem":584},"生命周期钩子解析","/document/vue2/guide/hooks","document/14.vue2/01.guide/05.hooks",{"title":586,"path":587,"stem":588,"children":589,"page":50},"Router","/document/router","document/15.router",[590],{"title":591,"path":592,"stem":593,"children":594,"icon":41},"Vue Router 路由","/document/router/guide","document/15.router/01.guide/01.index",[595,597,601,605],{"title":596,"path":592,"stem":593},"Vue Router 入门",{"title":598,"path":599,"stem":600},"路由核心功能详解","/document/router/guide/routing","document/15.router/01.guide/02.routing",{"title":602,"path":603,"stem":604},"路由守卫钩子和元信息","/document/router/guide/hook","document/15.router/01.guide/03.hook",{"title":606,"path":607,"stem":608},"路由优化与懒加载","/document/router/guide/optimize","document/15.router/01.guide/04.optimize",{"title":610,"path":611,"stem":612,"children":613,"page":50},"Vuex","/document/vuex","document/16.vuex",[614],{"title":615,"path":616,"stem":617,"children":618,"icon":41},"Vuex 状态管理器","/document/vuex/guide","document/16.vuex/01.guide/01.index",[619,621,625,629],{"title":620,"path":616,"stem":617},"为什么要使用 Vuex？",{"title":622,"path":623,"stem":624},"快速上手 Vuex","/document/vuex/guide/start","document/16.vuex/01.guide/02.start",{"title":626,"path":627,"stem":628},"深入理解 Vuex 核心功能","/document/vuex/guide/core","document/16.vuex/01.guide/03.core",{"title":630,"path":631,"stem":632},"模块化与进阶用法","/document/vuex/guide/module","document/16.vuex/01.guide/04.module",{"title":634,"path":635,"stem":636,"children":637,"page":50},"Element Ui","/document/element-ui","document/17.element-ui",[638],{"title":639,"path":640,"stem":641,"children":642,"icon":41},"Element UI 组件库","/document/element-ui/guide","document/17.element-ui/01.guide/01.index",[643,645,649,653,657,661],{"title":644,"path":640,"stem":641},"Element UI 初体验",{"title":646,"path":647,"stem":648},"常用组件快速上手","/document/element-ui/guide/quickstart","document/17.element-ui/01.guide/02.quickstart",{"title":650,"path":651,"stem":652},"布局与结构类组件","/document/element-ui/guide/layout","document/17.element-ui/01.guide/03.layout",{"title":654,"path":655,"stem":656},"自定义组件样式","/document/element-ui/guide/style","document/17.element-ui/01.guide/04.style",{"title":658,"path":659,"stem":660},"组件封装与复用","/document/element-ui/guide/component","document/17.element-ui/01.guide/05.component",{"title":662,"path":663,"stem":664},"自定义主题色与深色模式","/document/element-ui/guide/theme","document/17.element-ui/01.guide/06.theme",{"title":666,"path":667,"stem":668,"children":669,"page":50},"Vue3","/document/vue3","document/18.vue3",[670],{"title":666,"path":671,"stem":672,"children":673,"icon":41},"/document/vue3/guide","document/18.vue3/01.guide/01.index",[674,676,680,684,688,692,696],{"title":675,"path":671,"stem":672},"Vue 3 概览与生态升级",{"title":677,"path":678,"stem":679},"组合式 API 入门指南","/document/vue3/guide/composition","document/18.vue3/01.guide/02.composition",{"title":681,"path":682,"stem":683},"组合式 API 逻辑抽离","/document/vue3/guide/composable","document/18.vue3/01.guide/03.composable",{"title":685,"path":686,"stem":687},"模板语法及新特性","/document/vue3/guide/features","document/18.vue3/01.guide/04.features",{"title":689,"path":690,"stem":691},"TypeScript 开发支持","/document/vue3/guide/typescript","document/18.vue3/01.guide/05.typescript",{"title":693,"path":694,"stem":695},"响应式系统原理与进阶 API","/document/vue3/guide/reactive","document/18.vue3/01.guide/06.reactive",{"title":697,"path":698,"stem":699},"Vue Router 4 路由实战","/document/vue3/guide/vue-router","document/18.vue3/01.guide/07.vue-router",{"title":701,"path":702,"stem":703,"children":704,"page":50},"Pinia","/document/pinia","document/19.pinia",[705],{"title":701,"path":706,"stem":707,"children":708,"icon":41},"/document/pinia/guide","document/19.pinia/01.guide/01.index",[709,711,715,719,723,727],{"title":710,"path":706,"stem":707},"Pinia 简介与安装",{"title":712,"path":713,"stem":714},"Store 三大核心","/document/pinia/guide/store","document/19.pinia/01.guide/02.store",{"title":716,"path":717,"stem":718},"在组件中使用 Store","/document/pinia/guide/usage","document/19.pinia/01.guide/03.usage",{"title":720,"path":721,"stem":722},"State 修改与响应式细节","/document/pinia/guide/state","document/19.pinia/01.guide/04.state",{"title":724,"path":725,"stem":726},"Action 与异步操作","/document/pinia/guide/action","document/19.pinia/01.guide/05.action",{"title":728,"path":729,"stem":730},"组合、TypeScript 与插件","/document/pinia/guide/advanced","document/19.pinia/01.guide/06.advanced",{"title":732,"path":733,"stem":734,"children":735,"page":50},"Vite","/document/vite","document/20.vite",[736],{"title":732,"path":737,"stem":738,"children":739,"icon":41},"/document/vite/guide","document/20.vite/01.guide/01.index",[740,742,746,750,754,758],{"title":741,"path":737,"stem":738},"Vite 简介与安装",{"title":743,"path":744,"stem":745},"基础配置","/document/vite/guide/config","document/20.vite/01.guide/02.config",{"title":747,"path":748,"stem":749},"常用插件","/document/vite/guide/plugins","document/20.vite/01.guide/03.plugins",{"title":751,"path":752,"stem":753},"环境变量与模式","/document/vite/guide/env","document/20.vite/01.guide/04.env",{"title":755,"path":756,"stem":757},"依赖预构建","/document/vite/guide/optimize-deps","document/20.vite/01.guide/05.optimize-deps",{"title":759,"path":760,"stem":761},"构建与部署","/document/vite/guide/build-deploy","document/20.vite/01.guide/06.build-deploy",{"title":763,"path":764,"stem":765,"children":766,"page":50},"Nuxt","/document/nuxt","document/21.nuxt",[767],{"title":768,"path":769,"stem":770,"children":771,"icon":41},"Nuxt.js","/document/nuxt/guide","document/21.nuxt/01.guide/01.index",[772,774,778,782,786,790],{"title":773,"path":769,"stem":770},"Nuxt.js 简介与安装",{"title":775,"path":776,"stem":777},"目录约定与自动导入","/document/nuxt/guide/directory-and-auto-imports","document/21.nuxt/01.guide/02.directory-and-auto-imports",{"title":779,"path":780,"stem":781},"文件路由与导航","/document/nuxt/guide/routing","document/21.nuxt/01.guide/03.routing",{"title":783,"path":784,"stem":785},"数据获取","/document/nuxt/guide/data-fetching","document/21.nuxt/01.guide/04.data-fetching",{"title":787,"path":788,"stem":789},"状态管理","/document/nuxt/guide/state-management","document/21.nuxt/01.guide/05.state-management",{"title":791,"path":792,"stem":793},"配置与部署","/document/nuxt/guide/config-and-deploy","document/21.nuxt/01.guide/06.config-and-deploy",{"title":795,"path":796,"stem":797,"children":798,"page":50},"Npm","/document/npm","document/22.npm",[799],{"title":800,"path":801,"stem":802,"children":803,"icon":830},"NPM","/document/npm/guide","document/22.npm/01.guide/01.index",[804,806,810,814,818,822,826],{"title":805,"path":801,"stem":802},"NPM 入门",{"title":807,"path":808,"stem":809},"package.json 详解","/document/npm/guide/package-json","document/22.npm/01.guide/02.package-json",{"title":811,"path":812,"stem":813},"安装命令与版本","/document/npm/guide/install-commands","document/22.npm/01.guide/03.install-commands",{"title":815,"path":816,"stem":817},"scripts 与 npx","/document/npm/guide/scripts-and-npx","document/22.npm/01.guide/04.scripts-and-npx",{"title":819,"path":820,"stem":821},"发布包与镜像源","/document/npm/guide/publish-and-registry","document/22.npm/01.guide/05.publish-and-registry",{"title":823,"path":824,"stem":825},"lock 文件与清理","/document/npm/guide/lock-and-clean","document/22.npm/01.guide/06.lock-and-clean",{"title":827,"path":828,"stem":829},"Yarn 与 pnpm","/document/npm/guide/yarn-and-pnpm","document/22.npm/01.guide/07.yarn-and-pnpm","i-simple-icons-npm",{"title":832,"icon":833,"path":834,"stem":835,"children":836,"page":50},"Handlebars","i-simple-icons-handlebarsdotjs","/document/handlebars","document/23.handlebars",[837],{"title":838,"path":839,"stem":840,"children":841},"Handlebars 简介","/document/handlebars/guide","document/23.handlebars/01.guide/01.index",[842,843,847,851,855,859],{"title":838,"path":839,"stem":840},{"title":844,"path":845,"stem":846},"基本语法","/document/handlebars/guide/syntax","document/23.handlebars/01.guide/02.syntax",{"title":848,"path":849,"stem":850},"内置辅助函数","/document/handlebars/guide/builtins","document/23.handlebars/01.guide/03.builtins",{"title":852,"path":853,"stem":854},"模板复用","/document/handlebars/guide/partials","document/23.handlebars/01.guide/04.partials",{"title":856,"path":857,"stem":858},"自定义 Helpers","/document/handlebars/guide/helpers","document/23.handlebars/01.guide/05.helpers",{"title":860,"path":861,"stem":862},"预编译与运行时","/document/handlebars/guide/runtime","document/23.handlebars/01.guide/06.runtime",{"title":864,"icon":865,"path":866,"stem":867,"children":868,"page":50},"Plop","i-simple-icons-nodedotjs","/document/plop","document/24.plop",[869],{"title":870,"path":871,"stem":872,"children":873},"Plop 简介","/document/plop/guide","document/24.plop/01.guide/01.index",[874,875,879,883,887,891,895],{"title":870,"path":871,"stem":872},{"title":876,"path":877,"stem":878},"第一个生成器","/document/plop/guide/plopfile","document/24.plop/01.guide/02.plopfile",{"title":880,"path":881,"stem":882},"交互式询问","/document/plop/guide/prompts","document/24.plop/01.guide/03.prompts",{"title":884,"path":885,"stem":886},"核心动作","/document/plop/guide/actions","document/24.plop/01.guide/04.actions",{"title":888,"path":889,"stem":890},"模板文件组织","/document/plop/guide/templates","document/24.plop/01.guide/05.templates",{"title":892,"path":893,"stem":894},"Helper 扩展","/document/plop/guide/helpers","document/24.plop/01.guide/06.helpers",{"title":896,"path":897,"stem":898},"组件生成实战","/document/plop/guide/practice","document/24.plop/01.guide/07.practice",{"title":900,"icon":901,"path":902,"stem":903,"children":904,"page":50},"Rollup","i-simple-icons-rollupdotjs","/document/rollup","document/25.rollup",[905],{"title":906,"path":907,"stem":908,"children":909},"Rollup 简介","/document/rollup/guide","document/25.rollup/01.guide/01.index",[910,911,914,918,921,925],{"title":906,"path":907,"stem":908},{"title":743,"path":912,"stem":913},"/document/rollup/guide/config","document/25.rollup/01.guide/02.config",{"title":915,"path":916,"stem":917},"输出格式","/document/rollup/guide/formats","document/25.rollup/01.guide/03.formats",{"title":747,"path":919,"stem":920},"/document/rollup/guide/plugins","document/25.rollup/01.guide/04.plugins",{"title":922,"path":923,"stem":924},"Tree Shaking","/document/rollup/guide/tree-shaking","document/25.rollup/01.guide/05.tree-shaking",{"title":926,"path":927,"stem":928},"打包工具库实战","/document/rollup/guide/library","document/25.rollup/01.guide/06.library",{"title":930,"icon":865,"path":931,"stem":932,"children":933,"page":50},"Snabbdom","/document/snabbdom","document/26.snabbdom",[934],{"title":935,"path":936,"stem":937,"children":938},"Snabbdom 简介","/document/snabbdom/guide","document/26.snabbdom/01.guide/01.index",[939,940,944,948,952,956,960],{"title":935,"path":936,"stem":937},{"title":941,"path":942,"stem":943},"h 函数","/document/snabbdom/guide/h","document/26.snabbdom/01.guide/02.h",{"title":945,"path":946,"stem":947},"模块机制","/document/snabbdom/guide/modules","document/26.snabbdom/01.guide/03.modules",{"title":949,"path":950,"stem":951},"patch 渲染与更新","/document/snabbdom/guide/patch","document/26.snabbdom/01.guide/04.patch",{"title":953,"path":954,"stem":955},"key 的作用","/document/snabbdom/guide/key","document/26.snabbdom/01.guide/05.key",{"title":957,"path":958,"stem":959},"Diff 原理","/document/snabbdom/guide/diff","document/26.snabbdom/01.guide/06.diff",{"title":961,"path":962,"stem":963},"手写迷你虚拟 DOM","/document/snabbdom/guide/practice","document/26.snabbdom/01.guide/07.practice",{"title":965,"icon":966,"path":967,"stem":968,"children":969,"page":50},"Vercel","i-simple-icons-vercel","/document/vercel","document/27.vercel",[970],{"title":971,"path":972,"stem":973,"children":974},"Vercel 简介","/document/vercel/guide","document/27.vercel/01.guide/01.index",[975,976,980,984,988,992,996],{"title":971,"path":972,"stem":973},{"title":977,"path":978,"stem":979},"Vercel CLI","/document/vercel/guide/cli","document/27.vercel/01.guide/02.cli",{"title":981,"path":982,"stem":983},"项目设置与环境变量","/document/vercel/guide/settings","document/27.vercel/01.guide/03.settings",{"title":985,"path":986,"stem":987},"预览部署与回滚","/document/vercel/guide/preview","document/27.vercel/01.guide/04.preview",{"title":989,"path":990,"stem":991},"自定义域名","/document/vercel/guide/domain","document/27.vercel/01.guide/05.domain",{"title":993,"path":994,"stem":995},"vercel.json 配置","/document/vercel/guide/vercel-json","document/27.vercel/01.guide/06.vercel-json",{"title":997,"path":998,"stem":999},"Serverless Functions","/document/vercel/guide/serverless","document/27.vercel/01.guide/07.serverless",{"title":1001,"icon":1002,"path":1003,"stem":1004,"children":1005,"page":50},"ECharts","i-simple-icons-apacheecharts","/document/echarts","document/28.echarts",[1006],{"title":1007,"path":1008,"stem":1009,"children":1010},"ECharts 简介","/document/echarts/guide","document/28.echarts/01.guide/01.index",[1011,1012,1016,1020,1024,1028,1032],{"title":1007,"path":1008,"stem":1009},{"title":1013,"path":1014,"stem":1015},"核心配置项","/document/echarts/guide/option","document/28.echarts/01.guide/02.option",{"title":1017,"path":1018,"stem":1019},"常用图表类型","/document/echarts/guide/charts","document/28.echarts/01.guide/03.charts",{"title":1021,"path":1022,"stem":1023},"样式与主题","/document/echarts/guide/style","document/28.echarts/01.guide/04.style",{"title":1025,"path":1026,"stem":1027},"交互与事件","/document/echarts/guide/interaction","document/28.echarts/01.guide/05.interaction",{"title":1029,"path":1030,"stem":1031},"动态数据","/document/echarts/guide/data","document/28.echarts/01.guide/06.data",{"title":1033,"path":1034,"stem":1035},"Vue3 实战","/document/echarts/guide/vue","document/28.echarts/01.guide/07.vue",{"title":1037,"icon":1038,"path":1039,"stem":1040,"children":1041,"page":50},"D3","i-simple-icons-d3dotjs","/document/d3","document/29.d3",[1042],{"title":1043,"path":1044,"stem":1045,"children":1046},"D3 简介","/document/d3/guide","document/29.d3/01.guide/01.index",[1047,1048,1052,1056,1060,1064,1068,1072],{"title":1043,"path":1044,"stem":1045},{"title":1049,"path":1050,"stem":1051},"选择集与数据绑定","/document/d3/guide/selection","document/29.d3/01.guide/02.selection",{"title":1053,"path":1054,"stem":1055},"比例尺","/document/d3/guide/scale","document/29.d3/01.guide/03.scale",{"title":1057,"path":1058,"stem":1059},"坐标轴","/document/d3/guide/axis","document/29.d3/01.guide/04.axis",{"title":1061,"path":1062,"stem":1063},"图形生成器","/document/d3/guide/shape","document/29.d3/01.guide/05.shape",{"title":1065,"path":1066,"stem":1067},"过渡动画","/document/d3/guide/transition","document/29.d3/01.guide/06.transition",{"title":1069,"path":1070,"stem":1071},"交互与缩放","/document/d3/guide/interaction","document/29.d3/01.guide/07.interaction",{"title":1033,"path":1073,"stem":1074},"/document/d3/guide/vue","document/29.d3/01.guide/08.vue",{"title":1076,"icon":1077,"path":1078,"stem":1079,"children":1080,"page":50},"Three.js","i-simple-icons-threedotjs","/document/threejs","document/30.threejs",[1081,1095,1117,1135],{"title":1082,"path":1083,"stem":1084,"children":1085,"icon":1077},"Three.js 基础入门","/document/threejs/basics","document/30.threejs/01.basics/01.index",[1086,1087,1091],{"title":1082,"path":1083,"stem":1084},{"title":1088,"path":1089,"stem":1090},"物体变换","/document/threejs/basics/transform","document/30.threejs/01.basics/02.transform",{"title":1092,"path":1093,"stem":1094},"相机与视角","/document/threejs/basics/camera-controls","document/30.threejs/01.basics/03.camera-controls",{"title":1096,"icon":1097,"path":1098,"stem":1099,"children":1100,"page":50},"创建和组织三维场景","i-lucide-boxes","/document/threejs/scene","document/30.threejs/02.scene",[1101,1105,1109,1113],{"title":1102,"path":1103,"stem":1104},"Geometry 与 Mesh","/document/threejs/scene/geometry","document/30.threejs/02.scene/04.geometry",{"title":1106,"path":1107,"stem":1108},"材质与灯光","/document/threejs/scene/material-light","document/30.threejs/02.scene/05.material-light",{"title":1110,"path":1111,"stem":1112},"纹理与颜色空间","/document/threejs/scene/texture","document/30.threejs/02.scene/06.texture",{"title":1114,"path":1115,"stem":1116},"场景树与对象管理","/document/threejs/scene/scene-graph","document/30.threejs/02.scene/07.scene-graph",{"title":1118,"icon":1119,"path":1120,"stem":1121,"children":1122,"page":50},"模型、动画与交互","i-lucide-orbit","/document/threejs/model-interaction","document/30.threejs/03.model-interaction",[1123,1127,1131],{"title":1124,"path":1125,"stem":1126},"模型加载","/document/threejs/model-interaction/model-loading","document/30.threejs/03.model-interaction/08.model-loading",{"title":1128,"path":1129,"stem":1130},"动画循环","/document/threejs/model-interaction/animation-loop","document/30.threejs/03.model-interaction/09.animation-loop",{"title":1132,"path":1133,"stem":1134},"射线拾取与交互","/document/threejs/model-interaction/raycast-interaction","document/30.threejs/03.model-interaction/10.raycast-interaction",{"title":1136,"icon":1137,"path":1138,"stem":1139,"children":1140,"page":50},"工程化与性能","i-lucide-gauge","/document/threejs/engineering","document/30.threejs/04.engineering",[1141],{"title":1142,"path":1143,"stem":1144},"渲染器与性能","/document/threejs/engineering/renderer-performance","document/30.threejs/04.engineering/11.renderer-performance",{"title":1146,"icon":865,"path":1147,"stem":1148,"children":1149,"page":50},"Node.js 核心基础","/document/nodejs","document/32.nodejs",[1150,1165,1176,1211,1226],{"title":1151,"path":1152,"stem":1153,"children":1154},"Node.js 入门与运行环境","/document/nodejs/guide","document/32.nodejs/01.guide/01.index",[1155,1157,1161],{"title":1156,"path":1152,"stem":1153},"Node.js 简介与应用场景",{"title":1158,"path":1159,"stem":1160},"环境搭建","/document/nodejs/guide/setup","document/32.nodejs/01.guide/02.setup",{"title":1162,"path":1163,"stem":1164},"程序运行方式","/document/nodejs/guide/running","document/32.nodejs/01.guide/03.running",{"title":1166,"path":1167,"stem":1168,"children":1169},"Node.js 模块系统","/document/nodejs/modules","document/32.nodejs/02.modules/01.index",[1170,1172],{"title":1171,"path":1167,"stem":1168},"ESM 与 CommonJS",{"title":1173,"path":1174,"stem":1175},"模块加载机制","/document/nodejs/modules/loading","document/32.nodejs/02.modules/02.loading",{"title":1177,"path":1178,"stem":1179,"children":1180},"Node.js 核心内置模块","/document/nodejs/core","document/32.nodejs/03.core/01.index",[1181,1183,1187,1191,1195,1199,1203,1207],{"title":1182,"path":1178,"stem":1179},"path 路径处理",{"title":1184,"path":1185,"stem":1186},"fs 文件与目录","/document/nodejs/core/file-system","document/32.nodejs/03.core/02.file-system",{"title":1188,"path":1189,"stem":1190},"fs/promises 异步文件操作","/document/nodejs/core/fs-promises","document/32.nodejs/03.core/03.fs-promises",{"title":1192,"path":1193,"stem":1194},"Buffer 与字符编码","/document/nodejs/core/buffer","document/32.nodejs/03.core/04.buffer",{"title":1196,"path":1197,"stem":1198},"process 进程对象","/document/nodejs/core/process","document/32.nodejs/03.core/05.process",{"title":1200,"path":1201,"stem":1202},"events 事件模块","/document/nodejs/core/events","document/32.nodejs/03.core/06.events",{"title":1204,"path":1205,"stem":1206},"URL 与查询参数","/document/nodejs/core/url-query","document/32.nodejs/03.core/07.url-query",{"title":1208,"path":1209,"stem":1210},"crypto 常用能力","/document/nodejs/core/crypto","document/32.nodejs/03.core/08.crypto",{"title":1212,"path":1213,"stem":1214,"children":1215},"Node.js 异步 I/O 与运行机制","/document/nodejs/async","document/32.nodejs/04.async/01.index",[1216,1218,1222],{"title":1217,"path":1213,"stem":1214},"单线程与非阻塞 I/O",{"title":1219,"path":1220,"stem":1221},"事件循环","/document/nodejs/async/event-loop","document/32.nodejs/04.async/02.event-loop",{"title":1223,"path":1224,"stem":1225},"异步任务调度","/document/nodejs/async/scheduling","document/32.nodejs/04.async/03.scheduling",{"title":1227,"path":1228,"stem":1229,"children":1230},"Node.js Stream 与数据处理","/document/nodejs/streams","document/32.nodejs/05.streams/01.index",[1231],{"title":1232,"path":1228,"stem":1229},"Stream 数据处理",{"title":1234,"icon":1235,"path":1236,"stem":1237,"children":1238,"page":50},"Express","i-simple-icons-express","/document/express","document/33.express",[1239],{"title":1240,"path":1241,"stem":1242,"children":1243},"Express 简介","/document/express/guide","document/33.express/01.guide/01.index",[1244,1245,1249,1253,1257,1261],{"title":1240,"path":1241,"stem":1242},{"title":1246,"path":1247,"stem":1248},"路由","/document/express/guide/routing","document/33.express/01.guide/02.routing",{"title":1250,"path":1251,"stem":1252},"中间件","/document/express/guide/middleware","document/33.express/01.guide/03.middleware",{"title":1254,"path":1255,"stem":1256},"请求与响应","/document/express/guide/request-response","document/33.express/01.guide/04.request-response",{"title":1258,"path":1259,"stem":1260},"错误处理","/document/express/guide/error-handling","document/33.express/01.guide/05.error-handling",{"title":1262,"path":1263,"stem":1264},"RESTful 实战","/document/express/guide/restful-api","document/33.express/01.guide/06.restful-api",{"title":1266,"icon":1267,"path":1268,"stem":1269,"children":1270,"page":50},"Koa","i-simple-icons-koa","/document/koa","document/34.koa",[1271],{"title":1272,"path":1273,"stem":1274,"children":1275},"Koa 简介","/document/koa/guide","document/34.koa/01.guide/01.index",[1276,1277,1281,1285,1288,1292],{"title":1272,"path":1273,"stem":1274},{"title":1278,"path":1279,"stem":1280},"Context 上下文","/document/koa/guide/context","document/34.koa/01.guide/02.context",{"title":1282,"path":1283,"stem":1284},"中间件与洋葱模型","/document/koa/guide/middleware","document/34.koa/01.guide/03.middleware",{"title":1246,"path":1286,"stem":1287},"/document/koa/guide/routing","document/34.koa/01.guide/04.routing",{"title":1289,"path":1290,"stem":1291},"请求体与错误处理","/document/koa/guide/body-and-error","document/34.koa/01.guide/05.body-and-error",{"title":1293,"path":1294,"stem":1295},"RESTful 接口实战","/document/koa/guide/restful-api","document/34.koa/01.guide/06.restful-api",{"title":1297,"icon":1298,"path":1299,"stem":1300,"children":1301,"page":50},"Egg.js","i-lucide-egg","/document/egg","document/35.egg",[1302],{"title":1303,"path":1304,"stem":1305,"children":1306},"Egg.js 简介","/document/egg/guide","document/35.egg/01.guide/01.index",[1307,1308,1312,1316,1320,1324],{"title":1303,"path":1304,"stem":1305},{"title":1309,"path":1310,"stem":1311},"路由与 Controller","/document/egg/guide/router-controller","document/35.egg/01.guide/02.router-controller",{"title":1313,"path":1314,"stem":1315},"Service 业务逻辑","/document/egg/guide/service","document/35.egg/01.guide/03.service",{"title":1317,"path":1318,"stem":1319},"配置与中间件","/document/egg/guide/config-middleware","document/35.egg/01.guide/04.config-middleware",{"title":1321,"path":1322,"stem":1323},"插件与扩展","/document/egg/guide/plugin-extend","document/35.egg/01.guide/05.plugin-extend",{"title":1293,"path":1325,"stem":1326},"/document/egg/guide/restful-api","document/35.egg/01.guide/06.restful-api",{"title":1328,"icon":1329,"path":1330,"stem":1331,"children":1332,"page":50},"Docker","i-simple-icons-docker","/document/docker","document/36.docker",[1333],{"title":1334,"path":1335,"stem":1336,"children":1337},"Docker 简介","/document/docker/guide","document/36.docker/01.guide/01.index",[1338,1339,1343,1347,1351],{"title":1334,"path":1335,"stem":1336},{"title":1340,"path":1341,"stem":1342},"镜像与容器","/document/docker/guide/image-container","document/36.docker/01.guide/02.image-container",{"title":1344,"path":1345,"stem":1346},"数据卷","/document/docker/guide/volume","document/36.docker/01.guide/03.volume",{"title":1348,"path":1349,"stem":1350},"Dockerfile","/document/docker/guide/dockerfile","document/36.docker/01.guide/04.dockerfile",{"title":1352,"path":1353,"stem":1354},"Docker Compose","/document/docker/guide/docker-compose","document/36.docker/01.guide/05.docker-compose",{"title":1356,"icon":1357,"path":1358,"stem":1359,"children":1360,"page":50},"MySQL","i-simple-icons-mysql","/document/mysql","document/37.mysql",[1361,1376,1395,1410,1421],{"title":1362,"path":1363,"stem":1364,"children":1365},"基础入门","/document/mysql/guide","document/37.mysql/01.guide/01.index",[1366,1368,1372],{"title":1367,"path":1363,"stem":1364},"MySQL 入门",{"title":1369,"path":1370,"stem":1371},"建库与增删改","/document/mysql/guide/crud","document/37.mysql/01.guide/02.crud",{"title":1373,"path":1374,"stem":1375},"类型与约束","/document/mysql/guide/data-type","document/37.mysql/01.guide/03.data-type",{"title":1377,"path":1378,"stem":1379,"children":1380},"查询与统计","/document/mysql/query","document/37.mysql/02.query/01.index",[1381,1383,1387,1391],{"title":1382,"path":1378,"stem":1379},"条件查询与分页",{"title":1384,"path":1385,"stem":1386},"分组与统计","/document/mysql/query/aggregate","document/37.mysql/02.query/02.aggregate",{"title":1388,"path":1389,"stem":1390},"多表关联","/document/mysql/query/join","document/37.mysql/02.query/03.join",{"title":1392,"path":1393,"stem":1394},"子查询与分组排名","/document/mysql/query/subqueries","document/37.mysql/02.query/04.subqueries",{"title":1396,"path":1397,"stem":1398,"children":1399},"表设计与事务","/document/mysql/reliability","document/37.mysql/03.reliability/01.index",[1400,1402,1406],{"title":1401,"path":1397,"stem":1398},"关系设计",{"title":1403,"path":1404,"stem":1405},"事务与回滚","/document/mysql/reliability/transactions","document/37.mysql/03.reliability/02.transactions",{"title":1407,"path":1408,"stem":1409},"并发与锁","/document/mysql/reliability/concurrency","document/37.mysql/03.reliability/03.concurrency",{"title":1411,"path":1412,"stem":1413,"children":1414},"索引与性能","/document/mysql/performance","document/37.mysql/04.performance/01.index",[1415,1417],{"title":1416,"path":1412,"stem":1413},"索引设计",{"title":1418,"path":1419,"stem":1420},"执行计划与优化","/document/mysql/performance/explain","document/37.mysql/04.performance/02.explain",{"title":1422,"path":1423,"stem":1424,"children":1425},"项目接入与维护","/document/mysql/engineering","document/37.mysql/05.engineering/01.index",[1426,1428],{"title":1427,"path":1423,"stem":1424},"Node.js 接入",{"title":1429,"path":1430,"stem":1431},"备份与恢复","/document/mysql/engineering/backup","document/37.mysql/05.engineering/02.backup",{"title":1433,"icon":1434,"path":1435,"stem":1436,"children":1437,"page":50},"MongoDB","i-simple-icons-mongodb","/document/mongodb","document/38.mongodb",[1438],{"title":1439,"path":1440,"stem":1441,"children":1442},"MongoDB 简介","/document/mongodb/guide","document/38.mongodb/01.guide/01.index",[1443,1444,1448,1452,1456,1460,1464,1468],{"title":1439,"path":1440,"stem":1441},{"title":1445,"path":1446,"stem":1447},"增删改查","/document/mongodb/guide/crud","document/38.mongodb/01.guide/02.crud",{"title":1449,"path":1450,"stem":1451},"条件查询","/document/mongodb/guide/query","document/38.mongodb/01.guide/03.query",{"title":1453,"path":1454,"stem":1455},"文档与数据类型","/document/mongodb/guide/document","document/38.mongodb/01.guide/04.document",{"title":1457,"path":1458,"stem":1459},"Node.js 操作 MongoDB","/document/mongodb/guide/nodejs","document/38.mongodb/01.guide/05.nodejs",{"title":1461,"path":1462,"stem":1463},"Mongoose","/document/mongodb/guide/mongoose","document/38.mongodb/01.guide/06.mongoose",{"title":1465,"path":1466,"stem":1467},"索引","/document/mongodb/guide/optimize","document/38.mongodb/01.guide/07.optimize",{"title":1469,"path":1470,"stem":1471},"聚合管道","/document/mongodb/guide/aggregate","document/38.mongodb/01.guide/08.aggregate",{"title":1473,"icon":1474,"path":1475,"stem":1476,"children":1477,"page":50},"GraphQL","i-simple-icons-graphql","/document/graphql","document/39.graphql",[1478],{"title":1479,"path":1480,"stem":1481,"children":1482},"GraphQL 简介","/document/graphql/guide","document/39.graphql/01.guide/01.index",[1483,1484,1488,1492,1496,1500],{"title":1479,"path":1480,"stem":1481},{"title":1485,"path":1486,"stem":1487},"类型系统","/document/graphql/guide/schema","document/39.graphql/01.guide/02.schema",{"title":1489,"path":1490,"stem":1491},"查询进阶","/document/graphql/guide/query","document/39.graphql/01.guide/03.query",{"title":1493,"path":1494,"stem":1495},"Mutation 增删改","/document/graphql/guide/mutation","document/39.graphql/01.guide/04.mutation",{"title":1497,"path":1498,"stem":1499},"Express 集成","/document/graphql/guide/express","document/39.graphql/01.guide/05.express",{"title":1501,"path":1502,"stem":1503},"前端调用","/document/graphql/guide/client","document/39.graphql/01.guide/06.client",{"title":1505,"icon":1506,"path":1507,"stem":1508,"children":1509,"page":50},"Vue2 源码","i-simple-icons-vuedotjs","/document/source-vue2","document/40.source-vue2",[1510],{"title":1511,"path":1512,"stem":1513,"children":1514},"Vue2 源码简介","/document/source-vue2/guide","document/40.source-vue2/01.guide/01.index",[1515,1516,1520,1524,1528,1532,1536,1540],{"title":1511,"path":1512,"stem":1513},{"title":1517,"path":1518,"stem":1519},"初始化流程","/document/source-vue2/guide/init","document/40.source-vue2/01.guide/02.init",{"title":1521,"path":1522,"stem":1523},"响应式原理","/document/source-vue2/guide/reactive","document/40.source-vue2/01.guide/03.reactive",{"title":1525,"path":1526,"stem":1527},"Dep 与 Watcher","/document/source-vue2/guide/dep-watcher","document/40.source-vue2/01.guide/04.dep-watcher",{"title":1529,"path":1530,"stem":1531},"异步更新与 nextTick","/document/source-vue2/guide/nexttick","document/40.source-vue2/01.guide/05.nexttick",{"title":1533,"path":1534,"stem":1535},"虚拟 DOM 与 patch","/document/source-vue2/guide/vnode-patch","document/40.source-vue2/01.guide/06.vnode-patch",{"title":1537,"path":1538,"stem":1539},"模板编译","/document/source-vue2/guide/compile","document/40.source-vue2/01.guide/07.compile",{"title":1541,"path":1542,"stem":1543},"computed 与 watch 原理","/document/source-vue2/guide/computed-watch","document/40.source-vue2/01.guide/08.computed-watch",{"title":1545,"icon":1506,"path":1546,"stem":1547,"children":1548,"page":50},"Vue3 源码","/document/source-vue3","document/41.source-vue3",[1549],{"title":1550,"path":1551,"stem":1552,"children":1553},"Vue3 源码简介","/document/source-vue3/guide","document/41.source-vue3/01.guide/01.index",[1554,1555,1559,1563,1567,1571,1575,1578],{"title":1550,"path":1551,"stem":1552},{"title":1556,"path":1557,"stem":1558},"创建与挂载","/document/source-vue3/guide/create-app","document/41.source-vue3/01.guide/02.create-app",{"title":1560,"path":1561,"stem":1562},"Proxy 响应式","/document/source-vue3/guide/reactive","document/41.source-vue3/01.guide/03.reactive",{"title":1564,"path":1565,"stem":1566},"effect 与依赖收集","/document/source-vue3/guide/effect","document/41.source-vue3/01.guide/04.effect",{"title":1568,"path":1569,"stem":1570},"ref 与 computed","/document/source-vue3/guide/ref-computed","document/41.source-vue3/01.guide/05.ref-computed",{"title":1572,"path":1573,"stem":1574},"调度器与 nextTick","/document/source-vue3/guide/scheduler-nexttick","document/41.source-vue3/01.guide/06.scheduler-nexttick",{"title":1533,"path":1576,"stem":1577},"/document/source-vue3/guide/vnode-patch","document/41.source-vue3/01.guide/07.vnode-patch",{"title":1537,"path":1579,"stem":1580},"/document/source-vue3/guide/compile","document/41.source-vue3/01.guide/08.compile",{"title":1582,"icon":1583,"path":1584,"stem":1585,"children":1586,"page":50},"性能优化","i-lucide-zap","/document/performance","document/42.performance",[1587],{"title":1588,"path":1589,"stem":1590,"children":1591},"性能优化简介","/document/performance/guide","document/42.performance/01.guide/01.index",[1592,1593,1597,1601,1605,1609],{"title":1588,"path":1589,"stem":1590},{"title":1594,"path":1595,"stem":1596},"加载优化","/document/performance/guide/loading","document/42.performance/01.guide/02.loading",{"title":1598,"path":1599,"stem":1600},"渲染优化","/document/performance/guide/rendering","document/42.performance/01.guide/03.rendering",{"title":1602,"path":1603,"stem":1604},"缓存策略","/document/performance/guide/cache","document/42.performance/01.guide/04.cache",{"title":1606,"path":1607,"stem":1608},"构建产物优化","/document/performance/guide/build","document/42.performance/01.guide/05.build",{"title":1610,"path":1611,"stem":1612},"性能指标与工具","/document/performance/guide/metrics","document/42.performance/01.guide/06.metrics",{"title":1614,"icon":1615,"path":1616,"stem":1617,"children":1618,"page":50},"前端监控","i-lucide-activity","/document/monitor","document/43.monitor",[1619],{"title":1620,"path":1621,"stem":1622,"children":1623},"前端监控简介","/document/monitor/guide","document/43.monitor/01.guide/01.index",[1624,1625,1629,1633,1637,1641],{"title":1620,"path":1621,"stem":1622},{"title":1626,"path":1627,"stem":1628},"错误采集","/document/monitor/guide/error","document/43.monitor/01.guide/02.error",{"title":1630,"path":1631,"stem":1632},"埋点与上报","/document/monitor/guide/tracking","document/43.monitor/01.guide/03.tracking",{"title":1634,"path":1635,"stem":1636},"性能数据上报","/document/monitor/guide/performance-data","document/43.monitor/01.guide/04.performance-data",{"title":1638,"path":1639,"stem":1640},"Sentry 实践","/document/monitor/guide/sentry","document/43.monitor/01.guide/05.sentry",{"title":1642,"path":1643,"stem":1644},"日志与告警","/document/monitor/guide/logging","document/43.monitor/01.guide/06.logging",{"title":1646,"icon":1647,"path":1648,"stem":1649,"children":1650},"Electron：从入门到桌面应用交付","i-simple-icons-electron","/document/electron","document/44.electron/课程规划",[1651,1667,1685,1703,1720],{"title":1652,"path":1653,"stem":1654,"children":1655,"icon":1666},"基础架构","/document/electron/guide","document/44.electron/01.guide/01.index",[1656,1658,1662],{"title":1657,"path":1653,"stem":1654},"Electron 简介",{"title":1659,"path":1660,"stem":1661},"主进程、渲染进程与 preload","/document/electron/guide/process-model","document/44.electron/01.guide/02.process-model",{"title":1663,"path":1664,"stem":1665},"Electron 与 Vue 集成","/document/electron/guide/vue-integration","document/44.electron/01.guide/03.vue-integration","i-lucide-layers",{"title":1668,"icon":1669,"path":1670,"stem":1671,"children":1672,"page":50},"核心开发","i-lucide-code-2","/document/electron/core","document/44.electron/02.core",[1673,1677,1681],{"title":1674,"path":1675,"stem":1676},"创建窗口与应用生命周期","/document/electron/core/window-lifecycle","document/44.electron/02.core/04.window-lifecycle",{"title":1678,"path":1679,"stem":1680},"IPC 通信与接口设计","/document/electron/core/ipc-design","document/44.electron/02.core/05.ipc-design",{"title":1682,"path":1683,"stem":1684},"本地文件与系统交互","/document/electron/core/filesystem-system","document/44.electron/02.core/06.filesystem-system",{"title":1686,"icon":1687,"path":1688,"stem":1689,"children":1690,"page":50},"桌面能力与安全","i-lucide-monitor-cog","/document/electron/desktop","document/44.electron/03.desktop",[1691,1695,1699],{"title":1692,"path":1693,"stem":1694},"桌面端安全基础","/document/electron/desktop/security","document/44.electron/03.desktop/07.security",{"title":1696,"path":1697,"stem":1698},"菜单、托盘与多窗口","/document/electron/desktop/window-menu-tray","document/44.electron/03.desktop/08.window-menu-tray",{"title":1700,"path":1701,"stem":1702},"会话、网络与本地存储","/document/electron/desktop/session-storage","document/44.electron/03.desktop/09.session-storage",{"title":1704,"icon":1137,"path":1705,"stem":1706,"children":1707,"page":50},"资源、性能与导出","/document/electron/stability","document/44.electron/04.stability",[1708,1712,1716],{"title":1709,"path":1710,"stem":1711},"自定义协议、资源加载与深链接","/document/electron/stability/protocol-loading","document/44.electron/04.stability/10.protocol-loading",{"title":1713,"path":1714,"stem":1715},"耗时任务与性能排查","/document/electron/stability/tasks-performance","document/44.electron/04.stability/11.tasks-performance",{"title":1717,"path":1718,"stem":1719},"PDF 打印与报告导出","/document/electron/stability/pdf-report","document/44.electron/04.stability/12.pdf-report",{"title":1721,"icon":1722,"path":1723,"stem":1724,"children":1725,"page":50},"交付与实战","i-lucide-rocket","/document/electron/delivery","document/44.electron/05.delivery",[1726,1730,1734,1738],{"title":1727,"path":1728,"stem":1729},"应用打包与自动更新","/document/electron/delivery/package-update","document/44.electron/05.delivery/13.package-update",{"title":1731,"path":1732,"stem":1733},"桌面应用签名与公证","/document/electron/delivery/code-signing","document/44.electron/05.delivery/14.code-signing",{"title":1735,"path":1736,"stem":1737},"测试、监控与发布","/document/electron/delivery/test-monitor-release","document/44.electron/05.delivery/15.test-monitor-release",{"title":1739,"path":1740,"stem":1741},"实战：桌面资料管理工具","/document/electron/delivery/project-file-manager","document/44.electron/05.delivery/16.project-file-manager",{"title":1743,"icon":1744,"path":1745,"stem":1746,"children":1747,"page":50},"WebGIS","i-lucide-map","/document/webgis","document/45.webgis",[1748,1755,1768,1782,1800,1814],{"title":1749,"path":1750,"stem":1751,"children":1752,"icon":1744},"WebGIS 基础认知","/document/webgis/guide","document/45.webgis/01.guide/01.index",[1753],{"title":1754,"path":1750,"stem":1751},"WebGIS 全景",{"title":1756,"icon":233,"path":1757,"stem":1758,"children":1759,"page":50},"空间数据基础","/document/webgis/spatial","document/45.webgis/02.spatial",[1760,1764],{"title":1761,"path":1762,"stem":1763},"矢量与栅格","/document/webgis/spatial/vector-and-raster","document/45.webgis/02.spatial/02.vector-and-raster",{"title":1765,"path":1766,"stem":1767},"GeoJSON 与常见格式","/document/webgis/spatial/geojson-and-formats","document/45.webgis/02.spatial/03.geojson-and-formats",{"title":1769,"icon":1770,"path":1771,"stem":1772,"children":1773,"page":50},"坐标与地图投影","i-lucide-compass","/document/webgis/coordinate","document/45.webgis/03.coordinate",[1774,1778],{"title":1775,"path":1776,"stem":1777},"CRS 与地图投影","/document/webgis/coordinate/coordinate-reference-systems","document/45.webgis/03.coordinate/04.coordinate-reference-systems",{"title":1779,"path":1780,"stem":1781},"坐标转换与偏移","/document/webgis/coordinate/coordinate-offset","document/45.webgis/03.coordinate/05.coordinate-offset",{"title":1783,"icon":1784,"path":1785,"stem":1786,"children":1787,"page":50},"瓦片与地图服务","i-lucide-grid-2x2","/document/webgis/tiles","document/45.webgis/04.tiles",[1788,1792,1796],{"title":1789,"path":1790,"stem":1791},"地图瓦片","/document/webgis/tiles/map-tiles","document/45.webgis/04.tiles/06.map-tiles",{"title":1793,"path":1794,"stem":1795},"栅格与矢量瓦片","/document/webgis/tiles/raster-and-vector-tiles","document/45.webgis/04.tiles/07.raster-and-vector-tiles",{"title":1797,"path":1798,"stem":1799},"地图服务与 OGC","/document/webgis/tiles/map-services","document/45.webgis/04.tiles/08.map-services",{"title":1801,"icon":1802,"path":1803,"stem":1804,"children":1805,"page":50},"空间查询与分析","i-lucide-search","/document/webgis/analysis","document/45.webgis/05.analysis",[1806,1810],{"title":1807,"path":1808,"stem":1809},"空间查询与空间关系","/document/webgis/analysis/spatial-relationships","document/45.webgis/05.analysis/09.spatial-relationships",{"title":1811,"path":1812,"stem":1813},"距离、面积与空间分析","/document/webgis/analysis/distance-and-analysis","document/45.webgis/05.analysis/10.distance-and-analysis",{"title":1815,"icon":1816,"path":1817,"stem":1818,"children":1819,"page":50},"GIS 数据工程","i-lucide-database","/document/webgis/engineering","document/45.webgis/06.engineering",[1820,1824],{"title":1821,"path":1822,"stem":1823},"GIS 数据处理与清洗","/document/webgis/engineering/data-cleaning","document/45.webgis/06.engineering/11.data-cleaning",{"title":1825,"path":1826,"stem":1827},"海量数据展示","/document/webgis/engineering/large-data-display","document/45.webgis/06.engineering/12.large-data-display",{"title":1829,"icon":1830,"path":1831,"stem":1832,"children":1833,"page":50},"Mapbox GL JS","i-simple-icons-mapbox","/document/mapbox-gl-js","document/46.mapbox-gl-js",[1834,1849,1875],{"title":1835,"path":1836,"stem":1837,"children":1838,"icon":1744},"地图基础","/document/mapbox-gl-js/start","document/46.mapbox-gl-js/01.start/01.index",[1839,1841,1845],{"title":1840,"path":1836,"stem":1837},"Mapbox GL JS 入门",{"title":1842,"path":1843,"stem":1844},"初始化与视角控制","/document/mapbox-gl-js/start/view-control","document/46.mapbox-gl-js/01.start/02.view-control",{"title":1846,"path":1847,"stem":1848},"地图事件与基础控件","/document/mapbox-gl-js/start/events-controls","document/46.mapbox-gl-js/01.start/03.events-controls",{"title":1850,"icon":1851,"path":1852,"stem":1853,"children":1854,"page":50},"数据与样式","i-lucide-layers-3","/document/mapbox-gl-js/data","document/46.mapbox-gl-js/02.data",[1855,1859,1863,1867,1871],{"title":1856,"path":1857,"stem":1858},"Source 与 Layer","/document/mapbox-gl-js/data/source-layer","document/46.mapbox-gl-js/02.data/04.source-layer",{"title":1860,"path":1861,"stem":1862},"GeoJSON 点线面","/document/mapbox-gl-js/data/geojson-features","document/46.mapbox-gl-js/02.data/05.geojson-features",{"title":1864,"path":1865,"stem":1866},"样式与表达式","/document/mapbox-gl-js/data/style-expressions","document/46.mapbox-gl-js/02.data/06.style-expressions",{"title":1868,"path":1869,"stem":1870},"Marker、Popup 与 Symbol","/document/mapbox-gl-js/data/marker-popup-symbol","document/46.mapbox-gl-js/02.data/07.marker-popup-symbol",{"title":1872,"path":1873,"stem":1874},"加载瓦片服务","/document/mapbox-gl-js/data/tile-services","document/46.mapbox-gl-js/02.data/08.tile-services",{"title":1876,"icon":1877,"path":1878,"stem":1879,"children":1880,"page":50},"业务交互","i-lucide-map-pinned","/document/mapbox-gl-js/business","document/46.mapbox-gl-js/03.business",[1881,1885,1889,1893,1897],{"title":1882,"path":1883,"stem":1884},"查询与高亮","/document/mapbox-gl-js/business/query-highlight","document/46.mapbox-gl-js/03.business/08.query-highlight",{"title":1886,"path":1887,"stem":1888},"筛选与图层管理","/document/mapbox-gl-js/business/filter-layers","document/46.mapbox-gl-js/03.business/09.filter-layers",{"title":1890,"path":1891,"stem":1892},"点聚合","/document/mapbox-gl-js/business/clusters","document/46.mapbox-gl-js/03.business/10.clusters",{"title":1894,"path":1895,"stem":1896},"绘制、编辑与测量","/document/mapbox-gl-js/business/draw-measure","document/46.mapbox-gl-js/03.business/11.draw-measure",{"title":1898,"path":1899,"stem":1900},"接入 Three.js","/document/mapbox-gl-js/business/three-in-mapbox","document/46.mapbox-gl-js/03.business/12.three-in-mapbox",{"title":1902,"icon":1851,"path":1903,"stem":1904,"children":1905,"page":50},"deck.gl","/document/deck-gl","document/47.deck-gl",[1906,1921,1938],{"title":1907,"path":1908,"stem":1909,"children":1910},"deck.gl 基础入门","/document/deck-gl/basics","document/47.deck-gl/01.basics/01.index",[1911,1913,1917],{"title":1912,"path":1908,"stem":1909},"deck.gl 简介",{"title":1914,"path":1915,"stem":1916},"Layer、Data 与 Accessor","/document/deck-gl/basics/layer-data-accessor","document/47.deck-gl/01.basics/02.layer-data-accessor",{"title":1918,"path":1919,"stem":1920},"常用基础图层","/document/deck-gl/basics/common-layers","document/47.deck-gl/01.basics/03.common-layers",{"title":1922,"path":1923,"stem":1924,"children":1925,"page":50},"地图交互与 Mapbox 集成","/document/deck-gl/interaction-mapbox","document/47.deck-gl/02.interaction-mapbox",[1926,1930,1934],{"title":1927,"path":1928,"stem":1929},"拾取与 Tooltip","/document/deck-gl/interaction-mapbox/picking-tooltip","document/47.deck-gl/02.interaction-mapbox/04.picking-tooltip",{"title":1931,"path":1932,"stem":1933},"坐标与单位","/document/deck-gl/interaction-mapbox/coordinates-units","document/47.deck-gl/02.interaction-mapbox/05.coordinates-units",{"title":1935,"path":1936,"stem":1937},"deck.gl 与 Mapbox","/document/deck-gl/interaction-mapbox/mapbox-integration","document/47.deck-gl/02.interaction-mapbox/06.mapbox-integration",{"title":1939,"path":1940,"stem":1941,"children":1942,"page":50},"动态数据与专题可视化","/document/deck-gl/dynamic-thematic","document/47.deck-gl/03.dynamic-thematic",[1943,1947,1951,1955],{"title":1944,"path":1945,"stem":1946},"Layer 更新与动态数据","/document/deck-gl/dynamic-thematic/layer-updates","document/47.deck-gl/03.dynamic-thematic/07.layer-updates",{"title":1948,"path":1949,"stem":1950},"聚合与专题地图","/document/deck-gl/dynamic-thematic/aggregation-thematic","document/47.deck-gl/03.dynamic-thematic/08.aggregation-thematic",{"title":1952,"path":1953,"stem":1954},"时间序列与轨迹动画","/document/deck-gl/dynamic-thematic/trips-animation","document/47.deck-gl/03.dynamic-thematic/09.trips-animation",{"title":1956,"path":1957,"stem":1958},"瓦片与大规模空间数据","/document/deck-gl/dynamic-thematic/tiles-large-data","document/47.deck-gl/03.dynamic-thematic/10.tiles-large-data",{"title":1960,"icon":865,"path":1961,"stem":1962,"children":1963,"page":50},"HTTP 与后端开发基础","/document/nodejs-backend","document/48.nodejs-backend",[1964,1984,2003,2022,2041,2060,2075,2090],{"title":1965,"path":1966,"stem":1967,"children":1968,"icon":1983},"后端开发基础认知","/document/nodejs-backend/guide","document/48.nodejs-backend/01.guide/01.index",[1969,1971,1975,1979],{"title":1970,"path":1966,"stem":1967},"前端与后端的区别",{"title":1972,"path":1973,"stem":1974},"HTTP / HTTPS 核心原理","/document/nodejs-backend/guide/http-https","document/48.nodejs-backend/01.guide/02.http-https",{"title":1976,"path":1977,"stem":1978},"Cookie、Session 与浏览器同源策略","/document/nodejs-backend/guide/cookies-origin","document/48.nodejs-backend/01.guide/03.cookies-origin",{"title":1980,"path":1981,"stem":1982},"从浏览器发起请求到服务端返回数据的完整过程","/document/nodejs-backend/guide/request-lifecycle","document/48.nodejs-backend/01.guide/04.request-lifecycle","i-lucide-book-open",{"title":1985,"path":1986,"stem":1987,"children":1988,"icon":1983},"Node.js HTTP 服务开发","/document/nodejs-backend/http","document/48.nodejs-backend/02.http/01.index",[1989,1991,1995,1999],{"title":1990,"path":1986,"stem":1987},"使用原生 Node.js 创建 HTTP 服务器",{"title":1992,"path":1993,"stem":1994},"HTTP 请求解析","/document/nodejs-backend/http/request","document/48.nodejs-backend/02.http/02.request",{"title":1996,"path":1997,"stem":1998},"HTTP 响应处理","/document/nodejs-backend/http/response","document/48.nodejs-backend/02.http/03.response",{"title":2000,"path":2001,"stem":2002},"路由匹配与请求处理流程","/document/nodejs-backend/http/routing","document/48.nodejs-backend/02.http/04.routing",{"title":2004,"path":2005,"stem":2006,"children":2007,"icon":1983},"RESTful API 接口设计","/document/nodejs-backend/api","document/48.nodejs-backend/03.api/01.index",[2008,2010,2014,2018],{"title":2009,"path":2005,"stem":2006},"RESTful API 设计规范与 HTTP 请求方法",{"title":2011,"path":2012,"stem":2013},"接口参数校验与数据格式规范","/document/nodejs-backend/api/validation","document/48.nodejs-backend/03.api/02.validation",{"title":2015,"path":2016,"stem":2017},"统一响应格式、错误码与异常处理","/document/nodejs-backend/api/errors","document/48.nodejs-backend/03.api/03.errors",{"title":2019,"path":2020,"stem":2021},"API 版本管理、分页、筛选、排序与接口文档","/document/nodejs-backend/api/query-contract","document/48.nodejs-backend/03.api/04.query-contract",{"title":2023,"path":2024,"stem":2025,"children":2026,"icon":1983},"身份认证与权限控制","/document/nodejs-backend/auth","document/48.nodejs-backend/04.auth/01.index",[2027,2029,2033,2037],{"title":2028,"path":2024,"stem":2025},"身份认证与权限授权",{"title":2030,"path":2031,"stem":2032},"Session、JWT 与 Token 认证机制","/document/nodejs-backend/auth/session-jwt","document/48.nodejs-backend/04.auth/02.session-jwt",{"title":2034,"path":2035,"stem":2036},"Access Token、Refresh Token 与登录状态管理","/document/nodejs-backend/auth/token-lifecycle","document/48.nodejs-backend/04.auth/03.token-lifecycle",{"title":2038,"path":2039,"stem":2040},"RBAC 权限模型与接口级权限控制","/document/nodejs-backend/auth/rbac","document/48.nodejs-backend/04.auth/04.rbac",{"title":2042,"path":2043,"stem":2044,"children":2045,"icon":1983},"后端安全与风险防护","/document/nodejs-backend/security","document/48.nodejs-backend/05.security/01.index",[2046,2048,2052,2056],{"title":2047,"path":2043,"stem":2044},"CORS 跨域机制与跨域请求处理",{"title":2049,"path":2050,"stem":2051},"XSS、CSRF、SQL 注入与常见 Web 安全风险","/document/nodejs-backend/security/web-risks","document/48.nodejs-backend/05.security/02.web-risks",{"title":2053,"path":2054,"stem":2055},"密码安全","/document/nodejs-backend/security/passwords","document/48.nodejs-backend/05.security/03.passwords",{"title":2057,"path":2058,"stem":2059},"接口防护","/document/nodejs-backend/security/request-protection","document/48.nodejs-backend/05.security/04.request-protection",{"title":2061,"path":2062,"stem":2063,"children":2064,"icon":1983},"后端工程化与架构设计","/document/nodejs-backend/architecture","document/48.nodejs-backend/06.architecture/01.index",[2065,2067,2071],{"title":2066,"path":2062,"stem":2063},"后端项目目录结构与分层架构设计",{"title":2068,"path":2069,"stem":2070},"Controller、Service、Repository 的职责划分","/document/nodejs-backend/architecture/layers","document/48.nodejs-backend/06.architecture/02.layers",{"title":2072,"path":2073,"stem":2074},"环境变量、配置管理、日志与统一异常处理","/document/nodejs-backend/architecture/configuration-logging","document/48.nodejs-backend/06.architecture/03.configuration-logging",{"title":2076,"path":2077,"stem":2078,"children":2079,"icon":1983},"常见后端业务场景","/document/nodejs-backend/business","document/48.nodejs-backend/07.business/01.index",[2080,2082,2086],{"title":2081,"path":2077,"stem":2078},"文件上传、下载与静态资源访问",{"title":2083,"path":2084,"stem":2085},"邮件、验证码与第三方服务接口集成","/document/nodejs-backend/business/integrations","document/48.nodejs-backend/07.business/02.integrations",{"title":2087,"path":2088,"stem":2089},"WebSocket、SSE 与实时消息通信","/document/nodejs-backend/business/realtime","document/48.nodejs-backend/07.business/03.realtime",{"title":2091,"path":2092,"stem":2093,"children":2094,"icon":1983},"接口测试与部署基础","/document/nodejs-backend/delivery","document/48.nodejs-backend/08.delivery/01.index",[2095,2097],{"title":2096,"path":2092,"stem":2093},"使用 Postman / Apifox 调试接口与 Node.js 接口自动化测试",{"title":2098,"path":2099,"stem":2100},"Node.js 服务部署入门","/document/nodejs-backend/delivery/deployment","document/48.nodejs-backend/08.delivery/02.deployment",{"title":2102,"icon":2103,"path":2104,"stem":2105,"children":2106,"page":50},"Redis","i-simple-icons-redis","/document/redis","document/50.redis",[2107,2122,2137,2148],{"title":2108,"path":2109,"stem":2110,"children":2111},"Redis 基础与数据结构","/document/redis/guide","document/50.redis/01.guide/01.index",[2112,2114,2118],{"title":2113,"path":2109,"stem":2110},"简介与 Node.js 集成",{"title":2115,"path":2116,"stem":2117},"核心数据类型与常用操作","/document/redis/guide/data-types","document/50.redis/01.guide/02.data-types",{"title":2119,"path":2120,"stem":2121},"Key 管理与过期时间","/document/redis/guide/keys-expiration","document/50.redis/01.guide/03.keys-expiration",{"title":2123,"path":2124,"stem":2125,"children":2126},"Redis 核心机制","/document/redis/mechanisms","document/50.redis/02.mechanisms/01.index",[2127,2129,2133],{"title":2128,"path":2124,"stem":2125},"原子操作、事务与 Pipeline",{"title":2130,"path":2131,"stem":2132},"内存管理与淘汰策略","/document/redis/mechanisms/memory-eviction","document/50.redis/02.mechanisms/02.memory-eviction",{"title":2134,"path":2135,"stem":2136},"持久化机制","/document/redis/mechanisms/persistence","document/50.redis/02.mechanisms/03.persistence",{"title":2138,"path":2139,"stem":2140,"children":2141},"Redis 在 Node.js 中的应用","/document/redis/applications","document/50.redis/03.applications/01.index",[2142,2144],{"title":2143,"path":2139,"stem":2140},"实现数据缓存",{"title":2145,"path":2146,"stem":2147},"缓存常见问题与解决方案","/document/redis/applications/cache-protection","document/50.redis/03.applications/02.cache-protection",{"title":2149,"path":2150,"stem":2151,"children":2152},"Redis 生产实践","/document/redis/production","document/50.redis/04.production/01.index",[2153],{"title":2154,"path":2150,"stem":2151},"连接管理、安全与性能排查",{"title":2156,"icon":2157,"path":2158,"stem":2159,"children":2160,"page":50},"BullMQ","i-lucide-list-todo","/document/bullmq","document/51.bullmq",[2161,2172,2187],{"title":2162,"path":2163,"stem":2164,"children":2165},"BullMQ 基础","/document/bullmq/guide","document/51.bullmq/01.guide/01.index",[2166,2168],{"title":2167,"path":2163,"stem":2164},"简介与快速入门",{"title":2169,"path":2170,"stem":2171},"Queue、Worker 与 Job","/document/bullmq/guide/queue-worker-job","document/51.bullmq/01.guide/02.queue-worker-job",{"title":2173,"path":2174,"stem":2175,"children":2176},"任务调度与管理","/document/bullmq/scheduling","document/51.bullmq/02.scheduling/01.index",[2177,2179,2183],{"title":2178,"path":2174,"stem":2175},"延迟任务与定时任务",{"title":2180,"path":2181,"stem":2182},"任务并发与速率限制","/document/bullmq/scheduling/concurrency-rate-limiting","document/51.bullmq/02.scheduling/02.concurrency-rate-limiting",{"title":2184,"path":2185,"stem":2186},"任务状态、进度与事件监听","/document/bullmq/scheduling/status-progress-events","document/51.bullmq/02.scheduling/03.status-progress-events",{"title":2188,"path":2189,"stem":2190,"children":2191},"任务可靠性","/document/bullmq/reliability","document/51.bullmq/03.reliability/01.index",[2192],{"title":2193,"path":2189,"stem":2190},"任务失败重试与异常处理",{"title":2195,"icon":2196,"path":2197,"stem":2198,"children":2199,"page":50},"RabbitMQ","i-simple-icons-rabbitmq","/document/rabbitmq","document/52.rabbitmq",[2200,2218,2233,2252],{"title":1362,"path":2201,"stem":2202,"children":2203},"/document/rabbitmq/guide","document/52.rabbitmq/01.guide/01.index",[2204,2206,2210,2214],{"title":2205,"path":2201,"stem":2202},"RabbitMQ 简介",{"title":2207,"path":2208,"stem":2209},"安装与连接","/document/rabbitmq/guide/environment","document/52.rabbitmq/01.guide/02.environment",{"title":2211,"path":2212,"stem":2213},"发送和接收一条消息","/document/rabbitmq/guide/first-message","document/52.rabbitmq/01.guide/03.first-message",{"title":2215,"path":2216,"stem":2217},"消息正文与属性","/document/rabbitmq/guide/message-format","document/52.rabbitmq/01.guide/04.message-format",{"title":2219,"path":2220,"stem":2221,"children":2222},"交换机与路由","/document/rabbitmq/routing","document/52.rabbitmq/02.routing/01.index",[2223,2225,2229],{"title":2224,"path":2220,"stem":2221},"交换机与发布订阅",{"title":2226,"path":2227,"stem":2228},"Direct 交换机的精确路由","/document/rabbitmq/routing/direct","document/52.rabbitmq/02.routing/02.direct",{"title":2230,"path":2231,"stem":2232},"Topic 交换机的通配符路由","/document/rabbitmq/routing/topic","document/52.rabbitmq/02.routing/03.topic",{"title":2234,"path":2235,"stem":2236,"children":2237},"消息可靠性","/document/rabbitmq/reliability","document/52.rabbitmq/03.reliability/01.index",[2238,2240,2244,2248],{"title":2239,"path":2235,"stem":2236},"消息处理与消费确认",{"title":2241,"path":2242,"stem":2243},"发布确认与消息退回","/document/rabbitmq/reliability/publisher-confirms","document/52.rabbitmq/03.reliability/02.publisher-confirms",{"title":2245,"path":2246,"stem":2247},"队列与消息持久化","/document/rabbitmq/reliability/persistence","document/52.rabbitmq/03.reliability/03.persistence",{"title":2249,"path":2250,"stem":2251},"消费失败与死信处理","/document/rabbitmq/reliability/dead-letter","document/52.rabbitmq/03.reliability/04.dead-letter",{"title":2253,"path":2254,"stem":2255,"children":2256},"消费与运行管理","/document/rabbitmq/management","document/52.rabbitmq/04.management/01.index",[2257,2259],{"title":2258,"path":2254,"stem":2255},"多消费者与预取控制",{"title":2260,"path":2261,"stem":2262},"队列状态与故障排查","/document/rabbitmq/management/monitoring","document/52.rabbitmq/04.management/02.monitoring",{"title":2264,"icon":2265,"path":2266,"stem":2267,"children":2268,"page":50},"Socket.IO","i-simple-icons-socketdotio","/document/socket-io","document/53.socket-io",[2269,2284,2299,2310],{"title":2270,"path":2271,"stem":2272,"children":2273},"认识与消息收发","/document/socket-io/guide","document/53.socket-io/01.guide/01.index",[2274,2276,2280],{"title":2275,"path":2271,"stem":2272},"Socket.IO 简介与环境搭建",{"title":2277,"path":2278,"stem":2279},"事件发送与监听","/document/socket-io/guide/events","document/53.socket-io/01.guide/02.events",{"title":2281,"path":2282,"stem":2283},"消息确认与输入校验","/document/socket-io/guide/acknowledgements","document/53.socket-io/01.guide/03.acknowledgements",{"title":2285,"path":2286,"stem":2287,"children":2288},"广播、房间与认证","/document/socket-io/messaging","document/53.socket-io/02.messaging/01.index",[2289,2291,2295],{"title":2290,"path":2286,"stem":2287},"广播与消息接收范围",{"title":2292,"path":2293,"stem":2294},"房间加入与分组聊天","/document/socket-io/messaging/rooms","document/53.socket-io/02.messaging/02.rooms",{"title":2296,"path":2297,"stem":2298},"身份认证与房间权限","/document/socket-io/messaging/authentication","document/53.socket-io/02.messaging/03.authentication",{"title":2300,"path":2301,"stem":2302,"children":2303},"断线与消息补取","/document/socket-io/reliability","document/53.socket-io/03.reliability/01.index",[2304,2306],{"title":2305,"path":2301,"stem":2302},"断线重连与状态提示",{"title":2307,"path":2308,"stem":2309},"最近消息与断线补取","/document/socket-io/reliability/history","document/53.socket-io/03.reliability/02.history",{"title":2311,"path":2312,"stem":2313,"children":2314},"部署与故障排查","/document/socket-io/production","document/53.socket-io/04.production/01.index",[2315],{"title":2316,"path":2312,"stem":2313},"服务部署与常见故障排查",{"title":2318,"icon":2319,"path":2320,"stem":2321,"children":2322,"page":50},"Nginx","i-simple-icons-nginx","/document/nginx","document/55.nginx",[2323,2342,2361,2376],{"title":2324,"path":2325,"stem":2326,"children":2327},"认识与运行","/document/nginx/guide","document/55.nginx/01.guide/01.index",[2328,2330,2334,2338],{"title":2329,"path":2325,"stem":2326},"Nginx 课程概览",{"title":2331,"path":2332,"stem":2333},"安装与实验环境","/document/nginx/guide/install","document/55.nginx/01.guide/02.install",{"title":2335,"path":2336,"stem":2337},"配置结构","/document/nginx/guide/configuration","document/55.nginx/01.guide/03.configuration",{"title":2339,"path":2340,"stem":2341},"启动与重载","/document/nginx/guide/lifecycle","document/55.nginx/01.guide/04.lifecycle",{"title":2343,"path":2344,"stem":2345,"children":2346},"发布静态网站","/document/nginx/website","document/55.nginx/02.website/01.index",[2347,2349,2353,2357],{"title":2348,"path":2344,"stem":2345},"静态文件与目录",{"title":2350,"path":2351,"stem":2352},"站点与路径匹配","/document/nginx/website/location","document/55.nginx/02.website/02.location",{"title":2354,"path":2355,"stem":2356},"前端路由与回退","/document/nginx/website/spa-routing","document/55.nginx/02.website/03.spa-routing",{"title":2358,"path":2359,"stem":2360},"缓存与压缩","/document/nginx/website/cache-gzip","document/55.nginx/02.website/04.cache-gzip",{"title":2362,"path":2363,"stem":2364,"children":2365},"代理与服务分流","/document/nginx/proxy","document/55.nginx/03.proxy/01.index",[2366,2368,2372],{"title":2367,"path":2363,"stem":2364},"反向代理入门",{"title":2369,"path":2370,"stem":2371},"转发信息与超时","/document/nginx/proxy/forwarded-headers","document/55.nginx/03.proxy/02.forwarded-headers",{"title":2373,"path":2374,"stem":2375},"负载均衡","/document/nginx/proxy/load-balancing","document/55.nginx/03.proxy/03.load-balancing",{"title":2377,"path":2378,"stem":2379,"children":2380},"排错与发布","/document/nginx/operations","document/55.nginx/04.operations/01.index",[2381,2383,2387],{"title":2382,"path":2378,"stem":2379},"日志与故障排查",{"title":2384,"path":2385,"stem":2386},"大小与速率限制","/document/nginx/operations/request-limits","document/55.nginx/04.operations/02.request-limits",{"title":2388,"path":2389,"stem":2390},"HTTPS 与证书","/document/nginx/operations/https","document/55.nginx/04.operations/03.https",{"title":2392,"icon":2393,"path":2394,"stem":2395,"children":2396,"page":50},"Linux 与服务器基础","i-simple-icons-linux","/document/linux","document/56.linux",[2397,2424,2447],{"title":2398,"path":2399,"stem":2400,"children":2401},"Linux 入门与基本操作","/document/linux/guide","document/56.linux/01.guide/01.index",[2402,2404,2408,2412,2416,2420],{"title":2403,"path":2399,"stem":2400},"Linux 课程概览",{"title":2405,"path":2406,"stem":2407},"文件系统与目录","/document/linux/guide/filesystem","document/56.linux/01.guide/02.filesystem",{"title":2409,"path":2410,"stem":2411},"文件查看与 Vim","/document/linux/guide/editing","document/56.linux/01.guide/03.editing",{"title":2413,"path":2414,"stem":2415},"搜索、管道与重定向","/document/linux/guide/search-pipelines","document/56.linux/01.guide/04.search-pipelines",{"title":2417,"path":2418,"stem":2419},"用户、用户组与权限","/document/linux/guide/permissions","document/56.linux/01.guide/05.permissions",{"title":2421,"path":2422,"stem":2423},"SSH 与文件传输","/document/linux/guide/ssh","document/56.linux/01.guide/06.ssh",{"title":2425,"path":2426,"stem":2427,"children":2428},"Linux 服务器管理","/document/linux/server","document/56.linux/02.server/01.index",[2429,2431,2435,2439,2443],{"title":2430,"path":2426,"stem":2427},"软件包与环境变量",{"title":2432,"path":2433,"stem":2434},"进程与后台运行","/document/linux/server/processes","document/56.linux/02.server/02.processes",{"title":2436,"path":2437,"stem":2438},"systemd 服务管理","/document/linux/server/systemd","document/56.linux/02.server/03.systemd",{"title":2440,"path":2441,"stem":2442},"系统资源与磁盘","/document/linux/server/resources","document/56.linux/02.server/05.resources",{"title":2444,"path":2445,"stem":2446},"系统与应用日志","/document/linux/server/logs","document/56.linux/02.server/06.logs",{"title":2448,"path":2449,"stem":2450,"children":2451},"Shell 与服务器实战","/document/linux/practice","document/56.linux/03.practice/01.index",[2452,2454,2458],{"title":2453,"path":2449,"stem":2450},"Bash 脚本入门",{"title":2455,"path":2456,"stem":2457},"cron 定时任务","/document/linux/practice/cron","document/56.linux/03.practice/02.cron",{"title":2459,"path":2460,"stem":2461},"服务器基础安全","/document/linux/practice/security","document/56.linux/03.practice/03.security",{"title":2463,"icon":2464,"path":2465,"stem":2466,"children":2467,"page":50},"BFF 与多服务架构","i-lucide-network","/document/backend-architecture","document/57.backend-architecture",[2468,2483],{"title":2469,"path":2470,"stem":2471,"children":2472},"BFF 基础与实践","/document/backend-architecture/guide","document/57.backend-architecture/01.guide/01.index",[2473,2475,2479],{"title":2474,"path":2470,"stem":2471},"BFF 概览",{"title":2476,"path":2477,"stem":2478},"接口聚合","/document/backend-architecture/guide/aggregation","document/57.backend-architecture/01.guide/02.aggregation",{"title":2480,"path":2481,"stem":2482},"接口适配与职责边界","/document/backend-architecture/guide/adaptation","document/57.backend-architecture/01.guide/03.adaptation",{"title":2484,"path":2485,"stem":2486,"children":2487},"多服务拆分与协作","/document/backend-architecture/services","document/57.backend-architecture/02.services/01.index",[2488,2490,2494,2498],{"title":2489,"path":2485,"stem":2486},"从单体到多服务",{"title":2491,"path":2492,"stem":2493},"HTTP 服务协作","/document/backend-architecture/services/http-collaboration","document/57.backend-architecture/02.services/02.http-collaboration",{"title":2495,"path":2496,"stem":2497},"统一 API 入口","/document/backend-architecture/services/api-entry","document/57.backend-architecture/02.services/03.api-entry",{"title":2499,"path":2500,"stem":2501},"服务调用故障处理","/document/backend-architecture/services/failure-handling","document/57.backend-architecture/02.services/04.failure-handling",{"title":2503,"icon":2464,"path":2504,"stem":2505,"children":2506,"page":50},"微服务架构","/document/microservices","document/58.microservices",[2507,2526,2545],{"title":2508,"path":2509,"stem":2510,"children":2511},"微服务架构与设计","/document/microservices/guide","document/58.microservices/01.guide/01.index",[2512,2514,2518,2522],{"title":2513,"path":2509,"stem":2510},"微服务架构简介",{"title":2515,"path":2516,"stem":2517},"微服务的设计与拆分","/document/microservices/guide/service-design","document/58.microservices/01.guide/02.service-design",{"title":2519,"path":2520,"stem":2521},"项目结构与搭建","/document/microservices/guide/project-setup","document/58.microservices/01.guide/03.project-setup",{"title":2523,"path":2524,"stem":2525},"服务通信与发现","/document/microservices/guide/communication-discovery","document/58.microservices/01.guide/04.communication-discovery",{"title":2527,"path":2528,"stem":2529,"children":2530},"微服务业务开发","/document/microservices/development","document/58.microservices/02.development/01.index",[2531,2533,2537,2541],{"title":2532,"path":2528,"stem":2529},"数据库设计",{"title":2534,"path":2535,"stem":2536},"业务事件","/document/microservices/development/business-events","document/58.microservices/02.development/02.business-events",{"title":2538,"path":2539,"stem":2540},"分布式事务与数据一致性","/document/microservices/development/distributed-transactions","document/58.microservices/02.development/03.distributed-transactions",{"title":2542,"path":2543,"stem":2544},"容错与可靠性","/document/microservices/development/resilience","document/58.microservices/02.development/04.resilience",{"title":2546,"path":2547,"stem":2548,"children":2549},"微服务运行与治理","/document/microservices/operations","document/58.microservices/03.operations/01.index",[2550,2552,2556],{"title":2551,"path":2547,"stem":2548},"安全",{"title":2553,"path":2554,"stem":2555},"可观测性","/document/microservices/operations/observability","document/58.microservices/03.operations/02.observability",{"title":2557,"path":2558,"stem":2559},"部署与扩容","/document/microservices/operations/deployment-scaling","document/58.microservices/03.operations/04.deployment-scaling",{"title":2561,"icon":2562,"path":2563,"stem":2564,"children":2565,"page":50},"Kubernetes 应用部署","i-simple-icons-kubernetes","/document/kubernetes","document/59.kubernetes",[2566,2589],{"title":2567,"path":2568,"stem":2569,"children":2570},"Kubernetes 基础与应用部署","/document/kubernetes/guide","document/59.kubernetes/01.guide/01.index",[2571,2573,2577,2581,2585],{"title":2572,"path":2568,"stem":2569},"Kubernetes 简介",{"title":2574,"path":2575,"stem":2576},"环境搭建与基本操作","/document/kubernetes/guide/setup","document/59.kubernetes/01.guide/02.setup",{"title":2578,"path":2579,"stem":2580},"Pod","/document/kubernetes/guide/pod","document/59.kubernetes/01.guide/03.pod",{"title":2582,"path":2583,"stem":2584},"Deployment","/document/kubernetes/guide/deployment","document/59.kubernetes/01.guide/04.deployment",{"title":2586,"path":2587,"stem":2588},"Service","/document/kubernetes/guide/service","document/59.kubernetes/01.guide/05.service",{"title":2590,"path":2591,"stem":2592,"children":2593,"page":50},"服务配置与运行管理","/document/kubernetes/management","document/59.kubernetes/02.management",[2594,2598,2602,2606,2610,2614,2618],{"title":2595,"path":2596,"stem":2597},"Gateway API","/document/kubernetes/management/gateway-api","document/59.kubernetes/02.management/06.gateway-api",{"title":2599,"path":2600,"stem":2601},"ConfigMap 与 Secret","/document/kubernetes/management/configmap-secret","document/59.kubernetes/02.management/07.configmap-secret",{"title":2603,"path":2604,"stem":2605},"健康检查","/document/kubernetes/management/probes","document/59.kubernetes/02.management/08.probes",{"title":2607,"path":2608,"stem":2609},"资源请求与限制","/document/kubernetes/management/resources","document/59.kubernetes/02.management/09.resources",{"title":2611,"path":2612,"stem":2613},"滚动更新与回滚","/document/kubernetes/management/rolling-update","document/59.kubernetes/02.management/10.rolling-update",{"title":2615,"path":2616,"stem":2617},"扩容与自动伸缩","/document/kubernetes/management/autoscaling","document/59.kubernetes/02.management/11.autoscaling",{"title":2619,"path":2620,"stem":2621},"存储与持久化","/document/kubernetes/management/storage","document/59.kubernetes/02.management/12.storage",{"title":2623,"icon":2624,"path":2625,"stem":2626,"children":2627,"page":50},"LLM 基础","i-lucide-brain","/document/llm","document/60.llm",[2628,2651,2670],{"title":2629,"path":2630,"stem":2631,"children":2632},"大语言模型基础","/document/llm/guide","document/60.llm/01.guide/01.index",[2633,2635,2639,2643,2647],{"title":2634,"path":2630,"stem":2631},"大语言模型简介",{"title":2636,"path":2637,"stem":2638},"大语言模型的工作原理","/document/llm/guide/how-llms-work","document/60.llm/01.guide/02.how-llms-work",{"title":2640,"path":2641,"stem":2642},"Token 与上下文窗口","/document/llm/guide/tokens-and-context-window","document/60.llm/01.guide/03.tokens-and-context-window",{"title":2644,"path":2645,"stem":2646},"模型类型与参数","/document/llm/guide/model-types-and-parameters","document/60.llm/01.guide/04.model-types-and-parameters",{"title":2648,"path":2649,"stem":2650},"Embedding 与语义表示","/document/llm/guide/embeddings","document/60.llm/01.guide/05.embeddings",{"title":2652,"path":2653,"stem":2654,"children":2655},"Prompt Engineering","/document/llm/prompt-engineering","document/60.llm/02.prompt-engineering/01.index",[2656,2658,2662,2666],{"title":2657,"path":2653,"stem":2654},"提示词工程简介",{"title":2659,"path":2660,"stem":2661},"角色设定与指令设计","/document/llm/prompt-engineering/roles-and-instructions","document/60.llm/02.prompt-engineering/02.roles-and-instructions",{"title":2663,"path":2664,"stem":2665},"Few-shot 与示例引导","/document/llm/prompt-engineering/few-shot","document/60.llm/02.prompt-engineering/03.few-shot",{"title":2667,"path":2668,"stem":2669},"结构化输出与复杂任务提示","/document/llm/prompt-engineering/structured-output-and-complex-tasks","document/60.llm/02.prompt-engineering/04.structured-output-and-complex-tasks",{"title":2671,"path":2672,"stem":2673,"children":2674},"上下文工程与实践","/document/llm/context-engineering","document/60.llm/03.context-engineering/01.index",[2675,2677,2681],{"title":2676,"path":2672,"stem":2673},"上下文工程基础",{"title":2678,"path":2679,"stem":2680},"提示词测试与优化","/document/llm/context-engineering/prompt-testing-and-optimization","document/60.llm/03.context-engineering/02.prompt-testing-and-optimization",{"title":2682,"path":2683,"stem":2684},"提示词综合实践","/document/llm/context-engineering/prompt-practice","document/60.llm/03.context-engineering/03.prompt-practice",{"id":2686,"title":2619,"body":2687,"description":3969,"extension":3970,"links":3971,"meta":3972,"navigation":3973,"path":2620,"seo":3974,"stem":2621,"__hash__":3975},"docs/document/59.kubernetes/02.management/12.storage.md",{"type":2688,"value":2689,"toc":3950},"minimal",[2690,2695,2704,2711,2718,2721,2725,2732,2739,2787,2793,2795,2799,2802,2875,2882,2889,2891,2895,2902,2905,2964,2970,2977,2979,2983,2988,2995,3020,3023,3031,3045,3052,3056,3063,3177,3180,3206,3209,3241,3247,3249,3253,3259,3448,3451,3475,3477,3526,3529,3535,3542,3556,3559,3565,3579,3586,3588,3592,3595,3599,3606,3649,3652,3681,3684,3690,3693,3697,3704,3751,3754,3758,3784,3787,3792,3798,3805,3807,3811,3814,3823,3829,3832,3851,3854,3874,3880,3882,3886,3891,3894,3902,3908,3913,3916,3918,3922,3932,3941,3943,3946],[2691,2692,2694],"h2",{"id":2693},"引言","🎯 引言",[2696,2697,2698,2699,2703],"p",{},"前面部署的 Node.js 订单服务有两个 Pod，它们可能因为更新或故障而被替换。订单数据已经保存在 MySQL 中；如果以后增加上传图片、附件的功能，通常也会交给 ",[2700,2701,2702],"strong",{},"对象存储","（如 OSS、COS、S3），而不是保存在某个订单 Pod 内。",[2696,2705,2706,2707,2710],{},"那么，Kubernetes 为什么还要提供持久化存储？因为有些程序确实需要把文件写到一个目录里，并且希望 ",[2700,2708,2709],{},"Pod 被删除、重新创建后，文件仍然存在","。例如，在集群内运行的数据库或其他需要保存文件的服务。",[2696,2712,2713,2714,2717],{},"本篇先分清业务数据通常存在哪里、什么时候需要 PVC，再使用 ",[2700,2715,2716],{},"独立的测试 Pod"," 完成一次文件保留实验。我们不会修改现有订单服务，也不会把“给订单 Pod 挂 PVC”当作上传文件的默认方案。",[2719,2720],"hr",{},[2691,2722,2724],{"id":2723},"为什么-pod-里的文件可能丢失","🧱 为什么 Pod 里的文件可能丢失？",[2696,2726,2727,2728,2731],{},"容器可以创建文件，但",[2700,2729,2730],{},"写在容器可写层里的数据，不会随着容器的重新创建自动保留","。例如，旧 Pod 被删除后，新 Pod 即使使用同一个镜像，也不会自动继承旧 Pod 写入的文件。",[2696,2733,2734,2735,2738],{},"Kubernetes 可以通过 ",[2700,2736,2737],{},"Volume（卷）"," 把存储挂载到容器目录。不过，不是所有 Volume 都能长期保存数据：",[2740,2741,2742,2755],"table",{},[2743,2744,2745],"thead",{},[2746,2747,2748,2752],"tr",{},[2749,2750,2751],"th",{},"文件存放位置",[2749,2753,2754],{},"数据能够保留多久？",[2756,2757,2758,2767,2779],"tbody",{},[2746,2759,2760,2764],{},[2761,2762,2763],"td",{},"容器自己的可写层",[2761,2765,2766],{},"容器被重新创建后，原先写入的数据可能丢失",[2746,2768,2769,2776],{},[2761,2770,2771,2775],{},[2772,2773,2774],"code",{},"emptyDir"," 临时卷",[2761,2777,2778],{},"同一个 Pod 内的容器重启后仍能保留；Pod 被删除后会丢失",[2746,2780,2781,2784],{},[2761,2782,2783],{},"持久卷（通过 PVC 使用）",[2761,2785,2786],{},"在底层存储及 PVC 仍然可用的情况下，可以跨 Pod 删除与重建保留",[2696,2788,2789,2790],{},"第三种情况就是本篇要亲自验证的：",[2700,2791,2792],{},"让需要保存的文件独立于 Pod 的生命周期。",[2719,2794],{},[2691,2796,2798],{"id":2797},"实际项目的数据一般保存在哪里","📦 实际项目的数据一般保存在哪里？",[2696,2800,2801],{},"对于普通 Node.js 业务服务，常见做法是把不同数据交给合适的存储系统，而不是全部写进 Pod：",[2740,2803,2804,2817],{},[2743,2805,2806],{},[2746,2807,2808,2811,2814],{},[2749,2809,2810],{},"数据",[2749,2812,2813],{},"常见保存方式",[2749,2815,2816],{},"订单 Pod 通常需要 PVC 吗？",[2756,2818,2819,2830,2841,2851,2864],{},[2746,2820,2821,2824,2827],{},[2761,2822,2823],{},"订单、用户等业务记录",[2761,2825,2826],{},"MySQL、PostgreSQL 等数据库",[2761,2828,2829],{},"不需要",[2746,2831,2832,2835,2838],{},[2761,2833,2834],{},"图片、附件、视频",[2761,2836,2837],{},"对象存储，如 OSS、COS、S3",[2761,2839,2840],{},"通常不需要",[2746,2842,2843,2846,2849],{},[2761,2844,2845],{},"应用日志",[2761,2847,2848],{},"输出到标准输出，由日志系统采集",[2761,2850,2840],{},[2746,2852,2853,2856,2861],{},[2761,2854,2855],{},"临时处理文件",[2761,2857,2858,2859],{},"容器临时目录或 ",[2772,2860,2774],{},[2761,2862,2863],{},"不需要持久 PVC",[2746,2865,2866,2869,2872],{},[2761,2867,2868],{},"集群内需要保存文件的服务",[2761,2870,2871],{},"根据场景使用持久卷和 PVC",[2761,2873,2874],{},"可能需要",[2696,2876,2877,2878,2881],{},"这里说的“不需要”，是指 ",[2700,2879,2880],{},"订单服务的 Pod 本身通常不需要挂载 PVC","。例如，MySQL 如果也部署在 Kubernetes 内部，它自己的 Pod 仍可能需要 PVC 来保存数据库文件。",[2696,2883,2884,2885,2888],{},"因此，我们接下来的 PVC 实验是为了理解 Kubernetes 如何管理持久存储，",[2700,2886,2887],{},"不是教你把订单附件直接保存在 PVC 中作为生产方案","。",[2719,2890],{},[2691,2892,2894],{"id":2893},"volumepvpvc-是怎么配合的","🧩 Volume、PV、PVC 是怎么配合的？",[2696,2896,2897,2898,2901],{},"假设一个测试 Pod 需要把文件保存在 ",[2772,2899,2900],{},"/app/uploads","。我们不用在 Pod 里指定某块硬盘的位置，而是先提交一份存储申请，再让 Pod 使用它。",[2903,2904],"kubernetes-storage-flow",{},[2740,2906,2907,2917],{},[2743,2908,2909],{},[2746,2910,2911,2914],{},[2749,2912,2913],{},"名称",[2749,2915,2916],{},"在这个例子中负责什么？",[2756,2918,2919,2932,2943,2954],{},[2746,2920,2921,2926],{},[2761,2922,2923],{},[2700,2924,2925],{},"Volume",[2761,2927,2928,2929,2931],{},"在 Pod 配置中声明要挂载的存储，并让容器通过 ",[2772,2930,2900],{}," 访问",[2746,2933,2934,2940],{},[2761,2935,2936,2939],{},[2700,2937,2938],{},"PVC","（PersistentVolumeClaim）",[2761,2941,2942],{},"申请一块满足容量和访问方式要求的存储",[2746,2944,2945,2951],{},[2761,2946,2947,2950],{},[2700,2948,2949],{},"PV","（PersistentVolume）",[2761,2952,2953],{},"集群中满足 PVC 申请、与其绑定的存储资源",[2746,2955,2956,2961],{},[2761,2957,2958],{},[2700,2959,2960],{},"StorageClass",[2761,2962,2963],{},"指定一类存储的提供方式；集群支持时，可以按 PVC 自动创建 PV",[2696,2965,2966,2967],{},"记住它们的关系就够了： ",[2700,2968,2969],{},"Pod 通过 Volume 引用 PVC，PVC 绑定 PV，文件实际保存在 PV 对应的底层存储中。",[2696,2971,2972,2973,2976],{},"接下来我们只操作这个独立测试 Pod，不修改正在运行的两个 ",[2772,2974,2975],{},"orders"," 副本。",[2719,2978],{},[2691,2980,2982],{"id":2981},"创建一份存储申请","🛠 创建一份存储申请",[2984,2985,2987],"h3",{"id":2986},"_1-先查看集群能否提供存储","1. 先查看集群能否提供存储",[2696,2989,2990,2991,2994],{},"继续使用前面课程的 ",[2772,2992,2993],{},"node-course"," kind 集群，执行：",[2996,2997,3002],"pre",{"className":2998,"code":2999,"language":3000,"meta":3001,"style":3001},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","kubectl get storageclass\n","bash","",[2772,3003,3004],{"__ignoreMap":3001},[3005,3006,3009,3013,3017],"span",{"class":3007,"line":3008},"line",1,[3005,3010,3012],{"class":3011},"sYGMc","kubectl",[3005,3014,3016],{"class":3015},"sIEYB"," get",[3005,3018,3019],{"class":3015}," storageclass\n",[2696,3021,3022],{},"在常见的 kind 环境中，可能看到类似结果：",[2996,3024,3029],{"className":3025,"code":3027,"language":3028,"meta":3001},[3026],"language-text","NAME                 PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE\nstandard (default)   rancher.io/local-path   Delete          WaitForFirstConsumer\n","text",[2772,3030,3027],{"__ignoreMap":3001},[2696,3032,3033,3034,3037,3038,3041,3042,2888],{},"其中 ",[2772,3035,3036],{},"standard (default)"," 表示这是默认 StorageClass。",[2772,3039,3040],{},"WaitForFirstConsumer"," 表示 ",[2700,3043,3044],{},"集群可能要等到使用 PVC 的 Pod 创建后，才会分配和绑定存储",[2696,3046,3047,3048,3051],{},"不同环境的输出可能不同。如果没有可用的默认 StorageClass，也没有预先创建的合适 PV，下面的 PVC 就可能无法完成绑定，需要先为集群配置存储提供方式。不要把 ",[2772,3049,3050],{},"Pending"," 一律理解为配置出错。",[2984,3053,3055],{"id":3054},"_2-创建-pvc","2. 创建 PVC",[2696,3057,3058,3059,3062],{},"新建 ",[2772,3060,3061],{},"pvc.yaml","：",[2996,3064,3068],{"className":3065,"code":3066,"language":3067,"meta":3001,"style":3001},"language-yaml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","apiVersion: v1\nkind: PersistentVolumeClaim\nmetadata:\n  name: orders-files\n  namespace: course\nspec:\n  accessModes:\n    - ReadWriteOnce\n  resources:\n    requests:\n      storage: 1Gi\n","yaml",[2772,3069,3070,3083,3094,3103,3114,3125,3133,3141,3150,3158,3166],{"__ignoreMap":3001},[3005,3071,3072,3076,3080],{"class":3007,"line":3008},[3005,3073,3075],{"class":3074},"sd2Uz","apiVersion",[3005,3077,3079],{"class":3078},"s86vT",":",[3005,3081,3082],{"class":3015}," v1\n",[3005,3084,3086,3089,3091],{"class":3007,"line":3085},2,[3005,3087,3088],{"class":3074},"kind",[3005,3090,3079],{"class":3078},[3005,3092,3093],{"class":3015}," PersistentVolumeClaim\n",[3005,3095,3097,3100],{"class":3007,"line":3096},3,[3005,3098,3099],{"class":3074},"metadata",[3005,3101,3102],{"class":3078},":\n",[3005,3104,3106,3109,3111],{"class":3007,"line":3105},4,[3005,3107,3108],{"class":3074},"  name",[3005,3110,3079],{"class":3078},[3005,3112,3113],{"class":3015}," orders-files\n",[3005,3115,3117,3120,3122],{"class":3007,"line":3116},5,[3005,3118,3119],{"class":3074},"  namespace",[3005,3121,3079],{"class":3078},[3005,3123,3124],{"class":3015}," course\n",[3005,3126,3128,3131],{"class":3007,"line":3127},6,[3005,3129,3130],{"class":3074},"spec",[3005,3132,3102],{"class":3078},[3005,3134,3136,3139],{"class":3007,"line":3135},7,[3005,3137,3138],{"class":3074},"  accessModes",[3005,3140,3102],{"class":3078},[3005,3142,3144,3147],{"class":3007,"line":3143},8,[3005,3145,3146],{"class":3078},"    -",[3005,3148,3149],{"class":3015}," ReadWriteOnce\n",[3005,3151,3153,3156],{"class":3007,"line":3152},9,[3005,3154,3155],{"class":3074},"  resources",[3005,3157,3102],{"class":3078},[3005,3159,3161,3164],{"class":3007,"line":3160},10,[3005,3162,3163],{"class":3074},"    requests",[3005,3165,3102],{"class":3078},[3005,3167,3169,3172,3174],{"class":3007,"line":3168},11,[3005,3170,3171],{"class":3074},"      storage",[3005,3173,3079],{"class":3078},[3005,3175,3176],{"class":3015}," 1Gi\n",[2696,3178,3179],{},"这里只有三个重点：",[3181,3182,3183,3190,3196],"ul",{},[3184,3185,3186,3189],"li",{},[2772,3187,3188],{},"orders-files","：练习用的 PVC 名称，稍后测试 Pod 会通过它找到存储。",[3184,3191,3192,3195],{},[2772,3193,3194],{},"storage: 1Gi","：申请约 1 GiB 的存储容量。",[3184,3197,3198,3201,3202,3205],{},[2772,3199,3200],{},"ReadWriteOnce","：简称 RWO，通常表示卷可以由",[2700,3203,3204],{},"一个节点","以读写方式挂载，不等于只能有一个 Pod 使用。",[2696,3207,3208],{},"执行：",[2996,3210,3212],{"className":2998,"code":3211,"language":3000,"meta":3001,"style":3001},"kubectl apply -f pvc.yaml\nkubectl get pvc -n course\n",[2772,3213,3214,3227],{"__ignoreMap":3001},[3005,3215,3216,3218,3221,3224],{"class":3007,"line":3008},[3005,3217,3012],{"class":3011},[3005,3219,3220],{"class":3015}," apply",[3005,3222,3223],{"class":3015}," -f",[3005,3225,3226],{"class":3015}," pvc.yaml\n",[3005,3228,3229,3231,3233,3236,3239],{"class":3007,"line":3085},[3005,3230,3012],{"class":3011},[3005,3232,3016],{"class":3015},[3005,3234,3235],{"class":3015}," pvc",[3005,3237,3238],{"class":3015}," -n",[3005,3240,3124],{"class":3015},[2696,3242,3243,3244,3246],{},"如果此时看到 ",[2772,3245,3050],{},"，先不用急着排错。我们刚才已经看到，某些 StorageClass 要等使用这份 PVC 的 Pod 出现后才会完成绑定。",[2719,3248],{},[2691,3250,3252],{"id":3251},"将存储挂载到测试-pod","📦 将存储挂载到测试 Pod",[2696,3254,3058,3255,3258],{},[2772,3256,3257],{},"storage-test.yaml","，内容如下。这里使用一个轻量的 BusyBox 容器专门做文件验证，不需要修改订单服务代码。",[2996,3260,3262],{"className":3065,"code":3261,"language":3067,"meta":3001,"style":3001},"apiVersion: v1\nkind: Pod\nmetadata:\n  name: orders-storage-test\n  namespace: course\nspec:\n  containers:\n    - name: test\n      image: busybox:1.36\n      command: [\"sh\", \"-c\", \"sleep 3600\"]\n      volumeMounts:\n        - name: files\n          mountPath: /app/uploads\n  volumes:\n    - name: files\n      persistentVolumeClaim:\n        claimName: orders-files\n",[2772,3263,3264,3272,3281,3287,3296,3304,3310,3317,3329,3339,3380,3387,3400,3411,3419,3430,3438],{"__ignoreMap":3001},[3005,3265,3266,3268,3270],{"class":3007,"line":3008},[3005,3267,3075],{"class":3074},[3005,3269,3079],{"class":3078},[3005,3271,3082],{"class":3015},[3005,3273,3274,3276,3278],{"class":3007,"line":3085},[3005,3275,3088],{"class":3074},[3005,3277,3079],{"class":3078},[3005,3279,3280],{"class":3015}," Pod\n",[3005,3282,3283,3285],{"class":3007,"line":3096},[3005,3284,3099],{"class":3074},[3005,3286,3102],{"class":3078},[3005,3288,3289,3291,3293],{"class":3007,"line":3105},[3005,3290,3108],{"class":3074},[3005,3292,3079],{"class":3078},[3005,3294,3295],{"class":3015}," orders-storage-test\n",[3005,3297,3298,3300,3302],{"class":3007,"line":3116},[3005,3299,3119],{"class":3074},[3005,3301,3079],{"class":3078},[3005,3303,3124],{"class":3015},[3005,3305,3306,3308],{"class":3007,"line":3127},[3005,3307,3130],{"class":3074},[3005,3309,3102],{"class":3078},[3005,3311,3312,3315],{"class":3007,"line":3135},[3005,3313,3314],{"class":3074},"  containers",[3005,3316,3102],{"class":3078},[3005,3318,3319,3321,3324,3326],{"class":3007,"line":3143},[3005,3320,3146],{"class":3078},[3005,3322,3323],{"class":3074}," name",[3005,3325,3079],{"class":3078},[3005,3327,3328],{"class":3015}," test\n",[3005,3330,3331,3334,3336],{"class":3007,"line":3152},[3005,3332,3333],{"class":3074},"      image",[3005,3335,3079],{"class":3078},[3005,3337,3338],{"class":3015}," busybox:1.36\n",[3005,3340,3341,3344,3346,3349,3352,3355,3357,3360,3363,3366,3368,3370,3372,3375,3377],{"class":3007,"line":3160},[3005,3342,3343],{"class":3074},"      command",[3005,3345,3079],{"class":3078},[3005,3347,3348],{"class":3078}," [",[3005,3350,3351],{"class":3078},"\"",[3005,3353,3354],{"class":3015},"sh",[3005,3356,3351],{"class":3078},[3005,3358,3359],{"class":3078},",",[3005,3361,3362],{"class":3078}," \"",[3005,3364,3365],{"class":3015},"-c",[3005,3367,3351],{"class":3078},[3005,3369,3359],{"class":3078},[3005,3371,3362],{"class":3078},[3005,3373,3374],{"class":3015},"sleep 3600",[3005,3376,3351],{"class":3078},[3005,3378,3379],{"class":3078},"]\n",[3005,3381,3382,3385],{"class":3007,"line":3168},[3005,3383,3384],{"class":3074},"      volumeMounts",[3005,3386,3102],{"class":3078},[3005,3388,3390,3393,3395,3397],{"class":3007,"line":3389},12,[3005,3391,3392],{"class":3078},"        -",[3005,3394,3323],{"class":3074},[3005,3396,3079],{"class":3078},[3005,3398,3399],{"class":3015}," files\n",[3005,3401,3403,3406,3408],{"class":3007,"line":3402},13,[3005,3404,3405],{"class":3074},"          mountPath",[3005,3407,3079],{"class":3078},[3005,3409,3410],{"class":3015}," /app/uploads\n",[3005,3412,3414,3417],{"class":3007,"line":3413},14,[3005,3415,3416],{"class":3074},"  volumes",[3005,3418,3102],{"class":3078},[3005,3420,3422,3424,3426,3428],{"class":3007,"line":3421},15,[3005,3423,3146],{"class":3078},[3005,3425,3323],{"class":3074},[3005,3427,3079],{"class":3078},[3005,3429,3399],{"class":3015},[3005,3431,3433,3436],{"class":3007,"line":3432},16,[3005,3434,3435],{"class":3074},"      persistentVolumeClaim",[3005,3437,3102],{"class":3078},[3005,3439,3441,3444,3446],{"class":3007,"line":3440},17,[3005,3442,3443],{"class":3074},"        claimName",[3005,3445,3079],{"class":3078},[3005,3447,3113],{"class":3015},[2696,3449,3450],{},"先看两处关键配置：",[3181,3452,3453,3466],{},[3184,3454,3455,3458,3459,3462,3463,3465],{},[2772,3456,3457],{},"volumes","：告诉 Pod，名叫 ",[2772,3460,3461],{},"files"," 的卷来自我们刚创建的 ",[2772,3464,3188],{}," PVC。",[3184,3467,3468,3471,3472,3474],{},[2772,3469,3470],{},"volumeMounts","：把这个卷挂载到容器里的 ",[2772,3473,2900],{},"。之后写入这个目录的文件，就会写入对应存储。",[2696,3476,3208],{},[2996,3478,3480],{"className":2998,"code":3479,"language":3000,"meta":3001,"style":3001},"kubectl apply -f storage-test.yaml\nkubectl wait --for=condition=Ready pod/orders-storage-test -n course --timeout=120s\nkubectl get pvc -n course\n",[2772,3481,3482,3493,3514],{"__ignoreMap":3001},[3005,3483,3484,3486,3488,3490],{"class":3007,"line":3008},[3005,3485,3012],{"class":3011},[3005,3487,3220],{"class":3015},[3005,3489,3223],{"class":3015},[3005,3491,3492],{"class":3015}," storage-test.yaml\n",[3005,3494,3495,3497,3500,3503,3506,3508,3511],{"class":3007,"line":3085},[3005,3496,3012],{"class":3011},[3005,3498,3499],{"class":3015}," wait",[3005,3501,3502],{"class":3015}," --for=condition=Ready",[3005,3504,3505],{"class":3015}," pod/orders-storage-test",[3005,3507,3238],{"class":3015},[3005,3509,3510],{"class":3015}," course",[3005,3512,3513],{"class":3015}," --timeout=120s\n",[3005,3515,3516,3518,3520,3522,3524],{"class":3007,"line":3096},[3005,3517,3012],{"class":3011},[3005,3519,3016],{"class":3015},[3005,3521,3235],{"class":3015},[3005,3523,3238],{"class":3015},[3005,3525,3124],{"class":3015},[2696,3527,3528],{},"模拟输出（实际卷名称会不同）：",[2996,3530,3533],{"className":3531,"code":3532,"language":3028,"meta":3001},[3026],"pod/orders-storage-test created\npod/orders-storage-test condition met\n\nNAME           STATUS   VOLUME                                     CAPACITY   ACCESS MODES\norders-files   Bound    pvc-12345678-aaaa-bbbb-cccc-123456789abc   1Gi        RWO\n",[2772,3534,3532],{"__ignoreMap":3001},[2696,3536,3537,3538,3541],{},"看到 ",[2772,3539,3540],{},"Bound","，说明 PVC 已经成功绑定存储资源；测试 Pod 也已就绪。接着查看集群中的 PV：",[2996,3543,3545],{"className":2998,"code":3544,"language":3000,"meta":3001,"style":3001},"kubectl get pv\n",[2772,3546,3547],{"__ignoreMap":3001},[3005,3548,3549,3551,3553],{"class":3007,"line":3008},[3005,3550,3012],{"class":3011},[3005,3552,3016],{"class":3015},[3005,3554,3555],{"class":3015}," pv\n",[2696,3557,3558],{},"模拟输出（仅展示关键列，实际卷名称会不同）：",[2996,3560,3563],{"className":3561,"code":3562,"language":3028,"meta":3001},[3026],"NAME                                      STATUS   CLAIM                 STORAGECLASS\npvc-12345678-aaaa-bbbb-cccc-123456789abc Bound    course/orders-files   standard\n",[2772,3564,3562],{"__ignoreMap":3001},[2696,3566,3567,3568,3571,3572,3575,3576,3578],{},"我们只创建了 PVC，没有手动创建 PV。这里的 ",[2772,3569,3570],{},"CLAIM"," 表示这个 PV 已经与 ",[2772,3573,3574],{},"course"," 命名空间中的 ",[2772,3577,3188],{}," PVC 绑定；在当前示例中，PV 由 StorageClass 对应的存储供应程序动态创建。",[2696,3580,3581,3582,3585],{},"如果 Pod 一直无法启动，先执行 ",[2772,3583,3584],{},"kubectl describe pod orders-storage-test -n course"," 查看事件，例如存储绑定失败或容器镜像无法拉取，而不是直接跳过。",[2719,3587],{},[2691,3589,3591],{"id":3590},"删除并重建-pod文件还在吗","🔎 删除并重建 Pod，文件还在吗？",[2696,3593,3594],{},"现在做这篇文章最重要的实验。",[2984,3596,3598],{"id":3597},"_1-写入文件","1. 写入文件",[2696,3600,3601,3602,3605],{},"使用 ",[2772,3603,3604],{},"kubectl exec"," 在测试容器内执行一条命令，把内容写入刚才挂载的目录：",[2996,3607,3609],{"className":2998,"code":3608,"language":3000,"meta":3001,"style":3001},"kubectl exec -n course orders-storage-test -- \\\n  sh -c 'echo \"hello kubernetes\" > /app/uploads/hello.txt'\n",[2772,3610,3611,3632],{"__ignoreMap":3001},[3005,3612,3613,3615,3618,3620,3622,3625,3628],{"class":3007,"line":3008},[3005,3614,3012],{"class":3011},[3005,3616,3617],{"class":3015}," exec",[3005,3619,3238],{"class":3015},[3005,3621,3510],{"class":3015},[3005,3623,3624],{"class":3015}," orders-storage-test",[3005,3626,3627],{"class":3015}," --",[3005,3629,3631],{"class":3630},"sndM8"," \\\n",[3005,3633,3634,3637,3640,3643,3646],{"class":3007,"line":3085},[3005,3635,3636],{"class":3015},"  sh",[3005,3638,3639],{"class":3015}," -c",[3005,3641,3642],{"class":3078}," '",[3005,3644,3645],{"class":3015},"echo \"hello kubernetes\" > /app/uploads/hello.txt",[3005,3647,3648],{"class":3078},"'\n",[2696,3650,3651],{},"再读取文件：",[2996,3653,3655],{"className":2998,"code":3654,"language":3000,"meta":3001,"style":3001},"kubectl exec -n course orders-storage-test -- \\\n  cat /app/uploads/hello.txt\n",[2772,3656,3657,3673],{"__ignoreMap":3001},[3005,3658,3659,3661,3663,3665,3667,3669,3671],{"class":3007,"line":3008},[3005,3660,3012],{"class":3011},[3005,3662,3617],{"class":3015},[3005,3664,3238],{"class":3015},[3005,3666,3510],{"class":3015},[3005,3668,3624],{"class":3015},[3005,3670,3627],{"class":3015},[3005,3672,3631],{"class":3630},[3005,3674,3675,3678],{"class":3007,"line":3085},[3005,3676,3677],{"class":3015},"  cat",[3005,3679,3680],{"class":3015}," /app/uploads/hello.txt\n",[2696,3682,3683],{},"输出：",[2996,3685,3688],{"className":3686,"code":3687,"language":3028,"meta":3001},[3026],"hello kubernetes\n",[2772,3689,3687],{"__ignoreMap":3001},[2696,3691,3692],{},"这证明文件已经写入挂载目录，但还不能证明它能在 Pod 消失后保留。",[2984,3694,3696],{"id":3695},"_2-删除旧-pod再创建新-pod","2. 删除旧 Pod，再创建新 Pod",[2696,3698,3699,3700,3703],{},"先删除测试 Pod，",[2700,3701,3702],{},"不要删除 PVC","，然后使用同一份 YAML 创建新的测试 Pod：",[2996,3705,3707],{"className":2998,"code":3706,"language":3000,"meta":3001,"style":3001},"kubectl delete pod orders-storage-test -n course\nkubectl apply -f storage-test.yaml\nkubectl wait --for=condition=Ready pod/orders-storage-test -n course --timeout=120s\n",[2772,3708,3709,3725,3735],{"__ignoreMap":3001},[3005,3710,3711,3713,3716,3719,3721,3723],{"class":3007,"line":3008},[3005,3712,3012],{"class":3011},[3005,3714,3715],{"class":3015}," delete",[3005,3717,3718],{"class":3015}," pod",[3005,3720,3624],{"class":3015},[3005,3722,3238],{"class":3015},[3005,3724,3124],{"class":3015},[3005,3726,3727,3729,3731,3733],{"class":3007,"line":3085},[3005,3728,3012],{"class":3011},[3005,3730,3220],{"class":3015},[3005,3732,3223],{"class":3015},[3005,3734,3492],{"class":3015},[3005,3736,3737,3739,3741,3743,3745,3747,3749],{"class":3007,"line":3096},[3005,3738,3012],{"class":3011},[3005,3740,3499],{"class":3015},[3005,3742,3502],{"class":3015},[3005,3744,3505],{"class":3015},[3005,3746,3238],{"class":3015},[3005,3748,3510],{"class":3015},[3005,3750,3513],{"class":3015},[2696,3752,3753],{},"注意：新 Pod 与旧 Pod 的名称一样，但它是重新创建的 Pod，不是刚才那个 Pod 恢复运行。",[2984,3755,3757],{"id":3756},"_3-重新读取文件","3. 重新读取文件",[2996,3759,3760],{"className":2998,"code":3654,"language":3000,"meta":3001,"style":3001},[2772,3761,3762,3778],{"__ignoreMap":3001},[3005,3763,3764,3766,3768,3770,3772,3774,3776],{"class":3007,"line":3008},[3005,3765,3012],{"class":3011},[3005,3767,3617],{"class":3015},[3005,3769,3238],{"class":3015},[3005,3771,3510],{"class":3015},[3005,3773,3624],{"class":3015},[3005,3775,3627],{"class":3015},[3005,3777,3631],{"class":3630},[3005,3779,3780,3782],{"class":3007,"line":3085},[3005,3781,3677],{"class":3015},[3005,3783,3680],{"class":3015},[2696,3785,3786],{},"预期输出：",[2996,3788,3790],{"className":3789,"code":3687,"language":3028,"meta":3001},[3026],[2772,3791,3687],{"__ignoreMap":3001},[2696,3793,3794,3797],{},[2700,3795,3796],{},"旧 Pod 已经删除，文件却仍然能被读取。"," 因为我们保留了 PVC，新 Pod 再次挂载了它绑定的存储，而不是使用旧容器的可写层。",[2696,3799,3800,3801,3804],{},"这里验证的是 ",[2700,3802,3803],{},"Pod 删除与重建后，数据能够保留","；并不是说任何硬盘故障或整个集群被删除后，数据都一定存在。",[2719,3806],{},[2691,3808,3810],{"id":3809},"️-pvc-不等于永远不会丢数据","⚠️ PVC 不等于永远不会丢数据",[2696,3812,3813],{},"本篇还有两个实际使用时需要知道的边界。",[2696,3815,3816,3819,3820,3822],{},[2700,3817,3818],{},"第一，多个 Pod 不一定能把同一个 PVC 当作共享盘。"," 例如 ",[2772,3821,3200],{},"（RWO）通常限制卷只能由一个节点以读写方式挂载，不能直接当作跨节点共享盘。",[2696,3824,3825,3828],{},[2700,3826,3827],{},"第二，持久化不等于备份。"," PVC 的数据是否能承受节点损坏、集群删除或误删 PVC，取决于底层存储和回收策略。kind 的本地存储适合学习，不能当成生产环境的数据保障方案。MySQL 等有稳定身份和持久化需求的应用，还可能需要 StatefulSet 等机制，但本篇不展开数据库部署。",[2696,3830,3831],{},"练习结束后，可以删除测试 Pod：",[2996,3833,3835],{"className":2998,"code":3834,"language":3000,"meta":3001,"style":3001},"kubectl delete pod orders-storage-test -n course\n",[2772,3836,3837],{"__ignoreMap":3001},[3005,3838,3839,3841,3843,3845,3847,3849],{"class":3007,"line":3008},[3005,3840,3012],{"class":3011},[3005,3842,3715],{"class":3015},[3005,3844,3718],{"class":3015},[3005,3846,3624],{"class":3015},[3005,3848,3238],{"class":3015},[3005,3850,3124],{"class":3015},[2696,3852,3853],{},"如果确认不再需要刚才的练习文件，再删除 PVC：",[2996,3855,3857],{"className":2998,"code":3856,"language":3000,"meta":3001,"style":3001},"kubectl delete pvc orders-files -n course\n",[2772,3858,3859],{"__ignoreMap":3001},[3005,3860,3861,3863,3865,3867,3870,3872],{"class":3007,"line":3008},[3005,3862,3012],{"class":3011},[3005,3864,3715],{"class":3015},[3005,3866,3235],{"class":3015},[3005,3868,3869],{"class":3015}," orders-files",[3005,3871,3238],{"class":3015},[3005,3873,3124],{"class":3015},[2696,3875,3876,3879],{},[2700,3877,3878],{},"注意：删除 PVC 可能使底层卷及文件被删除，具体取决于 PV 的回收策略。"," 不要把这条清理命令用于真正保存业务数据的 PVC。",[2719,3881],{},[2691,3883,3885],{"id":3884},"知识问答","❓ 知识问答",[2696,3887,3888],{},[2700,3889,3890],{},"Q：为什么删除测试 Pod 后，文件还在？",[2696,3892,3893],{},"因为文件保存在 PVC 绑定的存储中，而不是旧容器的可写层。删除 Pod 不会自动删除它使用的 PVC，新 Pod 重新挂载后就能读取之前的文件。",[2696,3895,3896],{},[2700,3897,3898,3899,3901],{},"Q：PVC 刚创建时显示 ",[2772,3900,3050],{},"，就是坏了吗？",[2696,3903,3904,3905,3907],{},"不一定。某些 StorageClass 使用 ",[2772,3906,3040],{},"，要等使用 PVC 的 Pod 创建后才绑定；如果创建 Pod 后仍未绑定，再查看 StorageClass 和 Pod、PVC 的事件。",[2696,3909,3910],{},[2700,3911,3912],{},"Q：有了 PVC，还需要备份吗？",[2696,3914,3915],{},"需要。PVC 解决的是 Pod 如何使用持久存储，不保证底层存储永远不会损坏或被误删。",[2719,3917],{},[2691,3919,3921],{"id":3920},"小练习","🧪 小练习",[2696,3923,3924,3925,3927,3928,3931],{},"独立完成一次文件保留验证：创建测试 Pod 后，在 ",[2772,3926,2900],{}," 中写入一个 ",[2772,3929,3930],{},"order-001.txt"," 文件，内容自定；然后删除并重新创建这个 Pod，检查文件是否还在。",[2696,3933,3934,3937,3938,2888],{},[2700,3935,3936],{},"验收标准："," 不仅能重新读取文件，还能解释为什么 ",[2700,3939,3940],{},"删除 Pod 后仍能读取，而删除 PVC 可能导致数据丢失",[2719,3942],{},[2696,3944,3945],{},"🎉 恭喜你！现在你不仅知道普通 Node.js 服务的数据通常应该保存在哪里，也理解了 Volume、PV 和 PVC 的关系，并亲手验证：只要底层存储和 PVC 仍然可用，Pod 被重新创建后也能继续读取之前保存的文件。",[3947,3948,3949],"style",{},"html pre.shiki code .sYGMc, html code.shiki .sYGMc{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sIEYB, html code.shiki .sIEYB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sd2Uz, html code.shiki .sd2Uz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .s86vT, html code.shiki .s86vT{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sndM8, html code.shiki .sndM8{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":3001,"searchDepth":3085,"depth":3085,"links":3951},[3952,3953,3954,3955,3956,3960,3961,3966,3967,3968],{"id":2693,"depth":3085,"text":2694},{"id":2723,"depth":3085,"text":2724},{"id":2797,"depth":3085,"text":2798},{"id":2893,"depth":3085,"text":2894},{"id":2981,"depth":3085,"text":2982,"children":3957},[3958,3959],{"id":2986,"depth":3096,"text":2987},{"id":3054,"depth":3096,"text":3055},{"id":3251,"depth":3085,"text":3252},{"id":3590,"depth":3085,"text":3591,"children":3962},[3963,3964,3965],{"id":3597,"depth":3096,"text":3598},{"id":3695,"depth":3096,"text":3696},{"id":3756,"depth":3096,"text":3757},{"id":3809,"depth":3085,"text":3810},{"id":3884,"depth":3085,"text":3885},{"id":3920,"depth":3085,"text":3921},"了解 Node.js 业务数据的常见存储方式，理解 Volume、PV、PVC 的关系，并通过重建测试 Pod 验证持久化。","md",null,{},{"title":2619},{"title":2619,"description":3969},"7HY83RJDg1",[3977,3979],{"title":2615,"path":2616,"stem":2617,"description":3978,"children":-1},"从订单服务手动增加 Pod 开始，理解 HPA 如何依据 CPU 指标自动调整副本，并在 kind 集群中完成配置与验证。",{"title":2634,"path":2630,"stem":2631,"description":3980,"children":-1},"理解大语言模型的概念、常见任务，以及能力与局限。",1795141025943]