perf: measure grpc fanout and recovery bounds
This commit is contained in:
@@ -0,0 +1,261 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"description": "Small measured fixture experiments, not advertised capacity. Limits are experiment safety bounds, not throughput promises.",
|
||||
"accounting": {
|
||||
"settle_seconds": 15,
|
||||
"consecutive_drained_observations": 3,
|
||||
"sample_interval_seconds": 0.5
|
||||
},
|
||||
"profiles": [
|
||||
{
|
||||
"id": "smoke",
|
||||
"group": "smoke",
|
||||
"sources": [
|
||||
"scalar"
|
||||
],
|
||||
"clients": 1,
|
||||
"registrations_per_client": 1,
|
||||
"views_per_source": 1,
|
||||
"duration_seconds": 6,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 100,
|
||||
"source_hz": 2,
|
||||
"deadband": null,
|
||||
"slow_clients": 0,
|
||||
"slow_client_ms": 0,
|
||||
"browse_burst": 0,
|
||||
"browse_workers": 1,
|
||||
"overlap": true,
|
||||
"hub_partitions": 4,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "steady",
|
||||
"group": "steady",
|
||||
"sources": [
|
||||
"scalar",
|
||||
"counter",
|
||||
"array0",
|
||||
"array1",
|
||||
"array2"
|
||||
],
|
||||
"clients": 2,
|
||||
"registrations_per_client": 10,
|
||||
"views_per_source": 2,
|
||||
"duration_seconds": 12,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 200,
|
||||
"source_hz": 4,
|
||||
"deadband": null,
|
||||
"slow_clients": 0,
|
||||
"slow_client_ms": 0,
|
||||
"browse_burst": 8,
|
||||
"browse_workers": 2,
|
||||
"overlap": true,
|
||||
"hub_partitions": 4,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "typed-payloads",
|
||||
"group": "steady",
|
||||
"sources": [
|
||||
"scalar",
|
||||
"vector",
|
||||
"text"
|
||||
],
|
||||
"clients": 2,
|
||||
"registrations_per_client": 6,
|
||||
"views_per_source": 2,
|
||||
"duration_seconds": 12,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 200,
|
||||
"source_hz": 4,
|
||||
"deadband": null,
|
||||
"slow_clients": 0,
|
||||
"slow_client_ms": 0,
|
||||
"browse_burst": 8,
|
||||
"browse_workers": 2,
|
||||
"overlap": true,
|
||||
"hub_partitions": 1,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "fan-out",
|
||||
"group": "fan-out",
|
||||
"sources": [
|
||||
"scalar",
|
||||
"counter"
|
||||
],
|
||||
"clients": 8,
|
||||
"registrations_per_client": 8,
|
||||
"views_per_source": 2,
|
||||
"duration_seconds": 12,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 100,
|
||||
"source_hz": 4,
|
||||
"deadband": null,
|
||||
"slow_clients": 1,
|
||||
"slow_client_ms": 750,
|
||||
"browse_burst": 32,
|
||||
"browse_workers": 4,
|
||||
"overlap": true,
|
||||
"hub_partitions": 4,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "quiet-hot-fairness",
|
||||
"group": "fan-out",
|
||||
"sources": [
|
||||
"scalar",
|
||||
"array0"
|
||||
],
|
||||
"clients": 4,
|
||||
"registrations_per_client": 4,
|
||||
"views_per_source": 2,
|
||||
"duration_seconds": 12,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 100,
|
||||
"source_hz": 8,
|
||||
"deadband": null,
|
||||
"slow_clients": 1,
|
||||
"slow_client_ms": 1000,
|
||||
"browse_burst": 32,
|
||||
"browse_workers": 4,
|
||||
"overlap": true,
|
||||
"hub_partitions": 4,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "interval-deadband",
|
||||
"group": "steady",
|
||||
"sources": [
|
||||
"scalar",
|
||||
"counter"
|
||||
],
|
||||
"clients": 2,
|
||||
"registrations_per_client": 2,
|
||||
"views_per_source": 2,
|
||||
"duration_seconds": 12,
|
||||
"sampling_ms": 250,
|
||||
"publishing_ms": 500,
|
||||
"source_hz": 4,
|
||||
"deadband": 2,
|
||||
"slow_clients": 0,
|
||||
"slow_client_ms": 0,
|
||||
"browse_burst": 0,
|
||||
"browse_workers": 1,
|
||||
"overlap": false,
|
||||
"hub_partitions": 4,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "recovery",
|
||||
"group": "recovery",
|
||||
"sources": [
|
||||
"scalar",
|
||||
"counter"
|
||||
],
|
||||
"clients": 2,
|
||||
"registrations_per_client": 4,
|
||||
"views_per_source": 2,
|
||||
"duration_seconds": 8,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 100,
|
||||
"source_hz": 4,
|
||||
"deadband": null,
|
||||
"slow_clients": 0,
|
||||
"slow_client_ms": 0,
|
||||
"browse_burst": 8,
|
||||
"browse_workers": 2,
|
||||
"overlap": true,
|
||||
"recovery_preflight": true,
|
||||
"hub_partitions": 4,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "bounded-admission",
|
||||
"group": "steady",
|
||||
"sources": [
|
||||
"scalar"
|
||||
],
|
||||
"clients": 4,
|
||||
"registrations_per_client": 1,
|
||||
"views_per_source": 1,
|
||||
"duration_seconds": 6,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 100,
|
||||
"source_hz": 2,
|
||||
"deadband": null,
|
||||
"slow_clients": 0,
|
||||
"slow_client_ms": 0,
|
||||
"browse_burst": 0,
|
||||
"browse_workers": 1,
|
||||
"overlap": true,
|
||||
"admission_limit": 1,
|
||||
"hub_partitions": 4,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "typed-partitions-4",
|
||||
"group": "steady",
|
||||
"sources": [
|
||||
"scalar",
|
||||
"vector",
|
||||
"text"
|
||||
],
|
||||
"clients": 2,
|
||||
"registrations_per_client": 6,
|
||||
"views_per_source": 2,
|
||||
"duration_seconds": 12,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 200,
|
||||
"source_hz": 4,
|
||||
"deadband": null,
|
||||
"slow_clients": 0,
|
||||
"slow_client_ms": 0,
|
||||
"browse_burst": 8,
|
||||
"browse_workers": 2,
|
||||
"overlap": true,
|
||||
"hub_partitions": 4,
|
||||
"compact_batches": true
|
||||
},
|
||||
{
|
||||
"id": "typed-fallback",
|
||||
"group": "steady",
|
||||
"sources": [
|
||||
"scalar",
|
||||
"vector",
|
||||
"text"
|
||||
],
|
||||
"clients": 2,
|
||||
"registrations_per_client": 6,
|
||||
"views_per_source": 2,
|
||||
"duration_seconds": 12,
|
||||
"sampling_ms": 100,
|
||||
"publishing_ms": 200,
|
||||
"source_hz": 4,
|
||||
"deadband": null,
|
||||
"slow_clients": 0,
|
||||
"slow_client_ms": 0,
|
||||
"browse_burst": 8,
|
||||
"browse_workers": 2,
|
||||
"overlap": true,
|
||||
"hub_partitions": 1,
|
||||
"compact_batches": false
|
||||
}
|
||||
],
|
||||
"comparisons": [
|
||||
{
|
||||
"id": "partition-count",
|
||||
"baseline": "typed-payloads",
|
||||
"variant": "typed-partitions-4",
|
||||
"dimension": "hub_partitions"
|
||||
},
|
||||
{
|
||||
"id": "encoding",
|
||||
"baseline": "typed-payloads",
|
||||
"variant": "typed-fallback",
|
||||
"dimension": "compact_batches"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user