Stack Sizer

תכנון משאבים ל-stack של אפליקציות self-hosted, ממקורות רשמיים.

אפליקציות

בחרו אפליקציה אחת או יותר. אפשר לחשב רק פרופילים שפורסמו.

עומס ואפשרויות

Keycloak

v1.0.0
עומס

עד 10,000 משתמשים; שיאים של 6 התחברויות בסיסמה, 48 רענוני token ו-12 client credential grants בשנייה.

אפשרויות

אין אפשרויות שמשנות את המשאבים של האפליקציה הזו.

משאבים מומלצים

דרישות האפליקציות + baseline של המערכת + מרווח בטיחות. לא מתווסף שום דבר אחר, ושום מספר לא מעוגל לגודל של מכונה.

vCPU 4.02, RAM 5.1 GiB, דיסק 18.055 GiB

vCPU4.02
RAM5.1GiB
דיסק18.055GiB
פירוט
שורהמקור השורהvCPURAM (GiB)דיסק (GiB)מקורות
KeycloakKeycloak server · עומס בינוני2.252112345
KeycloakPostgreSQL · עומס בינוני116.56789101112121314
baseline של המערכתמערכת הפעלה, container runtime ‏(Docker Engine, ‏containerd), יומני מערכת (journald), ועוד יומנים ל-2 containers0.11.258.2151617181920
מרווח בטיחותvCPU ‏20%, ‏RAM ‏20%, דיסק 15% מהאפליקציות + baseline0.670.852.3552116221923
סה״כ מומלץ4.025.118.055
מקורות
  1. Keycloak Docs: Concepts for sizing CPU and memory (1250 MB base; 1 vCPU per 15 password logins/s, per 120 refreshes/s, per 120 client credential grants/s; 150% CPU headroom) (Keycloak, נקרא ב-14 באוק׳ 2026)
  2. keycloak repository: perf_recommendations.adoc at 26.8.1 (database: 1400 write IOPS and 0.35 to 0.7 vCPU per 100 login/logout/refresh per second; idle 0.3 vCPU) (Keycloak, נקרא ב-14 באוק׳ 2026)
  3. Keycloak Docs: Running Keycloak in a container (plain start re-runs the build at every start; KC_BOOTSTRAP_ADMIN_*; heap 70% of the memory limit, 2 GB recommended for small production) (Keycloak, נקרא ב-14 באוק׳ 2026)
  4. keycloak repository: kc.sh at 26.8.1 (in a container, JAVA_OPTS_KC_HEAP defaults to MaxRAMPercentage=70 and InitialRAMPercentage=50; a set value replaces it) (Keycloak, נקרא ב-14 באוק׳ 2026)
  5. Quay manifest of quay.io/keycloak/keycloak:26.8.1 (linux/amd64): 4 layers, 265,677,312 B compressed; config User 1000, no Healthcheck (Keycloak, נקרא ב-14 באוק׳ 2026)
  6. PostgreSQL 18 documentation: 19.4 Resource Consumption (Keycloak, נקרא ב-10 באוק׳ 2026)
  7. PostgreSQL 18 documentation: 19.3 Connections and Authentication (Keycloak, נקרא ב-10 באוק׳ 2026)
  8. PostgreSQL 18 documentation: 19.10 Vacuuming (autovacuum settings) (Keycloak, נקרא ב-10 באוק׳ 2026)
  9. PostgreSQL 18 documentation: 19.5 Write Ahead Log (max_wal_size) (Keycloak, נקרא ב-10 באוק׳ 2026)
  10. PostgreSQL 18 documentation: 51.2 How Connections Are Established (Keycloak, נקרא ב-10 באוק׳ 2026)
  11. Docker Official Image postgres: documentation (docker-library/docs) (Keycloak, נקרא ב-10 באוק׳ 2026)
  12. Docker Hub: library/postgres tag 18.6 (compressed image sizes) (Keycloak, נקרא ב-10 באוק׳ 2026)
  13. Keycloak Docs: Configuring the database (PostgreSQL 18.x to 14.x supported, tested with 18; db-url, db-username, db-password; connection pool) (Keycloak, נקרא ב-14 באוק׳ 2026)
  14. Keycloak Docs: All configuration (bootstrap-admin-username temp-admin, db-pool-max-size 100, http-enabled false, cache ispn, health-enabled false, management port 9000) (Keycloak, נקרא ב-14 באוק׳ 2026)
  15. Ubuntu Server: System requirements (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
  16. Google Kubernetes Engine: About GKE node sizing (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
  17. ANAROQ measurement: dockerd and containerd at rest (Ubuntu 24.04, Docker 29.8.2) (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
  18. Docker Community Forums: Docker resource usage & overhead (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
  19. journald.conf(5), Ubuntu Manpages (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
  20. Docker Docs: Local file logging driver (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
  21. AWS Compute Optimizer: Rightsizing recommendation preferences (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
  22. Kubernetes: Node-pressure Eviction (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
  23. mke2fs(8), Ubuntu Manpages (מדיניות sizing, נקרא ב-10 באוק׳ 2026)
בסיס החישוב
גרסת הקטלוג
2026.10.10
מדיניות sizing
2026.10.0
פרופיל Keycloak
1.0.0

איך המספרים נבנים

Deployment Spec

הפכו את התוצאה לקישור שאפשר לשמור או לשתף. הכול נמצא בקישור, ושום דבר לא נשלח אלינו.

מזהה image קצר באותיות קטנות, למשל ubuntu-24.04.