Side-by-Side Sandbox Benchmark
| App | Idle RAM | Containers | Startup | Recommended VPS |
|---|---|---|---|---|
| AFFiNE | 271.7 MB | 4 | 87.5s | 1 GB VPS |
| Docmost | 372.7 MB | 3 | 63.7s | 2 GB VPS |
Measured RAM Gap: 1.4× (101.0 MB difference across identical sandbox sampling)
Bottom line: AFFiNE idled 101.0 MB lighter than Docmost (271.7 MB vs 372.7 MB, 1.4x) and stays inside our 1 GB VPS tier, though it adds a one-shot migration container and pgvector. Pick AFFiNE for local-first docs plus Miro-style whiteboards; pick Docmost for a focused team wiki with spaces, permissions, and simpler 3-container ops.
Explore the full side-by-side comparison and operational matrix or browse all verified stacks on VPSFolio Benchmarks.
AFFiNE and Docmost are two of the strongest modern self-hosted alternatives to Notion. Both run a Node.js backend paired with PostgreSQL and Redis for real-time WebSocket collaboration, so on paper their resource profiles look nearly identical.
In our verified Docker Compose runs, AFFiNE idled at 271.7 MB while Docmost idled at 372.7 MB — a 101.0 MB (1.4×) gap that happens to split them across two VPS sizing tiers. AFFiNE stays under our 350 MB ceiling for a 1 GB VPS, while Docmost crosses into the 2 GB VPS tier.
Where the 101.0 MB RAM gap comes from
Both stacks carry PostgreSQL and Redis, so the container breakdown shows where the extra memory actually lands:
-
AFFiNE (271.7 MB total across 3 steady-state containers + 1 one-shot migration job) splits into
affine(ghcr.io/toeverything/affine:stable) at 204.8 MB (75.4%),postgres(pgvector/pgvector:pg16) at 63.0 MB (23.2%), andredis(redis:7-alpine) at 4.0 MB (1.5%). A fourth service,affine_migration, runsnode ./scripts/self-host-predeploy.jsand exits0before the server starts. -
Docmost (372.7 MB total across 3 containers) splits into
docmost(docmost/docmost:latest, NestJS + React) at 301.8 MB (81.0%),db(postgres:18) at 56.2 MB (15.1%), andredis(redis:8with AOF enabled) at 14.6 MB (3.9%).
Even though AFFiNE's pgvector/pgvector:pg16 database container uses 6.8 MB more idle memory than Docmost's postgres:18 (63.0 MB vs 56.2 MB), Docmost's NestJS application container consumes 97.0 MB more than AFFiNE's Node.js server (301.8 MB vs 204.8 MB), and redis:8 adds another 10.6 MB over redis:7-alpine.
If you want a pure documentation wiki without Redis at all, see our Wiki.js vs Docmost comparison — Wiki.js idled at 128.4 MB across two containers.
Day-2 operations: migrations, secrets, and signup hardening
While AFFiNE uses less idle memory, Docmost has a slightly simpler container topology and cleaner first-run access control.
Full Operational Matrix & Deployment Guides
Read the complete side-by-side operational checklist, Day-2 backup trade-offs, VPS co-hosting math, and verified Docker Compose guides on VPSFolio:
-> Read the full comparison on VPSFolio
Originally published with full interactive benchmark metrics and server sizing notes at https://vpsfolio.com/compare/affine-vs-docmost/.
Top comments (0)