From 6fc032f7d66e9228b9fefc12b17b23f1a9983bbb Mon Sep 17 00:00:00 2001 From: yeasy Date: Mon, 1 Jun 2026 11:11:28 -0700 Subject: [PATCH] =?UTF-8?q?=E5=BA=94=E7=94=A8=E4=B8=93=E4=B8=9A=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=AE=A1=E6=9F=A5=EF=BC=9A=E4=BF=AE=E5=A4=8D=E7=89=88?= =?UTF-8?q?=E6=9C=AC/=E5=BC=95=E7=94=A8/=E6=8A=80=E6=9C=AF=E5=87=86?= =?UTF-8?q?=E7=A1=AE=E6=80=A7=E7=AD=89=203=20=E5=A4=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 19_observability/19.3_performance_optimization.md | 3 ++- 21_case_devops/21.7_practical_examples.md | 2 +- appendix/learning_roadmap.md | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/19_observability/19.3_performance_optimization.md b/19_observability/19.3_performance_optimization.md index 768e16d..a14b124 100644 --- a/19_observability/19.3_performance_optimization.md +++ b/19_observability/19.3_performance_optimization.md @@ -323,7 +323,8 @@ journalctl -u docker -n 100 | grep -i "oom" FROM python:3.14-slim WORKDIR /app COPY requirements.txt . -RUN pip install -r requirements.txt memory_profiler tracemalloc +# tracemalloc 是 Python 标准库模块(自 3.4 起内置),无需安装 +RUN pip install -r requirements.txt memory_profiler COPY app.py . CMD ["python", "-m", "memory_profiler", "app.py"] diff --git a/21_case_devops/21.7_practical_examples.md b/21_case_devops/21.7_practical_examples.md index 3d821a3..5d11329 100644 --- a/21_case_devops/21.7_practical_examples.md +++ b/21_case_devops/21.7_practical_examples.md @@ -314,7 +314,7 @@ CREATE DATABASE myappdb OWNER appuser; -- 创建扩展 \c myappdb -CREATE EXTENSION IF NOT EXISTS uuid-ossp; +CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; CREATE EXTENSION IF NOT EXISTS hstore; CREATE EXTENSION IF NOT EXISTS pg_trgm; diff --git a/appendix/learning_roadmap.md b/appendix/learning_roadmap.md index 43b3d04..b81d13f 100644 --- a/appendix/learning_roadmap.md +++ b/appendix/learning_roadmap.md @@ -221,8 +221,7 @@ CI/CD 集成 ├── Buildx(多架构构建) ├── Skopeo(镜像管理) ├── Podman(替代方案) -├── Buildah(镜像构建) -└── Kollabot +└── Buildah(镜像构建) ``` **学习资源:**