forked from mtusi2026/mtusi2026lab3
lab3: Compose+Nginx, две API-реплики и идемпотентность
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
|
||||
mtusi2026lab3-fork-api1-1 mtusi-messenger:lab3 "sh -c 'exec uvicorn…" api1 24 minutes ago Up 32 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab3-fork-api2-1 mtusi-messenger:lab3 "sh -c 'exec uvicorn…" api2 24 minutes ago Up 54 seconds (healthy) 8080/tcp
|
||||
mtusi2026lab3-fork-lb-1 nginx:1.27-alpine "/docker-entrypoint.…" lb 24 minutes ago Up 54 seconds (healthy) 127.0.0.1:8082->80/tcp
|
||||
mtusi2026lab3-fork-postgres-1 postgres:16-alpine "docker-entrypoint.s…" postgres 24 minutes ago Up 54 seconds (healthy) 5432/tcp
|
||||
@@ -0,0 +1,3 @@
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 67, "failed_attempts": 1, "first_recovery_seconds": 0.625}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,2 @@
|
||||
observed=api1,api2
|
||||
{'api2': 20, 'api1': 20}
|
||||
@@ -0,0 +1,2 @@
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1 @@
|
||||
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
||||
Reference in New Issue
Block a user