Complete lab 2 PostgreSQL Redis implementation
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"experiment": "Redis message history cache",
|
||||
"cold_read_ms": 52.287,
|
||||
"warm_reads": 30,
|
||||
"warm_mean_ms": 26.478,
|
||||
"warm_median_ms": 29.496,
|
||||
"warm_min_ms": 13.785,
|
||||
"warm_max_ms": 46.404,
|
||||
"read_after_write": "PASS",
|
||||
"limitations": "HTTP latency includes client, network, authentication and API overhead; it is not a direct SQL query count."
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"experiment": "concurrent cache miss / stampede",
|
||||
"workers": 12,
|
||||
"cold_concurrent_requests": 12,
|
||||
"warm_concurrent_requests": 12,
|
||||
"cold_batch_elapsed_ms": 172.0,
|
||||
"warm_batch_elapsed_ms": 110.0,
|
||||
"cold_message_select_statements": 0,
|
||||
"warm_message_select_statements": 0,
|
||||
"result": "PASS",
|
||||
"note": "PostgreSQL log_min_duration_statement was temporarily set to 0 and restored after the experiment. Counts are filtered to SELECT statements whose SQL contains FROM messages."
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"lab": 2,
|
||||
"workload": "closed-loop POST messages; no automatic retries",
|
||||
"requested_duration_seconds": 10.0,
|
||||
"elapsed_seconds": 10.531,
|
||||
"concurrency": 4,
|
||||
"successful_requests": 674,
|
||||
"failed_requests": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 64.002,
|
||||
"successful_latency_ms": {
|
||||
"p50": 62.0,
|
||||
"p95": 94.0,
|
||||
"p99": 110.0
|
||||
},
|
||||
"note": "Latency percentiles cover successes only. Timeouts/errors are counted separately; closed-loop has coordinated omission and client overhead."
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user