forked from mtusi2026/mtusi2026lab3
ЛР 3: балансировка, общая идемпотентность и исследование масштабирования
This commit is contained in:
@@ -0,0 +1,302 @@
|
||||
{
|
||||
"events": [
|
||||
{
|
||||
"event": "before",
|
||||
"containers": [
|
||||
{
|
||||
"service": "api",
|
||||
"id": "f7ac66c0faad",
|
||||
"hostname": "f7ac66c0faad",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:08.252335316Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "api",
|
||||
"id": "829a6fa2df78",
|
||||
"hostname": "829a6fa2df78",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:08.554235078Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "db",
|
||||
"id": "d2e068a10ed6",
|
||||
"hostname": "d2e068a10ed6",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:12:56.914603492Z",
|
||||
"finished_at": "2026-11-06T12:12:55.897344347Z",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {
|
||||
"5432/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "lb",
|
||||
"id": "384adebd45f1",
|
||||
"hostname": "384adebd45f1",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:12:57.96783477Z",
|
||||
"finished_at": "2026-11-06T12:12:55.836640429Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "127.0.0.1",
|
||||
"HostPort": "8080"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"event": "replaced-f7ac66c0faad",
|
||||
"utc": "2026-11-06T15:50:58.321023+03:00",
|
||||
"containers": [
|
||||
{
|
||||
"service": "api",
|
||||
"id": "4d48426e7dfe",
|
||||
"hostname": "4d48426e7dfe",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:47.165779656Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "api",
|
||||
"id": "767c8e402c4b",
|
||||
"hostname": "767c8e402c4b",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:34.902120541Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "api",
|
||||
"id": "829a6fa2df78",
|
||||
"hostname": "829a6fa2df78",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:08.554235078Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "db",
|
||||
"id": "d2e068a10ed6",
|
||||
"hostname": "d2e068a10ed6",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:12:56.914603492Z",
|
||||
"finished_at": "2026-11-06T12:12:55.897344347Z",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {
|
||||
"5432/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "lb",
|
||||
"id": "384adebd45f1",
|
||||
"hostname": "384adebd45f1",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:12:57.96783477Z",
|
||||
"finished_at": "2026-11-06T12:12:55.836640429Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "127.0.0.1",
|
||||
"HostPort": "8080"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"event": "replaced-829a6fa2df78",
|
||||
"utc": "2026-11-06T15:51:05.374141+03:00",
|
||||
"containers": [
|
||||
{
|
||||
"service": "api",
|
||||
"id": "4d48426e7dfe",
|
||||
"hostname": "4d48426e7dfe",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:47.165779656Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "api",
|
||||
"id": "767c8e402c4b",
|
||||
"hostname": "767c8e402c4b",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:34.902120541Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "db",
|
||||
"id": "d2e068a10ed6",
|
||||
"hostname": "d2e068a10ed6",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:12:56.914603492Z",
|
||||
"finished_at": "2026-11-06T12:12:55.897344347Z",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {
|
||||
"5432/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "lb",
|
||||
"id": "384adebd45f1",
|
||||
"hostname": "384adebd45f1",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:12:57.96783477Z",
|
||||
"finished_at": "2026-11-06T12:12:55.836640429Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "127.0.0.1",
|
||||
"HostPort": "8080"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"event": "after",
|
||||
"containers": [
|
||||
{
|
||||
"service": "api",
|
||||
"id": "4d48426e7dfe",
|
||||
"hostname": "4d48426e7dfe",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:47.165779656Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "api",
|
||||
"id": "767c8e402c4b",
|
||||
"hostname": "767c8e402c4b",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:50:34.902120541Z",
|
||||
"finished_at": "0001-01-01T00:00:00Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"published_ports": {
|
||||
"8080/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "db",
|
||||
"id": "d2e068a10ed6",
|
||||
"hostname": "d2e068a10ed6",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:12:56.914603492Z",
|
||||
"finished_at": "2026-11-06T12:12:55.897344347Z",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory_bytes": 536870912,
|
||||
"published_ports": {
|
||||
"5432/tcp": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"service": "lb",
|
||||
"id": "384adebd45f1",
|
||||
"hostname": "384adebd45f1",
|
||||
"running": true,
|
||||
"started_at": "2026-11-06T12:12:57.96783477Z",
|
||||
"finished_at": "2026-11-06T12:12:55.836640429Z",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 134217728,
|
||||
"published_ports": {
|
||||
"8080/tcp": [
|
||||
{
|
||||
"HostIp": "127.0.0.1",
|
||||
"HostPort": "8080"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"load": {
|
||||
"workload": "closed-loop POST messages; unique keys, persistent connections, no retries",
|
||||
"duration_seconds": 75.0,
|
||||
"warmup_seconds": 5.0,
|
||||
"elapsed_seconds": 75.091,
|
||||
"concurrency": 16,
|
||||
"successful_requests": 5377,
|
||||
"failed_requests": 58,
|
||||
"successful_rps": 71.607,
|
||||
"error_ratio": 0.010672,
|
||||
"successful_latency_ms": {
|
||||
"p50": 101.455,
|
||||
"p95": 722.203,
|
||||
"p99": 1228.612
|
||||
},
|
||||
"status_counts": {
|
||||
"201": 5377,
|
||||
"503": 27,
|
||||
"0": 31
|
||||
},
|
||||
"instance_counts": {
|
||||
"829a6fa2df78-0b6bd19c": 693,
|
||||
"f7ac66c0faad-3880ba60": 346,
|
||||
"": 58,
|
||||
"767c8e402c4b-0e6885c2": 2323,
|
||||
"4d48426e7dfe-bce9ea78": 2015
|
||||
},
|
||||
"dataset": {
|
||||
"initial_messages_in_new_chat": 0,
|
||||
"measured_attempts": 5435,
|
||||
"text_template_codepoints": 18
|
||||
},
|
||||
"limits": "Success-only latency; closed-loop coordinated omission. Client/host can bottleneck. Warmup inserts remain in history; requests started in warmup excluded from samples."
|
||||
},
|
||||
"raw_prefix": "evidence/exploratory-httpx/rolling-update"
|
||||
}
|
||||
Reference in New Issue
Block a user