Implement lab3 grade 4: balanced API replicas, shared idempotency and failure tests

This commit is contained in:
2026-11-02 20:54:35 +03:00
parent 0ab3a341aa
commit 5332cda400
55 changed files with 102293 additions and 19 deletions
+58
View File
@@ -0,0 +1,58 @@
{
"target_instance": "0700f348645b-f5a34903e39b",
"stopped": {
"id": "0700f348645b5bd3a8b3f4a68230f6fb02ad423271cc7397039d3adae960252f",
"name": "mtusi-lab3-osokin-api-1",
"service": "api",
"number": 1,
"hostname": "0700f348645b",
"pid": 23269,
"started_at": "2026-11-02T13:34:14.511777506Z",
"status": "running",
"health": "healthy",
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
"memory_limit": 268435456,
"cpu_limit": 1.0,
"published_ports": {
"8080/tcp": null
},
"mounts": []
},
"after": [
{
"id": "0700f348645b5bd3a8b3f4a68230f6fb02ad423271cc7397039d3adae960252f",
"name": "mtusi-lab3-osokin-api-1",
"service": "api",
"number": 1,
"hostname": "0700f348645b",
"pid": 0,
"started_at": "2026-11-02T13:34:14.511777506Z",
"status": "exited",
"health": "unhealthy",
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
"memory_limit": 268435456,
"cpu_limit": 1.0,
"published_ports": {},
"mounts": []
},
{
"id": "e91ca53a67f8494106c6d014999693c2cbb3f4ec79db94d9a019668fdb24634a",
"name": "mtusi-lab3-osokin-api-2",
"service": "api",
"number": 2,
"hostname": "e91ca53a67f8",
"pid": 23303,
"started_at": "2026-11-02T13:34:14.576732298Z",
"status": "running",
"health": "healthy",
"image": "sha256:0e84db5e71b3243fb1788ca5681dac9ed806ce4ffcb80fd4fa59672ecb4668b3",
"memory_limit": 268435456,
"cpu_limit": 1.0,
"published_ports": {
"8080/tcp": null
},
"mounts": []
}
],
"hook_seconds": 0.9716456001624465
}