feat(lab3): HAProxy LB, stateless API replicas, X-Instance-Id, Idempotency-Key, Grade 5 Track 1
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"timestamp_utc": "2026-11-16T23:23:25Z",
|
||||
"base_url": "http://localhost:8080",
|
||||
"checks": {
|
||||
"infra_and_migrations": {
|
||||
"status": "PASS",
|
||||
"api_replicas": 2,
|
||||
"containers": [
|
||||
{
|
||||
"name": "lab3-api-1",
|
||||
"short_id": "c867ff33ee47",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory": 268435456
|
||||
},
|
||||
{
|
||||
"name": "lab3-api-2",
|
||||
"short_id": "a8fb03f322c9",
|
||||
"nano_cpus": 1000000000,
|
||||
"memory": 268435456
|
||||
}
|
||||
],
|
||||
"applied_migrations": [
|
||||
"001_init.sql",
|
||||
"002_idempotency.sql"
|
||||
]
|
||||
},
|
||||
"stateless_sessions": {
|
||||
"status": "PASS",
|
||||
"observed_instances": [
|
||||
"a8fb03f322c9",
|
||||
"c867ff33ee47"
|
||||
]
|
||||
},
|
||||
"concurrent_idempotency": {
|
||||
"status": "PASS",
|
||||
"concurrent_requests": 20,
|
||||
"unique_message_ids": 1,
|
||||
"replicas_involved": [
|
||||
"a8fb03f322c9",
|
||||
"c867ff33ee47"
|
||||
],
|
||||
"canonical_json_replay": "201_same_id",
|
||||
"different_body_conflict": 409,
|
||||
"scope_isolation_verified": true
|
||||
},
|
||||
"sequential_failover": {
|
||||
"status": "PASS",
|
||||
"replica_1_failover": {
|
||||
"stopped_container": "lab3-api-1",
|
||||
"stopped_short_id": "c867ff33ee47",
|
||||
"stop_duration_s": 1.976,
|
||||
"total_requests": 1354,
|
||||
"successful_writes": 1354,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"rps": 135.4,
|
||||
"recovery_seconds_after_stop": 0.0,
|
||||
"serving_instances_after_failover": [
|
||||
"a8fb03f322c9"
|
||||
]
|
||||
},
|
||||
"replica_2_failover": {
|
||||
"stopped_container": "lab3-api-2",
|
||||
"stopped_short_id": "a8fb03f322c9",
|
||||
"stop_duration_s": 1.952,
|
||||
"total_requests": 1354,
|
||||
"successful_writes": 1354,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"rps": 135.4,
|
||||
"recovery_seconds_after_stop": 0.0,
|
||||
"serving_instances_after_failover": [
|
||||
"c867ff33ee47"
|
||||
]
|
||||
}
|
||||
},
|
||||
"rolling_update": {
|
||||
"status": "PASS",
|
||||
"old_replicas": [
|
||||
"c867ff33ee47",
|
||||
"a8fb03f322c9"
|
||||
],
|
||||
"new_replicas": [
|
||||
"6ab8d90bddf4",
|
||||
"ce8d6d71f25b"
|
||||
],
|
||||
"total_requests_during_rollout": 1476,
|
||||
"successful_writes": 1476,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"observed_serving_instances": [
|
||||
"6ab8d90bddf4",
|
||||
"a8fb03f322c9",
|
||||
"bad8d000caaf",
|
||||
"c867ff33ee47",
|
||||
"ce8d6d71f25b"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"lab": 3,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 15.0,
|
||||
"elapsed_seconds": 15.006,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 11922,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 794.485,
|
||||
"successful_latency_ms": {
|
||||
"p50": 4.182,
|
||||
"p95": 8.602,
|
||||
"p99": 20.762
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
@@ -0,0 +1,475 @@
|
||||
{
|
||||
"timestamp_utc": "2026-11-16T23:28:36Z",
|
||||
"base_url": "http://localhost:8080",
|
||||
"series_a_fixed_budget": [
|
||||
{
|
||||
"label": "A_fixed_1x2.0cpu",
|
||||
"concurrency": 16,
|
||||
"warmup_s": 2.0,
|
||||
"duration_s": 10.0,
|
||||
"successful_requests": 10167,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"successful_rps": 1016.7,
|
||||
"latency_ms": {
|
||||
"p50": 7.743,
|
||||
"p95": 64.197,
|
||||
"p99": 76.235
|
||||
},
|
||||
"write_latency_ms": {
|
||||
"p50": 8.103,
|
||||
"p95": 61.874,
|
||||
"p99": 72.681
|
||||
},
|
||||
"observed_instances": [
|
||||
"d1f5ae9c67a0"
|
||||
],
|
||||
"container_stats_midpoint": {
|
||||
"lab3-api-4": {
|
||||
"cpu": "204.46%",
|
||||
"mem": "109.5MiB / 512MiB"
|
||||
},
|
||||
"lab3-postgres-1": {
|
||||
"cpu": "90.21%",
|
||||
"mem": "60.12MiB / 512MiB"
|
||||
},
|
||||
"lab3-lb-1": {
|
||||
"cpu": "23.66%",
|
||||
"mem": "12.02MiB / 128MiB"
|
||||
},
|
||||
"lab3-redis-1": {
|
||||
"cpu": "18.14%",
|
||||
"mem": "10.02MiB / 256MiB"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"replicas": 1,
|
||||
"api_cpu": "2.0",
|
||||
"api_mem": "512M",
|
||||
"db_cpu": "1.0",
|
||||
"db_max_conns": 12,
|
||||
"write_mode": "pipeline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "A_fixed_2x1.0cpu",
|
||||
"concurrency": 16,
|
||||
"warmup_s": 2.0,
|
||||
"duration_s": 10.0,
|
||||
"successful_requests": 8251,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"successful_rps": 825.1,
|
||||
"latency_ms": {
|
||||
"p50": 8.609,
|
||||
"p95": 70.592,
|
||||
"p99": 83.034
|
||||
},
|
||||
"write_latency_ms": {
|
||||
"p50": 8.723,
|
||||
"p95": 69.283,
|
||||
"p99": 78.026
|
||||
},
|
||||
"observed_instances": [
|
||||
"47f831cff243",
|
||||
"e2833dd332ac"
|
||||
],
|
||||
"container_stats_midpoint": {
|
||||
"lab3-api-4": {
|
||||
"cpu": "66.98%",
|
||||
"mem": "72.71MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-5": {
|
||||
"cpu": "77.18%",
|
||||
"mem": "111.4MiB / 256MiB"
|
||||
},
|
||||
"lab3-postgres-1": {
|
||||
"cpu": "98.70%",
|
||||
"mem": "92.31MiB / 512MiB"
|
||||
},
|
||||
"lab3-lb-1": {
|
||||
"cpu": "20.98%",
|
||||
"mem": "12.11MiB / 128MiB"
|
||||
},
|
||||
"lab3-redis-1": {
|
||||
"cpu": "14.07%",
|
||||
"mem": "16.46MiB / 256MiB"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"replicas": 2,
|
||||
"api_cpu": "1.0",
|
||||
"api_mem": "256M",
|
||||
"db_cpu": "1.0",
|
||||
"db_max_conns": 12,
|
||||
"write_mode": "pipeline"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "A_fixed_4x0.5cpu",
|
||||
"concurrency": 16,
|
||||
"warmup_s": 2.0,
|
||||
"duration_s": 10.0,
|
||||
"successful_requests": 4136,
|
||||
"failed_requests": 15,
|
||||
"error_rate": 0.00361,
|
||||
"successful_rps": 413.6,
|
||||
"latency_ms": {
|
||||
"p50": 6.478,
|
||||
"p95": 96.023,
|
||||
"p99": 381.832
|
||||
},
|
||||
"write_latency_ms": {
|
||||
"p50": 6.604,
|
||||
"p95": 93.106,
|
||||
"p99": 291.795
|
||||
},
|
||||
"observed_instances": [
|
||||
"013ea6fc7ada",
|
||||
"27e20311dd72",
|
||||
"34f340969648",
|
||||
"7308b4384c4e"
|
||||
],
|
||||
"container_stats_midpoint": {
|
||||
"lab3-api-7": {
|
||||
"cpu": "48.76%",
|
||||
"mem": "89.36MiB / 128MiB"
|
||||
},
|
||||
"lab3-api-6": {
|
||||
"cpu": "41.39%",
|
||||
"mem": "66.79MiB / 128MiB"
|
||||
},
|
||||
"lab3-api-4": {
|
||||
"cpu": "31.12%",
|
||||
"mem": "50.61MiB / 128MiB"
|
||||
},
|
||||
"lab3-api-5": {
|
||||
"cpu": "47.21%",
|
||||
"mem": "50.73MiB / 128MiB"
|
||||
},
|
||||
"lab3-postgres-1": {
|
||||
"cpu": "79.92%",
|
||||
"mem": "127.8MiB / 512MiB"
|
||||
},
|
||||
"lab3-lb-1": {
|
||||
"cpu": "22.45%",
|
||||
"mem": "12.26MiB / 128MiB"
|
||||
},
|
||||
"lab3-redis-1": {
|
||||
"cpu": "15.51%",
|
||||
"mem": "13.5MiB / 256MiB"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"replicas": 4,
|
||||
"api_cpu": "0.5",
|
||||
"api_mem": "128M",
|
||||
"db_cpu": "1.0",
|
||||
"db_max_conns": 12,
|
||||
"write_mode": "pipeline"
|
||||
}
|
||||
}
|
||||
],
|
||||
"series_b_resource_growth": [
|
||||
{
|
||||
"label": "B_growth_1x0.5cpu",
|
||||
"concurrency": 20,
|
||||
"warmup_s": 2.0,
|
||||
"duration_s": 10.0,
|
||||
"successful_requests": 475,
|
||||
"failed_requests": 20,
|
||||
"error_rate": 0.0404,
|
||||
"successful_rps": 47.5,
|
||||
"latency_ms": {
|
||||
"p50": 99.276,
|
||||
"p95": 798.93,
|
||||
"p99": 2700.523
|
||||
},
|
||||
"write_latency_ms": {
|
||||
"p50": 99.501,
|
||||
"p95": 686.458,
|
||||
"p99": 1105.625
|
||||
},
|
||||
"observed_instances": [
|
||||
"a97c17fb53be"
|
||||
],
|
||||
"container_stats_midpoint": {
|
||||
"lab3-api-7": {
|
||||
"cpu": "49.44%",
|
||||
"mem": "256MiB / 256MiB"
|
||||
},
|
||||
"lab3-postgres-1": {
|
||||
"cpu": "5.02%",
|
||||
"mem": "79.31MiB / 256MiB"
|
||||
},
|
||||
"lab3-lb-1": {
|
||||
"cpu": "1.23%",
|
||||
"mem": "12.05MiB / 128MiB"
|
||||
},
|
||||
"lab3-redis-1": {
|
||||
"cpu": "2.24%",
|
||||
"mem": "11.62MiB / 256MiB"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"replicas": 1,
|
||||
"api_cpu": "0.5",
|
||||
"api_mem": "256M",
|
||||
"db_cpu": "0.5",
|
||||
"db_max_conns": 25,
|
||||
"write_mode": "sequential"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "B_growth_2x0.5cpu",
|
||||
"concurrency": 20,
|
||||
"warmup_s": 2.0,
|
||||
"duration_s": 10.0,
|
||||
"successful_requests": 3535,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"successful_rps": 353.5,
|
||||
"latency_ms": {
|
||||
"p50": 34.665,
|
||||
"p95": 178.069,
|
||||
"p99": 304.304
|
||||
},
|
||||
"write_latency_ms": {
|
||||
"p50": 42.344,
|
||||
"p95": 172.567,
|
||||
"p99": 242.902
|
||||
},
|
||||
"observed_instances": [
|
||||
"75a22aba6330",
|
||||
"e3031c19102f"
|
||||
],
|
||||
"container_stats_midpoint": {
|
||||
"lab3-api-8": {
|
||||
"cpu": "50.45%",
|
||||
"mem": "110MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-7": {
|
||||
"cpu": "40.02%",
|
||||
"mem": "92.32MiB / 256MiB"
|
||||
},
|
||||
"lab3-postgres-1": {
|
||||
"cpu": "48.57%",
|
||||
"mem": "121.2MiB / 256MiB"
|
||||
},
|
||||
"lab3-lb-1": {
|
||||
"cpu": "14.47%",
|
||||
"mem": "12.23MiB / 128MiB"
|
||||
},
|
||||
"lab3-redis-1": {
|
||||
"cpu": "9.09%",
|
||||
"mem": "7.293MiB / 256MiB"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"replicas": 2,
|
||||
"api_cpu": "0.5",
|
||||
"api_mem": "256M",
|
||||
"db_cpu": "0.5",
|
||||
"db_max_conns": 25,
|
||||
"write_mode": "sequential"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "B_growth_4x0.5cpu",
|
||||
"concurrency": 20,
|
||||
"warmup_s": 2.0,
|
||||
"duration_s": 10.0,
|
||||
"successful_requests": 3708,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"successful_rps": 370.8,
|
||||
"latency_ms": {
|
||||
"p50": 77.491,
|
||||
"p95": 102.152,
|
||||
"p99": 201.116
|
||||
},
|
||||
"write_latency_ms": {
|
||||
"p50": 84.726,
|
||||
"p95": 101.072,
|
||||
"p99": 197.338
|
||||
},
|
||||
"observed_instances": [
|
||||
"3cd92787b764",
|
||||
"7ad8aa4cd84d",
|
||||
"c482f4ae4a13",
|
||||
"fde039fce7f3"
|
||||
],
|
||||
"container_stats_midpoint": {
|
||||
"lab3-api-9": {
|
||||
"cpu": "22.60%",
|
||||
"mem": "81.24MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-7": {
|
||||
"cpu": "19.11%",
|
||||
"mem": "52.75MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-8": {
|
||||
"cpu": "18.79%",
|
||||
"mem": "49.17MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-10": {
|
||||
"cpu": "35.11%",
|
||||
"mem": "51.89MiB / 256MiB"
|
||||
},
|
||||
"lab3-postgres-1": {
|
||||
"cpu": "48.70%",
|
||||
"mem": "129.6MiB / 256MiB"
|
||||
},
|
||||
"lab3-lb-1": {
|
||||
"cpu": "13.64%",
|
||||
"mem": "12.3MiB / 128MiB"
|
||||
},
|
||||
"lab3-redis-1": {
|
||||
"cpu": "7.01%",
|
||||
"mem": "8.988MiB / 256MiB"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"replicas": 4,
|
||||
"api_cpu": "0.5",
|
||||
"api_mem": "256M",
|
||||
"db_cpu": "0.5",
|
||||
"db_max_conns": 25,
|
||||
"write_mode": "sequential"
|
||||
}
|
||||
}
|
||||
],
|
||||
"confirmed_improvement": {
|
||||
"change": "Enabled pgx.Batch SQL pipelining in CreateMessage tx (5 RTT -> 2 RTT) and tuned DB_MAX_CONNS per replica (25 -> 8, limiting total connections from 100 to 32 against 0.5 CPU PostgreSQL)",
|
||||
"before": {
|
||||
"label": "B_growth_4x0.5cpu",
|
||||
"concurrency": 20,
|
||||
"warmup_s": 2.0,
|
||||
"duration_s": 10.0,
|
||||
"successful_requests": 3708,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"successful_rps": 370.8,
|
||||
"latency_ms": {
|
||||
"p50": 77.491,
|
||||
"p95": 102.152,
|
||||
"p99": 201.116
|
||||
},
|
||||
"write_latency_ms": {
|
||||
"p50": 84.726,
|
||||
"p95": 101.072,
|
||||
"p99": 197.338
|
||||
},
|
||||
"observed_instances": [
|
||||
"3cd92787b764",
|
||||
"7ad8aa4cd84d",
|
||||
"c482f4ae4a13",
|
||||
"fde039fce7f3"
|
||||
],
|
||||
"container_stats_midpoint": {
|
||||
"lab3-api-9": {
|
||||
"cpu": "22.60%",
|
||||
"mem": "81.24MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-7": {
|
||||
"cpu": "19.11%",
|
||||
"mem": "52.75MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-8": {
|
||||
"cpu": "18.79%",
|
||||
"mem": "49.17MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-10": {
|
||||
"cpu": "35.11%",
|
||||
"mem": "51.89MiB / 256MiB"
|
||||
},
|
||||
"lab3-postgres-1": {
|
||||
"cpu": "48.70%",
|
||||
"mem": "129.6MiB / 256MiB"
|
||||
},
|
||||
"lab3-lb-1": {
|
||||
"cpu": "13.64%",
|
||||
"mem": "12.3MiB / 128MiB"
|
||||
},
|
||||
"lab3-redis-1": {
|
||||
"cpu": "7.01%",
|
||||
"mem": "8.988MiB / 256MiB"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"replicas": 4,
|
||||
"api_cpu": "0.5",
|
||||
"api_mem": "256M",
|
||||
"db_cpu": "0.5",
|
||||
"db_max_conns": 25,
|
||||
"write_mode": "sequential"
|
||||
}
|
||||
},
|
||||
"after": {
|
||||
"label": "C_optimized_4x0.5cpu",
|
||||
"concurrency": 20,
|
||||
"warmup_s": 2.0,
|
||||
"duration_s": 10.0,
|
||||
"successful_requests": 5102,
|
||||
"failed_requests": 0,
|
||||
"error_rate": 0.0,
|
||||
"successful_rps": 510.2,
|
||||
"latency_ms": {
|
||||
"p50": 13.231,
|
||||
"p95": 97.004,
|
||||
"p99": 144.243
|
||||
},
|
||||
"write_latency_ms": {
|
||||
"p50": 16.821,
|
||||
"p95": 96.413,
|
||||
"p99": 111.9
|
||||
},
|
||||
"observed_instances": [
|
||||
"29eecd023183",
|
||||
"9a2732d149d4",
|
||||
"a0778eaa9365",
|
||||
"c60ed1a08b60"
|
||||
],
|
||||
"container_stats_midpoint": {
|
||||
"lab3-api-8": {
|
||||
"cpu": "29.98%",
|
||||
"mem": "45.44MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-7": {
|
||||
"cpu": "34.58%",
|
||||
"mem": "68.11MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-9": {
|
||||
"cpu": "32.71%",
|
||||
"mem": "73.15MiB / 256MiB"
|
||||
},
|
||||
"lab3-api-10": {
|
||||
"cpu": "35.22%",
|
||||
"mem": "51.48MiB / 256MiB"
|
||||
},
|
||||
"lab3-postgres-1": {
|
||||
"cpu": "55.39%",
|
||||
"mem": "112.9MiB / 256MiB"
|
||||
},
|
||||
"lab3-lb-1": {
|
||||
"cpu": "18.64%",
|
||||
"mem": "12.34MiB / 128MiB"
|
||||
},
|
||||
"lab3-redis-1": {
|
||||
"cpu": "11.78%",
|
||||
"mem": "10.29MiB / 256MiB"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"replicas": 4,
|
||||
"api_cpu": "0.5",
|
||||
"api_mem": "256M",
|
||||
"db_cpu": "0.5",
|
||||
"db_max_conns": 8,
|
||||
"write_mode": "pipeline"
|
||||
}
|
||||
},
|
||||
"rps_change_percent": 37.59,
|
||||
"p95_latency_change_percent": -5.04
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="780" height="360" viewBox="0 0 780 360" style="background:#ffffff;font-family:sans-serif">
|
||||
<text x="390" y="28" text-anchor="middle" font-size="16" font-weight="bold" fill="#111827">Lab 3 Track 1: Cost of Scaling & Saturation Point (RPS)</text>
|
||||
<line x1="70" y1="50" x2="70" y2="295" stroke="#9ca3af" stroke-width="1"/>
|
||||
<line x1="70" y1="295" x2="750" y2="295" stroke="#9ca3af" stroke-width="1"/>
|
||||
<line x1="70" y1="295.0" x2="750" y2="295.0" stroke="#e5e7eb" stroke-width="1"/>
|
||||
<text x="62" y="299.0" text-anchor="end" font-size="11" fill="#4b5563">0</text>
|
||||
<line x1="70" y1="233.8" x2="750" y2="233.8" stroke="#e5e7eb" stroke-width="1"/>
|
||||
<text x="62" y="237.8" text-anchor="end" font-size="11" fill="#4b5563">254</text>
|
||||
<line x1="70" y1="172.5" x2="750" y2="172.5" stroke="#e5e7eb" stroke-width="1"/>
|
||||
<text x="62" y="176.5" text-anchor="end" font-size="11" fill="#4b5563">508</text>
|
||||
<line x1="70" y1="111.2" x2="750" y2="111.2" stroke="#e5e7eb" stroke-width="1"/>
|
||||
<text x="62" y="115.2" text-anchor="end" font-size="11" fill="#4b5563">763</text>
|
||||
<line x1="70" y1="50.0" x2="750" y2="50.0" stroke="#e5e7eb" stroke-width="1"/>
|
||||
<text x="62" y="54.0" text-anchor="end" font-size="11" fill="#4b5563">1017</text>
|
||||
<rect x="97.8" y="69.6" width="64" height="225.4" rx="4" fill="#3b82f6"/>
|
||||
<text x="129.8" y="63.6" text-anchor="middle" font-size="11" font-weight="bold" fill="#111827">1016.7</text>
|
||||
<text x="129.8" y="313" text-anchor="middle" font-size="11" fill="#374151">A: 1x2.0c</text>
|
||||
<rect x="189.5" y="112.1" width="64" height="182.9" rx="4" fill="#3b82f6"/>
|
||||
<text x="221.5" y="106.1" text-anchor="middle" font-size="11" font-weight="bold" fill="#111827">825.1</text>
|
||||
<text x="221.5" y="313" text-anchor="middle" font-size="11" fill="#374151">A: 2x1.0c</text>
|
||||
<rect x="281.2" y="203.3" width="64" height="91.7" rx="4" fill="#3b82f6"/>
|
||||
<text x="313.2" y="197.3" text-anchor="middle" font-size="11" font-weight="bold" fill="#111827">413.6</text>
|
||||
<text x="313.2" y="313" text-anchor="middle" font-size="11" fill="#374151">A: 4x0.5c</text>
|
||||
<rect x="373.0" y="284.5" width="64" height="10.5" rx="4" fill="#10b981"/>
|
||||
<text x="405.0" y="278.5" text-anchor="middle" font-size="11" font-weight="bold" fill="#111827">47.5</text>
|
||||
<text x="405.0" y="313" text-anchor="middle" font-size="11" fill="#374151">B: 1x0.5c</text>
|
||||
<rect x="464.8" y="216.6" width="64" height="78.4" rx="4" fill="#10b981"/>
|
||||
<text x="496.8" y="210.6" text-anchor="middle" font-size="11" font-weight="bold" fill="#111827">353.5</text>
|
||||
<text x="496.8" y="313" text-anchor="middle" font-size="11" fill="#374151">B: 2x0.5c</text>
|
||||
<rect x="556.5" y="212.8" width="64" height="82.2" rx="4" fill="#f59e0b"/>
|
||||
<text x="588.5" y="206.8" text-anchor="middle" font-size="11" font-weight="bold" fill="#111827">370.8</text>
|
||||
<text x="588.5" y="313" text-anchor="middle" font-size="11" fill="#374151">B: 4x0.5c</text>
|
||||
<rect x="648.2" y="181.9" width="64" height="113.1" rx="4" fill="#8b5cf6"/>
|
||||
<text x="680.2" y="175.9" text-anchor="middle" font-size="11" font-weight="bold" fill="#111827">510.2</text>
|
||||
<text x="680.2" y="313" text-anchor="middle" font-size="11" fill="#374151">Opt: 4x0.5c</text>
|
||||
<text x="390" y="346" text-anchor="middle" font-size="11" fill="#6b7280">Blue: Fixed 2.0 CPU Budget | Green: Resource Growth | Orange: DB Saturation | Purple: Batch Pipeline + Pool Tuning</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.4 KiB |
Reference in New Issue
Block a user