ЛР 2: исследовать и ограничить cache stampede — на 5
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"label": "candidate",
|
||||
"pilot": false,
|
||||
"started_utc": "2026-10-24T22:58:34.194110+00:00",
|
||||
"wall_s": 41.2317716999969,
|
||||
"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": "c4cf175579c0f79ea1d512fbd38e9fdb25aace8359729189051dfcbafcd1f557",
|
||||
"config.py": "7d18c6b03d1130ca633055599f13a002d05a722a86427f2c47700b65908223b5",
|
||||
"db.py": "d21da56f3551eef2fb7e930a184264a0731eef8d6eb531929e611f8fa3df4d47",
|
||||
"errors.py": "d34144c2b84b1b0fd15e0da574fe1ff6047d3af3cb3faeacbb1e385f221f46b6",
|
||||
"main.py": "5c36a8dc3fa3dc84c69ebbfee94d1536619ee090da8d5d49931a99bfbd25f436",
|
||||
"models.py": "ce2e14686881f764e00e602a3cb63253cedf698583d3f059b1afd76e4fd94a94",
|
||||
"pagination.py": "e075a030c5b0fa5b0d462ec09aa42bbd5722b57970120057f04c0830377c586d",
|
||||
"security.py": "43a8b463e41053fe8ab125570eb7e93bbbbc13e4f5b6599457cbec22c00dc4d6",
|
||||
"store.py": "556ec5463ecd63505fa923a7f09bf4b434f37660c7cadd74cde239429a376883"
|
||||
},
|
||||
"pg_version": "16.8 (Debian 16.8-1.pgdg120+1)",
|
||||
"cache_version": "7.2.4"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user