ЛР 2: исследовать и ограничить cache stampede — на 5
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"label": "baseline",
|
||||
"pilot": false,
|
||||
"started_utc": "2026-10-24T22:56:05.498042+00:00",
|
||||
"wall_s": 56.084041081005125,
|
||||
"plan": {
|
||||
"date_local": "2026-10-25 Europe/Moscow",
|
||||
"clients": 16,
|
||||
"repeats": 3,
|
||||
"bursts_per_mode_repeat": 32,
|
||||
"modes": [
|
||||
"cold",
|
||||
"contended",
|
||||
"warm"
|
||||
],
|
||||
"contended_users_lock_seconds": 0.1,
|
||||
"request_budget_per_version": 4608,
|
||||
"warmup": "one GET me and one health/live per persistent client before modes; TTL reset only for synthetic user",
|
||||
"cache_reset": "DEL own profile UUID before each cold/contended burst; warm primed before burst; no FLUSH",
|
||||
"sql": "pg_stat_statements app-role deltas before/after each burst; observer role excluded; all app statements including transaction/health statements retained",
|
||||
"ordering": "baseline then candidate, repeat modes rotate; identical plan; pilot excluded",
|
||||
"http_timeout_seconds": 6,
|
||||
"api": {
|
||||
"cpu": 1,
|
||||
"memory_mib": 512,
|
||||
"swap_mib": 0,
|
||||
"workers": 1,
|
||||
"threads": 16,
|
||||
"pg_pool": [
|
||||
1,
|
||||
8
|
||||
],
|
||||
"pg_pool_wait_seconds": 2
|
||||
},
|
||||
"postgres": {
|
||||
"cpu": 1,
|
||||
"memory_mib": 512,
|
||||
"swap_mib": 0
|
||||
},
|
||||
"valkey": {
|
||||
"cpu": 0.5,
|
||||
"memory_mib": 128,
|
||||
"swap_mib": 0
|
||||
},
|
||||
"driver": {
|
||||
"cpu": 1,
|
||||
"memory_mib": 512,
|
||||
"swap_mib": 0
|
||||
},
|
||||
"raw": "per-request CSV plus per-burst normalized real SQL deltas and duration; no bodies, tokens or credentials",
|
||||
"quantiles": "nearest rank over successful requests per mode/repeat; median and min/max across repeats; only 512 observations per percentile, limited p99 precision"
|
||||
},
|
||||
"python": "3.12.10 (main, May 21 2025, 23:34:56) [GCC 12.2.0]",
|
||||
"app_src_sha256": {
|
||||
"__init__.py": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b",
|
||||
"cache.py": "0f92c67b59f57a1ac5ee44d99bb5d992efa208e1d3c6fa44e5b537b913be926c",
|
||||
"config.py": "7d18c6b03d1130ca633055599f13a002d05a722a86427f2c47700b65908223b5",
|
||||
"db.py": "d21da56f3551eef2fb7e930a184264a0731eef8d6eb531929e611f8fa3df4d47",
|
||||
"errors.py": "d34144c2b84b1b0fd15e0da574fe1ff6047d3af3cb3faeacbb1e385f221f46b6",
|
||||
"main.py": "5c36a8dc3fa3dc84c69ebbfee94d1536619ee090da8d5d49931a99bfbd25f436",
|
||||
"models.py": "ce2e14686881f764e00e602a3cb63253cedf698583d3f059b1afd76e4fd94a94",
|
||||
"pagination.py": "bba67fcab7b6ead93c4848319feccecd5e608287f0e983981b04ce0e1ca4b8f3",
|
||||
"security.py": "43a8b463e41053fe8ab125570eb7e93bbbbc13e4f5b6599457cbec22c00dc4d6",
|
||||
"store.py": "dc8c9512979dba9d54617e27b19beb40ca45972dd8f294263144bb2de716c548"
|
||||
},
|
||||
"pg_version": "16.8 (Debian 16.8-1.pgdg120+1)",
|
||||
"cache_version": "7.2.4"
|
||||
}
|
||||
Reference in New Issue
Block a user