forked from mtusi2026/mtusi2026lab4
54 lines
1.9 KiB
JSON
54 lines
1.9 KiB
JSON
{
|
|
"version": 1,
|
|
"name": "proxy-versus-presigned-post",
|
|
"purpose": "confirmatory",
|
|
"hypothesis": "Presigned POST uses at most 65% of proxy API RX+TX bytes per ready, byte-verified attachment in each profile, without request errors, OOM or API restarts.",
|
|
"seed": 20261018,
|
|
"repetitions": 3,
|
|
"clients": 10,
|
|
"waves": 3,
|
|
"wave_pause_seconds": 1,
|
|
"warmup_clients": 4,
|
|
"settle_seconds": 2,
|
|
"idle_seconds": 5,
|
|
"sample_interval_seconds": 0.1,
|
|
"request_timeout_seconds": 35,
|
|
"flow_timeout_seconds": 90,
|
|
"ports": {"api": 18080, "s3": 19000, "stats": 18404},
|
|
"resources": {
|
|
"api_replicas": 2,
|
|
"api_cpus": 0.5,
|
|
"api_memory_bytes": 536870912,
|
|
"api_tmpfs_bytes": 16777216,
|
|
"api_go_memory_limit": "384MiB",
|
|
"api_gomaxprocs": 1,
|
|
"database_max_connections_per_replica": 10,
|
|
"db_cpus": 1,
|
|
"db_memory_bytes": 536870912,
|
|
"s3_cpus": 1,
|
|
"s3_memory_bytes": 536870912,
|
|
"redis_cpus": 0.25,
|
|
"redis_memory_bytes": 134217728,
|
|
"haproxy_cpus": 0.5,
|
|
"haproxy_memory_bytes": 134217728
|
|
},
|
|
"images": {"db": "postgres:16.10-bookworm", "redis": "redis:7.4.11-bookworm", "haproxy": "haproxy:3.2.25-alpine"},
|
|
"profiles": [
|
|
{"name": "small-moderate", "size_bytes": 1048576, "width": 1024, "height": 1024},
|
|
{"name": "large-moderate", "size_bytes": 10485760, "width": 1024, "height": 1024},
|
|
{"name": "small-pixels40m", "size_bytes": 1048576, "width": 8000, "height": 5000},
|
|
{"name": "large-pixels40m", "size_bytes": 10485760, "width": 8000, "height": 5000}
|
|
],
|
|
"criteria": {
|
|
"median_direct_proxy_traffic_ratio_max": 0.65,
|
|
"each_pair_traffic_ratio_max": 0.70,
|
|
"errors_allowed": 0,
|
|
"api_peak_strictly_below_bytes": 536870912,
|
|
"start_spread_seconds_max": 0.1,
|
|
"idle_background_payload_fraction_max": 0.05,
|
|
"sampler_coverage_fraction_min": 0.7,
|
|
"sampler_gap_seconds_max": 1.0,
|
|
"generator_cpu_cores_max": 0.8
|
|
}
|
|
}
|