{ "run_id": "190f41a4", "valid": true, "complete": true, "expected_samples": 16, "profile": "closed-loop POST text, concurrency16,5seconds,2repetitions; fresh DB data for each run", "samples": [ { "phase": "fixed", "replicas": 1, "repeat": 1, "pool": 8, "api_cpu_each": 2, "api_memory_mb_each": 2048, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.149, "concurrency": 16, "successful_requests": 604, "failed_requests": 0, "error_ratio": 0, "successful_rps": 117.315, "successful_latency_ms": { "p50": 133.434, "p95": 166.882, "p99": 184.769 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "7.97%", "memory": "72.78MiB / 2GiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.66%", "memory": "18.95MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "24.83%", "memory": "42.36MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.36%", "memory": "10.6MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "Client", "wait_event": "ClientRead", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 2 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ] ], "messages": 604 }, { "phase": "fixed", "replicas": 1, "repeat": 2, "pool": 8, "api_cpu_each": 2, "api_memory_mb_each": 2048, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.14, "concurrency": 16, "successful_requests": 607, "failed_requests": 0, "error_ratio": 0, "successful_rps": 118.087, "successful_latency_ms": { "p50": 133.386, "p95": 175.111, "p99": 200.193 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.83%", "memory": "75.7MiB / 2GiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.61%", "memory": "20.15MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "20.12%", "memory": "42.15MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.35%", "memory": "10.84MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "Client", "wait_event": "ClientRead", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 2 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ] ], "messages": 607 }, { "phase": "fixed", "replicas": 2, "repeat": 1, "pool": 8, "api_cpu_each": 1, "api_memory_mb_each": 1024, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.14, "concurrency": 16, "successful_requests": 600, "failed_requests": 0, "error_ratio": 0, "successful_rps": 116.742, "successful_latency_ms": { "p50": 133.445, "p95": 258.615, "p99": 342.106 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "3.45%", "memory": "74.93MiB / 1GiB" }, { "name": "vp-lab3-research-190f41a4-api-2", "cpu_percent": "3.59%", "memory": "74.41MiB / 1GiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.59%", "memory": "19.89MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "27.07%", "memory": "55.35MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.35%", "memory": "11.09MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 6 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 }, { "wait_event_type": "LWLock", "wait_event": "WALWrite", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 6 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ] ], "messages": 600 }, { "phase": "fixed", "replicas": 2, "repeat": 2, "pool": 8, "api_cpu_each": 1, "api_memory_mb_each": 1024, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.144, "concurrency": 16, "successful_requests": 562, "failed_requests": 0, "error_ratio": 0, "successful_rps": 109.247, "successful_latency_ms": { "p50": 133.488, "p95": 316.996, "p99": 375.102 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.08%", "memory": "74.39MiB / 1GiB" }, { "name": "vp-lab3-research-190f41a4-api-2", "cpu_percent": "2.55%", "memory": "72.93MiB / 1GiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.83%", "memory": "20.56MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "20.81%", "memory": "54.71MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.30%", "memory": "10.6MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 5 }, { "wait_event_type": "LWLock", "wait_event": "LockManager", "count": 1 }, { "wait_event_type": null, "wait_event": null, "count": 2 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 6 }, { "wait_event_type": null, "wait_event": null, "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 6 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ] ], "messages": 562 }, { "phase": "fixed", "replicas": 4, "repeat": 1, "pool": 8, "api_cpu_each": 0.5, "api_memory_mb_each": 512, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.143, "concurrency": 16, "successful_requests": 602, "failed_requests": 0, "error_ratio": 0, "successful_rps": 117.062, "successful_latency_ms": { "p50": 108.454, "p95": 333.843, "p99": 442.317 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "1.76%", "memory": "43.32MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-2", "cpu_percent": "1.67%", "memory": "73.35MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-3", "cpu_percent": "3.91%", "memory": "43.08MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-4", "cpu_percent": "1.84%", "memory": "73.82MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.85%", "memory": "20.39MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "30.32%", "memory": "79.91MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.35%", "memory": "11.36MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 12 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 11 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ], [ { "wait_event_type": "LWLock", "wait_event": "BufferContent", "count": 4 }, { "wait_event_type": "LWLock", "wait_event": "LockManager", "count": 6 }, { "wait_event_type": null, "wait_event": null, "count": 4 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ] ], "messages": 602 }, { "phase": "fixed", "replicas": 4, "repeat": 2, "pool": 8, "api_cpu_each": 0.5, "api_memory_mb_each": 512, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.141, "concurrency": 16, "successful_requests": 598, "failed_requests": 0, "error_ratio": 0, "successful_rps": 116.32, "successful_latency_ms": { "p50": 108.487, "p95": 358.782, "p99": 475.655 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "1.82%", "memory": "43.27MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-2", "cpu_percent": "1.76%", "memory": "43.33MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-3", "cpu_percent": "2.01%", "memory": "74.21MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-4", "cpu_percent": "1.70%", "memory": "74.55MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.84%", "memory": "21.06MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "25.11%", "memory": "81.58MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.34%", "memory": "11.36MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 12 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 15 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 11 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 12 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 12 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 12 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 15 } ] ], "messages": 598 }, { "phase": "growing", "replicas": 1, "repeat": 1, "pool": 8, "api_cpu_each": 1, "api_memory_mb_each": 512, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.141, "concurrency": 16, "successful_requests": 593, "failed_requests": 0, "error_ratio": 0, "successful_rps": 115.34, "successful_latency_ms": { "p50": 133.458, "p95": 183.338, "p99": 225.146 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.86%", "memory": "75.58MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.65%", "memory": "21.32MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "20.63%", "memory": "45.78MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.34%", "memory": "11.09MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ] ], "messages": 593 }, { "phase": "growing", "replicas": 1, "repeat": 2, "pool": 8, "api_cpu_each": 1, "api_memory_mb_each": 512, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.149, "concurrency": 16, "successful_requests": 608, "failed_requests": 0, "error_ratio": 0, "successful_rps": 118.078, "successful_latency_ms": { "p50": 133.366, "p95": 168.029, "p99": 200.224 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.83%", "memory": "76MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.74%", "memory": "21.44MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "22.75%", "memory": "55.13MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.35%", "memory": "10.84MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ] ], "messages": 608 }, { "phase": "growing", "replicas": 2, "repeat": 1, "pool": 8, "api_cpu_each": 1, "api_memory_mb_each": 512, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.15, "concurrency": 16, "successful_requests": 608, "failed_requests": 0, "error_ratio": 0, "successful_rps": 118.067, "successful_latency_ms": { "p50": 133.605, "p95": 275.297, "p99": 333.729 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "3.16%", "memory": "73.16MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-2", "cpu_percent": "5.57%", "memory": "74.6MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.62%", "memory": "21.2MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "21.94%", "memory": "57.85MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.36%", "memory": "10.85MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 6 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 6 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 6 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 5 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ] ], "messages": 608 }, { "phase": "growing", "replicas": 2, "repeat": 2, "pool": 8, "api_cpu_each": 1, "api_memory_mb_each": 512, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.167, "concurrency": 16, "successful_requests": 608, "failed_requests": 0, "error_ratio": 0, "successful_rps": 117.681, "successful_latency_ms": { "p50": 133.469, "p95": 241.935, "p99": 300.372 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.43%", "memory": "73.93MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-2", "cpu_percent": "3.43%", "memory": "72.4MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.81%", "memory": "21.37MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "22.32%", "memory": "58.33MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.35%", "memory": "11.09MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 7 } ] ], "messages": 608 }, { "phase": "growing", "replicas": 4, "repeat": 1, "pool": 8, "api_cpu_each": 1, "api_memory_mb_each": 512, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.15, "concurrency": 16, "successful_requests": 605, "failed_requests": 0, "error_ratio": 0, "successful_rps": 117.487, "successful_latency_ms": { "p50": 105.327, "p95": 342.192, "p99": 467.389 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "1.70%", "memory": "42.57MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-2", "cpu_percent": "3.77%", "memory": "40.77MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-3", "cpu_percent": "1.73%", "memory": "73.8MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-4", "cpu_percent": "1.75%", "memory": "71.06MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.86%", "memory": "21.67MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "25.45%", "memory": "82MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.33%", "memory": "11.36MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 12 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "Client", "wait_event": "ClientRead", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 11 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ] ], "messages": 605 }, { "phase": "growing", "replicas": 4, "repeat": 2, "pool": 8, "api_cpu_each": 1, "api_memory_mb_each": 512, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.151, "concurrency": 16, "successful_requests": 601, "failed_requests": 0, "error_ratio": 0, "successful_rps": 116.686, "successful_latency_ms": { "p50": 100.22, "p95": 342.158, "p99": 525.685 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "3.80%", "memory": "43.45MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-2", "cpu_percent": "3.80%", "memory": "73.02MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-3", "cpu_percent": "1.98%", "memory": "73.09MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-api-4", "cpu_percent": "1.71%", "memory": "43.09MiB / 512MiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.80%", "memory": "21.9MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "25.03%", "memory": "80.56MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.35%", "memory": "11.12MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 11 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 13 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 15 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 14 } ] ], "messages": 601 }, { "phase": "pool", "replicas": 1, "repeat": 1, "pool": 1, "api_cpu_each": 2, "api_memory_mb_each": 2048, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.147, "concurrency": 16, "successful_requests": 611, "failed_requests": 0, "error_ratio": 0, "successful_rps": 118.702, "successful_latency_ms": { "p50": 133.434, "p95": 134.637, "p99": 166.743 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.90%", "memory": "75.44MiB / 2GiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.68%", "memory": "22.25MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "22.01%", "memory": "38.18MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.31%", "memory": "11.07MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ] ], "messages": 611 }, { "phase": "pool", "replicas": 1, "repeat": 2, "pool": 1, "api_cpu_each": 2, "api_memory_mb_each": 2048, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.138, "concurrency": 16, "successful_requests": 609, "failed_requests": 0, "error_ratio": 0, "successful_rps": 118.536, "successful_latency_ms": { "p50": 133.439, "p95": 141.77, "p99": 166.75 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.97%", "memory": "75.16MiB / 2GiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.68%", "memory": "22.19MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "22.38%", "memory": "37.95MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.31%", "memory": "10.84MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 } ] ], "messages": 609 }, { "phase": "pool", "replicas": 1, "repeat": 1, "pool": 8, "api_cpu_each": 2, "api_memory_mb_each": 2048, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.157, "concurrency": 16, "successful_requests": 536, "failed_requests": 0, "error_ratio": 0, "successful_rps": 103.939, "successful_latency_ms": { "p50": 133.518, "p95": 308.743, "p99": 458.453 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.61%", "memory": "75.92MiB / 2GiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.57%", "memory": "22.37MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "19.84%", "memory": "47.76MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.36%", "memory": "10.6MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 2 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ] ], "messages": 536 }, { "phase": "pool", "replicas": 1, "repeat": 2, "pool": 8, "api_cpu_each": 2, "api_memory_mb_each": 2048, "metrics": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 5, "elapsed_seconds": 5.141, "concurrency": 16, "successful_requests": 584, "failed_requests": 0, "error_ratio": 0, "successful_rps": 113.604, "successful_latency_ms": { "p50": 133.411, "p95": 200.205, "p99": 283.495 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." }, "snapshot": [ { "name": "vp-lab3-research-190f41a4-api-1", "cpu_percent": "5.82%", "memory": "75.2MiB / 2GiB" }, { "name": "vp-lab3-research-190f41a4-lb-1", "cpu_percent": "4.85%", "memory": "22.94MiB / 128MiB" }, { "name": "vp-lab3-research-190f41a4-postgres-1", "cpu_percent": "20.08%", "memory": "47.43MiB / 768MiB" }, { "name": "vp-lab3-research-190f41a4-valkey-1", "cpu_percent": "0.35%", "memory": "11.34MiB / 128MiB" } ], "postgres_wait_samples": [ [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 2 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 2 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ], [ { "wait_event_type": "IO", "wait_event": "WalSync", "count": 1 }, { "wait_event_type": "Lock", "wait_event": "transactionid", "count": 3 } ] ], "messages": 584 } ], "rolling": { "lab": 3, "workload": "closed-loop POST messages; no automatic retries", "requested_duration_seconds": 30, "elapsed_seconds": 30.067, "concurrency": 8, "successful_requests": 2684, "failed_requests": 46, "error_ratio": 0.01685, "successful_rps": 89.267, "successful_latency_ms": { "p50": 58.444, "p95": 217.042, "p99": 544.068 }, "note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead." } }