Lab3: atomic one-statement idempotent write, tuned stand, level-4/5 measurement tooling

This commit is contained in:
Ivan Melnikov
2026-12-02 18:45:01 +03:00
parent e9bf138053
commit c19d092b63
7 changed files with 701 additions and 72 deletions
+7 -5
View File
@@ -39,9 +39,11 @@ services:
- -c
- maintenance_work_mem=64MB
- -c
- max_wal_size=1GB
- max_wal_size=4GB
- -c
- checkpoint_timeout=15min
- checkpoint_timeout=30min
- -c
- checkpoint_completion_target=0.9
volumes:
- pgdata:/var/lib/postgresql/data
networks:
@@ -59,7 +61,7 @@ services:
deploy:
resources:
limits:
cpus: "${POSTGRES_CPU_LIMIT:-0.6}"
cpus: "${POSTGRES_CPU_LIMIT:-0.7}"
memory: ${POSTGRES_MEM_LIMIT:-512M}
valkey:
@@ -97,7 +99,7 @@ services:
deploy:
resources:
limits:
cpus: "${VALKEY_CPU_LIMIT:-0.15}"
cpus: "${VALKEY_CPU_LIMIT:-0.1}"
memory: ${VALKEY_MEM_LIMIT:-128M}
# One-shot migration runner. API replicas depend on this service completing,
@@ -210,7 +212,7 @@ services:
deploy:
resources:
limits:
cpus: "${LB_CPU_LIMIT:-0.1}"
cpus: "${LB_CPU_LIMIT:-0.2}"
memory: ${LB_MEM_LIMIT:-64M}
volumes: