修改样式,添加文档
This commit is contained in:
@@ -54,11 +54,11 @@ const formatDate = (date: string | Date | null | undefined) => {
|
||||
<!-- 文章内容布局 -->
|
||||
<div class="flex flex-row">
|
||||
<!-- 图片预览区域 -->
|
||||
<div class="md:w-48 h-32 w-32 mt-2 ml-2 mb-2 md:mr-2 -mr-1 bg-gray-100 dark:bg-gray-700 rounded-xl overflow-hidden">
|
||||
<div class="w-32 h-32 md:w-40 md:h-40 mt-2 ml-2 mb-2 md:mr-2 -mr-1 bg-gray-100 dark:bg-gray-700 rounded-xl overflow-hidden">
|
||||
<img
|
||||
:src="item.img || '/images/default-blog.jpg'"
|
||||
:alt="item.title"
|
||||
class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-300"
|
||||
class="w-full h-full object-contain group-hover:scale-110 transition-transform duration-300"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
title: Debian 12 云服务器初始安全设置与优化指南
|
||||
description: Debian 12 云服务器初始安全设置与优化指南
|
||||
date: 2025-05-15
|
||||
img: https://lijue-me.oss-cn-chengdu.aliyuncs.com/20250807105153532.png
|
||||
img: https://lijue-me.oss-cn-chengdu.aliyuncs.com/20250615184027376.png
|
||||
navigation:
|
||||
icon: lucide-server
|
||||
---
|
||||
|
74
content/blog/1.技术栈/09.AppWrite 项目资源占用情况.md
Normal file
74
content/blog/1.技术栈/09.AppWrite 项目资源占用情况.md
Normal file
@@ -0,0 +1,74 @@
|
||||
---
|
||||
title: AppWrite 项目资源占用情况
|
||||
description: AppWrite 项目资源占用情况
|
||||
date: 2025-06-26
|
||||
img: https://lijue-me.oss-cn-chengdu.aliyuncs.com/20250622140934487.png
|
||||
navigation:
|
||||
icon: simple-icons:appwrite
|
||||
---
|
||||
## CPU占用不高,内存经过统计:
|
||||
|
||||
> Debian12 Docker-compose部署AppWrite 1.7.3版
|
||||
> 内存占用1.72G
|
||||
|
||||
```
|
||||
根据 docker-compose 文件中的所有 Appwrite 相关容器,内存占用情况如下:
|
||||
|
||||
### 主要服务容器内存占用:
|
||||
|
||||
- appwrite (主服务): 345.5 MiB
|
||||
|
||||
- appwrite-realtime: 89.17 MiB
|
||||
|
||||
- appwrite-browser: 196.9 MiB
|
||||
|
||||
- appwrite-assistant: 98.13 MiB
|
||||
|
||||
- appwrite-mariadb: 125.7 MiB
|
||||
|
||||
- appwrite-redis-insight-1: 118.2 MiB
|
||||
|
||||
- appwrite-graphql-explorer: 53.55 MiB
|
||||
|
||||
### Worker 和 Task 容器内存占用:
|
||||
|
||||
- 各种 worker 容器: 30-46 MiB 每个
|
||||
|
||||
- 各种 task 容器: 33-46 MiB 每个
|
||||
|
||||
- 总计约 20+ 个 worker/task 容器
|
||||
|
||||
### 辅助服务容器内存占用:
|
||||
|
||||
- appwrite-redis: 10.66 MiB
|
||||
|
||||
- appwrite-console: 6.188 MiB
|
||||
|
||||
- appwrite-adminer: 8.625 MiB
|
||||
|
||||
- appwrite-mailcatcher: 21.36 MiB
|
||||
|
||||
- appwrite-requestcatcher: 20.09 MiB
|
||||
|
||||
- appwrite-traefik: 48.15 MiB
|
||||
|
||||
## 最终统计结果:
|
||||
|
||||
Appwrite 所有容器总内存占用:1,761.91 MiB ≈ 1.72 GiB
|
||||
|
||||
这个数字包含了:
|
||||
|
||||
- Appwrite 核心服务
|
||||
|
||||
- 所有 worker 和 task 进程
|
||||
|
||||
- 数据库 (MariaDB)
|
||||
|
||||
- 缓存 (Redis)
|
||||
|
||||
- 反向代理 (Traefik)
|
||||
|
||||
- 各种辅助工具和可视化界面
|
||||
|
||||
所以 Appwrite 项目精确占用约 1.72 GB 内存。
|
||||
```
|
Reference in New Issue
Block a user