forked from mtusi2026/mtusi2026lab3
Add lab 3 scaling research and database bottleneck evidence
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"seed_messages": 100000,
|
||||
"warmup_seconds": 10,
|
||||
"warmup_rate": "target",
|
||||
"settle_seconds": 3,
|
||||
"max_inflight": 1024,
|
||||
"public_smoke_after": true,
|
||||
"runs": [
|
||||
{
|
||||
"name": "db05-n1",
|
||||
"phase": "db_cpu_causal",
|
||||
"replicas": 1,
|
||||
"api_total_cpus": 4,
|
||||
"api_total_memory_mib": 1024,
|
||||
"pool_max_conns": 16,
|
||||
"postgres_cpus": 0.5,
|
||||
"rate": 2000,
|
||||
"duration_seconds": 30
|
||||
},
|
||||
{
|
||||
"name": "db05-n2",
|
||||
"phase": "db_cpu_causal",
|
||||
"replicas": 2,
|
||||
"api_total_cpus": 4,
|
||||
"api_total_memory_mib": 1024,
|
||||
"pool_max_conns": 8,
|
||||
"postgres_cpus": 0.5,
|
||||
"rate": 2000,
|
||||
"duration_seconds": 30
|
||||
},
|
||||
{
|
||||
"name": "db05-n4",
|
||||
"phase": "db_cpu_causal",
|
||||
"replicas": 4,
|
||||
"api_total_cpus": 4,
|
||||
"api_total_memory_mib": 1024,
|
||||
"pool_max_conns": 4,
|
||||
"postgres_cpus": 0.5,
|
||||
"rate": 2000,
|
||||
"duration_seconds": 30
|
||||
},
|
||||
{
|
||||
"name": "db2-n2-first",
|
||||
"phase": "db_cpu_causal",
|
||||
"replicas": 2,
|
||||
"api_total_cpus": 4,
|
||||
"api_total_memory_mib": 1024,
|
||||
"pool_max_conns": 8,
|
||||
"postgres_cpus": 2,
|
||||
"rate": 2000,
|
||||
"duration_seconds": 30
|
||||
},
|
||||
{
|
||||
"name": "db05-n2-repeat",
|
||||
"phase": "db_cpu_causal",
|
||||
"replicas": 2,
|
||||
"api_total_cpus": 4,
|
||||
"api_total_memory_mib": 1024,
|
||||
"pool_max_conns": 8,
|
||||
"postgres_cpus": 0.5,
|
||||
"rate": 2000,
|
||||
"duration_seconds": 30
|
||||
},
|
||||
{
|
||||
"name": "db2-n2-repeat",
|
||||
"phase": "db_cpu_causal",
|
||||
"replicas": 2,
|
||||
"api_total_cpus": 4,
|
||||
"api_total_memory_mib": 1024,
|
||||
"pool_max_conns": 8,
|
||||
"postgres_cpus": 2,
|
||||
"rate": 2000,
|
||||
"duration_seconds": 30
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user