Document scaling experiment, measured database boundary and verified failure recovery
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
.venv/bin/python scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
.venv/bin/python scripts/validate_openapi.py
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
@@ -0,0 +1,4 @@
|
||||
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://127.0.0.1:8083"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 123, "failed_attempts": 3, "first_recovery_seconds": 1.429}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,35 @@
|
||||
global
|
||||
log stdout format raw local0
|
||||
maxconn 256
|
||||
stats socket /tmp/haproxy.sock mode 600 level admin
|
||||
|
||||
defaults
|
||||
mode http
|
||||
log global
|
||||
timeout connect 1s
|
||||
timeout client 10s
|
||||
timeout server 8s
|
||||
timeout check 1s
|
||||
timeout queue 2s
|
||||
retries 0
|
||||
option httplog
|
||||
|
||||
resolvers docker
|
||||
nameserver dns 127.0.0.11:53
|
||||
resolve_retries 3
|
||||
timeout resolve 1s
|
||||
timeout retry 1s
|
||||
hold valid 1s
|
||||
hold obsolete 1s
|
||||
hold nx 1s
|
||||
|
||||
frontend public
|
||||
bind :8080
|
||||
default_backend apis
|
||||
|
||||
backend apis
|
||||
balance roundrobin
|
||||
option httpchk GET /health/ready
|
||||
http-check expect status 200
|
||||
default-server inter 1s fastinter 500ms downinter 1s fall 2 rise 2
|
||||
server-template api 1-8 api:8080 check resolvers docker resolve-prefer ipv4 init-addr libc,none
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"lab": 3,
|
||||
"status": "PASS",
|
||||
"configured_ttl_s": 2,
|
||||
"valid_before_restart": 200,
|
||||
"same_token_after_restart_and_expiry": 401,
|
||||
"elapsed_after_login_s": 2.3318688750150613,
|
||||
"main_api_reconfigured": false
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"tests": [
|
||||
{
|
||||
"case": "ACL precedes both replay and conflict",
|
||||
"status": "PASS",
|
||||
"detail": {
|
||||
"same_body": 404,
|
||||
"changed_body": 404
|
||||
},
|
||||
"elapsed_s": 0.09069112502038479
|
||||
},
|
||||
{
|
||||
"case": "readiness detects missing mandatory table",
|
||||
"status": "PASS",
|
||||
"detail": [
|
||||
{
|
||||
"status": 503,
|
||||
"elapsed_s": 0.08109846600564197,
|
||||
"request_id": "b73d5368-2568-442a-b749-076a81e635b7",
|
||||
"instance_id": "b5916273-3714-494a-9de5-dda6dc88b2e5",
|
||||
"body": {
|
||||
"error": {
|
||||
"code": "unavailable",
|
||||
"message": "Хранилище недоступно",
|
||||
"request_id": "b73d5368-2568-442a-b749-076a81e635b7"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"status": 503,
|
||||
"elapsed_s": 0.007741153007373214,
|
||||
"request_id": "502d1bfd-7338-4a02-b11f-da70d96a6aaf",
|
||||
"instance_id": "01e8e3d3-878e-4af2-9fdd-5c0085dbeb7f",
|
||||
"body": {
|
||||
"error": {
|
||||
"code": "unavailable",
|
||||
"message": "Хранилище недоступно",
|
||||
"request_id": "502d1bfd-7338-4a02-b11f-da70d96a6aaf"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"elapsed_s": 0.8006304160226136
|
||||
},
|
||||
{
|
||||
"case": "paused PostgreSQL bounded API error and recovery",
|
||||
"status": "PASS",
|
||||
"detail": {
|
||||
"during_pause": [
|
||||
{
|
||||
"status": 503,
|
||||
"elapsed_s": 3.084492939990014,
|
||||
"request_id": "75c8f628-2e6b-48fd-8996-272a52a0f9cc",
|
||||
"instance_id": "b5916273-3714-494a-9de5-dda6dc88b2e5",
|
||||
"body": {
|
||||
"error": {
|
||||
"code": "unavailable",
|
||||
"message": "Хранилище недоступно",
|
||||
"request_id": "75c8f628-2e6b-48fd-8996-272a52a0f9cc"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"status": 503,
|
||||
"elapsed_s": 3.083705213968642,
|
||||
"request_id": "1f41f669-e5a7-4cb5-b4f4-5681f22edd55",
|
||||
"instance_id": "b5916273-3714-494a-9de5-dda6dc88b2e5",
|
||||
"body": {
|
||||
"error": {
|
||||
"code": "unavailable",
|
||||
"message": "Хранилище временно недоступно",
|
||||
"request_id": "1f41f669-e5a7-4cb5-b4f4-5681f22edd55"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"recovered_status": 200
|
||||
},
|
||||
"elapsed_s": 4.286921292019542
|
||||
},
|
||||
{
|
||||
"case": "logout cannot falsely succeed under DB lock",
|
||||
"status": "PASS",
|
||||
"detail": {
|
||||
"blocked_logout": 503,
|
||||
"retry": 204,
|
||||
"old_token": 401
|
||||
},
|
||||
"elapsed_s": 2.920123041025363
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,313 @@
|
||||
{
|
||||
"lab": 3,
|
||||
"base_url": "http://127.0.0.1:8083",
|
||||
"tests": [
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': None}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0272
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': 123}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0026
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': True}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0027
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': []}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0036
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': 'x', 'TEXT': 'y'}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0024
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'Text': 'x'}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0026
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': 'x', 'attachment_ids': None}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0039
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {'text': 'x', 'attachment_ids': {}}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0027
|
||||
},
|
||||
{
|
||||
"case": "message rejects wrong types/extra {}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0026
|
||||
},
|
||||
{
|
||||
"case": "invalid idempotency key ''",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0025
|
||||
},
|
||||
{
|
||||
"case": "invalid idempotency key 'contains space'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0024
|
||||
},
|
||||
{
|
||||
"case": "invalid idempotency key 'xxxxxxxxxxxxxxxxxxxx'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0023
|
||||
},
|
||||
{
|
||||
"case": "invalid idempotency key 'bad/key'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0025
|
||||
},
|
||||
{
|
||||
"case": "missing idempotency key",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0028
|
||||
},
|
||||
{
|
||||
"case": "malformed UTF8/JSON b'{bad'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.002
|
||||
},
|
||||
{
|
||||
"case": "malformed UTF8/JSON b'\\xff'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0017
|
||||
},
|
||||
{
|
||||
"case": "malformed UTF8/JSON b'{\"text\":\"x\"}{}'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0016
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0022
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=0",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0025
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=101",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0025
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=abc",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.052
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?limit=1&limit=2",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0029
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?cursor=",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0031
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?cursor=W10",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0029
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats?cursor=bnVsbA",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0028
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/fd2889fb-7506-4b39-af52-0cbaf333768d/messages?limit=",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0033
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/fd2889fb-7506-4b39-af52-0cbaf333768d/messages?limit=0",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0027
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/fd2889fb-7506-4b39-af52-0cbaf333768d/messages?limit=101",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0027
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/fd2889fb-7506-4b39-af52-0cbaf333768d/messages?limit=abc",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0023
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/fd2889fb-7506-4b39-af52-0cbaf333768d/messages?limit=1&limit=2",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0028
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/fd2889fb-7506-4b39-af52-0cbaf333768d/messages?cursor=",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0022
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/fd2889fb-7506-4b39-af52-0cbaf333768d/messages?cursor=W10",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0018
|
||||
},
|
||||
{
|
||||
"case": "pagination /api/v1/chats/fd2889fb-7506-4b39-af52-0cbaf333768d/messages?cursor=bnVsbA",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (2, None)",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0034
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (2, 1)",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0031
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (2, '2026-13-01T00:00:00Z')",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0025
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (3, False)",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0035
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (3, [])",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0035
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (3, {})",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0033
|
||||
},
|
||||
{
|
||||
"case": "typed cursor (3, 'not-a-uuid')",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0034
|
||||
},
|
||||
{
|
||||
"case": "invalid UUID path",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0029
|
||||
},
|
||||
{
|
||||
"case": "member UUID []",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0029
|
||||
},
|
||||
{
|
||||
"case": "member UUID {}",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0031
|
||||
},
|
||||
{
|
||||
"case": "member UUID 123",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.003
|
||||
},
|
||||
{
|
||||
"case": "member UUID False",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0028
|
||||
},
|
||||
{
|
||||
"case": "unknown member400",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0035
|
||||
},
|
||||
{
|
||||
"case": "login rejects body b'{bad'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0016
|
||||
},
|
||||
{
|
||||
"case": "login rejects body b'{}'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0525
|
||||
},
|
||||
{
|
||||
"case": "login rejects body b'null'",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0021
|
||||
},
|
||||
{
|
||||
"case": "login rejects body b' '",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0027
|
||||
},
|
||||
{
|
||||
"case": "nonASCII Bearer401",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0025
|
||||
},
|
||||
{
|
||||
"case": "username trailing whitespace",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0019
|
||||
},
|
||||
{
|
||||
"case": "username trailing whitespace",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0017
|
||||
},
|
||||
{
|
||||
"case": "blank password400",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.002
|
||||
},
|
||||
{
|
||||
"case": "UTF8 colon128 password and NUL display name",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.2074
|
||||
},
|
||||
{
|
||||
"case": "omitted attachment_ids equals [] and conflict",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0857
|
||||
},
|
||||
{
|
||||
"case": "32 concurrent same key all201 same message",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.1192
|
||||
},
|
||||
{
|
||||
"case": "key scope user and chat",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0135
|
||||
},
|
||||
{
|
||||
"case": "outsider cannot send",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0028
|
||||
},
|
||||
{
|
||||
"case": "NUL message exact post replay history",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.0105
|
||||
},
|
||||
{
|
||||
"case": "logout visible through all replicas",
|
||||
"status": "PASS",
|
||||
"elapsed_s": 0.2597
|
||||
}
|
||||
],
|
||||
"passed": 61,
|
||||
"failed": 0
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"status": 503,
|
||||
"body": {
|
||||
"error": {
|
||||
"code": "unavailable",
|
||||
"message": "No ready API",
|
||||
"request_id": "ec5c5343-c31f-4da7-be00-7f3849be9dbe"
|
||||
}
|
||||
},
|
||||
"request_id": "ec5c5343-c31f-4da7-be00-7f3849be9dbe",
|
||||
"instance_id": null,
|
||||
"recovered_existing_session": true
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
Container mtusi-vasilev-lab3-api-3 Stopping
|
||||
Container mtusi-vasilev-lab3-api-4 Stopping
|
||||
Container mtusi-vasilev-lab3-api-4 Stopped
|
||||
Container mtusi-vasilev-lab3-api-3 Stopped
|
||||
Container mtusi-vasilev-lab3-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab3-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Starting
|
||||
Container mtusi-vasilev-lab3-migrate-1 Started
|
||||
Container mtusi-vasilev-lab3-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab3-api-4 Starting
|
||||
Container mtusi-vasilev-lab3-api-4 Started
|
||||
Container mtusi-vasilev-lab3-api-3 Starting
|
||||
Container mtusi-vasilev-lab3-api-3 Started
|
||||
{
|
||||
"status": 503,
|
||||
"body": {
|
||||
"error": {
|
||||
"code": "unavailable",
|
||||
"message": "No ready API",
|
||||
"request_id": "ec5c5343-c31f-4da7-be00-7f3849be9dbe"
|
||||
}
|
||||
},
|
||||
"request_id": "ec5c5343-c31f-4da7-be00-7f3849be9dbe",
|
||||
"instance_id": null,
|
||||
"recovered_existing_session": true
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://127.0.0.1:8083"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"target": "be9077fda25a10358650f9e60386e75b6cf8eb834756848ac73426a8c5e6cb44",
|
||||
"failed_instance": "3a2b912b-b9d3-4884-b5a3-ef1ad50f3c66",
|
||||
"direct_readiness": 503,
|
||||
"seconds_until_verification": 7.425393832963891,
|
||||
"lb_successful_requests": 30,
|
||||
"lb_instances": [
|
||||
"8df6f4db-808e-4d97-b341-0729fad5b95e"
|
||||
],
|
||||
"recovered_two_instances": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"target": "be9077fda25a10358650f9e60386e75b6cf8eb834756848ac73426a8c5e6cb44",
|
||||
"failed_instance": "3a2b912b-b9d3-4884-b5a3-ef1ad50f3c66",
|
||||
"direct_readiness": 503,
|
||||
"seconds_until_verification": 7.425393832963891,
|
||||
"lb_successful_requests": 30,
|
||||
"lb_instances": [
|
||||
"8df6f4db-808e-4d97-b341-0729fad5b95e"
|
||||
],
|
||||
"recovered_two_instances": true
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"real_instances_before": {
|
||||
"607ae394e5d53a440ea76c2dfed0b2df0096a50a1a628e18322fdc1a7d44057b": "b5916273-3714-494a-9de5-dda6dc88b2e5",
|
||||
"050f8e6d2c4c62fcbfd5be06a398d25a50b00a20abc06fb44212a7d96bc4d130": "fde77ccb-f644-4f3d-8bdc-9374f3537e63"
|
||||
},
|
||||
"runs": [
|
||||
{
|
||||
"target_container": "607ae394e5d53a440ea76c2dfed0b2df0096a50a1a628e18322fdc1a7d44057b",
|
||||
"target_alias": "b5916273-3714-494a-9de5-dda6dc88b2e5",
|
||||
"successful_writes": 1419,
|
||||
"failed_attempts": 83,
|
||||
"successful_rps": 240.92887504635945,
|
||||
"recovery_seconds": 0.0023248750367201865,
|
||||
"observed_after": [
|
||||
"fde77ccb-f644-4f3d-8bdc-9374f3537e63"
|
||||
],
|
||||
"target_running_after_hook": false,
|
||||
"all_confirmed_present": true
|
||||
},
|
||||
{
|
||||
"target_container": "050f8e6d2c4c62fcbfd5be06a398d25a50b00a20abc06fb44212a7d96bc4d130",
|
||||
"target_alias": "fde77ccb-f644-4f3d-8bdc-9374f3537e63",
|
||||
"successful_writes": 1472,
|
||||
"failed_attempts": 62,
|
||||
"successful_rps": 231.41351169464048,
|
||||
"recovery_seconds": 0.0026418750057928264,
|
||||
"observed_after": [
|
||||
"fdf23b82-08f3-4a92-a03f-d5f1cab7cfef"
|
||||
],
|
||||
"target_running_after_hook": false,
|
||||
"all_confirmed_present": true
|
||||
}
|
||||
],
|
||||
"pass": true
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
Container mtusi-vasilev-lab3-api-1 Running
|
||||
Container mtusi-vasilev-lab3-lb-1 Running
|
||||
Container mtusi-vasilev-lab3-postgres-1 Running
|
||||
Container mtusi-vasilev-lab3-cache-1 Running
|
||||
Container mtusi-vasilev-lab3-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab3-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Starting
|
||||
Container mtusi-vasilev-lab3-migrate-1 Started
|
||||
Container mtusi-vasilev-lab3-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab3-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab3-api-2 Starting
|
||||
Container mtusi-vasilev-lab3-api-2 Started
|
||||
Container mtusi-vasilev-lab3-api-1 Waiting
|
||||
Container mtusi-vasilev-lab3-api-2 Waiting
|
||||
Container mtusi-vasilev-lab3-api-1 Healthy
|
||||
Container mtusi-vasilev-lab3-api-2 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab3-api-1 Waiting
|
||||
Container mtusi-vasilev-lab3-api-2 Waiting
|
||||
Container mtusi-vasilev-lab3-lb-1 Waiting
|
||||
Container mtusi-vasilev-lab3-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab3-lb-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab3-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab3-api-1 Healthy
|
||||
Container mtusi-vasilev-lab3-api-2 Healthy
|
||||
{"stopped_container": "607ae394e5d53a440ea76c2dfed0b2df0096a50a1a628e18322fdc1a7d44057b", "instance_id": "b5916273-3714-494a-9de5-dda6dc88b2e5"}
|
||||
{"stopped_container": "050f8e6d2c4c62fcbfd5be06a398d25a50b00a20abc06fb44212a7d96bc4d130", "instance_id": "fde77ccb-f644-4f3d-8bdc-9374f3537e63"}
|
||||
{
|
||||
"real_instances_before": {
|
||||
"607ae394e5d53a440ea76c2dfed0b2df0096a50a1a628e18322fdc1a7d44057b": "b5916273-3714-494a-9de5-dda6dc88b2e5",
|
||||
"050f8e6d2c4c62fcbfd5be06a398d25a50b00a20abc06fb44212a7d96bc4d130": "fde77ccb-f644-4f3d-8bdc-9374f3537e63"
|
||||
},
|
||||
"runs": [
|
||||
{
|
||||
"target_container": "607ae394e5d53a440ea76c2dfed0b2df0096a50a1a628e18322fdc1a7d44057b",
|
||||
"target_alias": "b5916273-3714-494a-9de5-dda6dc88b2e5",
|
||||
"successful_writes": 1419,
|
||||
"failed_attempts": 83,
|
||||
"successful_rps": 240.92887504635945,
|
||||
"recovery_seconds": 0.0023248750367201865,
|
||||
"observed_after": [
|
||||
"fde77ccb-f644-4f3d-8bdc-9374f3537e63"
|
||||
],
|
||||
"target_running_after_hook": false,
|
||||
"all_confirmed_present": true
|
||||
},
|
||||
{
|
||||
"target_container": "050f8e6d2c4c62fcbfd5be06a398d25a50b00a20abc06fb44212a7d96bc4d130",
|
||||
"target_alias": "fde77ccb-f644-4f3d-8bdc-9374f3537e63",
|
||||
"successful_writes": 1472,
|
||||
"failed_attempts": 62,
|
||||
"successful_rps": 231.41351169464048,
|
||||
"recovery_seconds": 0.0026418750057928264,
|
||||
"observed_after": [
|
||||
"fdf23b82-08f3-4a92-a03f-d5f1cab7cfef"
|
||||
],
|
||||
"target_running_after_hook": false,
|
||||
"all_confirmed_present": true
|
||||
}
|
||||
],
|
||||
"pass": true
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"executed_before_formatting": {
|
||||
"research/run.py": "aba9205e2dc9847b13711019848b5b65d57a1c0840190aff6cfeee1708fc972d",
|
||||
"research/load.py": "5bea62916f9d701b8dbe10c44bfae9bea0ea67789862f408593f43b91634143a"
|
||||
},
|
||||
"committed_after_formatting": {
|
||||
"research/run.py": "6db58307302ba83576501c7761d9e8c08ff183cd1517b2ecb19c9b2dee46d778",
|
||||
"research/load.py": "63857926d91c1c52a5ef19cbfc2a5a8c50df701e53386eacd55cd36dbe59bc77"
|
||||
},
|
||||
"note": "ruff format changed only source layout during measurement; no runtime container or benchmark behavior was changed."
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
[
|
||||
{
|
||||
"id": "28cfd13a04e9cb7efc426277afa1d51f297898b266ff14d25de06d4e4047059c",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"started_at": "2026-11-06T15:14:19.739138675Z",
|
||||
"cpu_quota": 500000000,
|
||||
"memory": 268435456
|
||||
},
|
||||
{
|
||||
"id": "c07b53a5cb711745f634d4feb044e197e46923210e87d8d29a49a9736453d909",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"started_at": "2026-11-06T15:14:19.753008862Z",
|
||||
"cpu_quota": 500000000,
|
||||
"memory": 268435456
|
||||
},
|
||||
{
|
||||
"id": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"service": "cache",
|
||||
"image_id": "sha256:d827e7f7552cdee40cc7482dbae9da020f42bc47669af6f71182a4ef76a22773",
|
||||
"started_at": "2026-11-06T15:14:19.460690889Z",
|
||||
"cpu_quota": 500000000,
|
||||
"memory": 134217728
|
||||
},
|
||||
{
|
||||
"id": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:96ec3c75a9264ba94e733eeacb44051ed6e7b79bb77a73c2c36f236b6423f1f0",
|
||||
"started_at": "2026-11-06T15:14:19.430244988Z",
|
||||
"cpu_quota": 500000000,
|
||||
"memory": 134217728
|
||||
},
|
||||
{
|
||||
"id": "d72d342a99b838fc75686476cc1b0c5b2efe5b9ff002a3e12a3234d4adb4c613",
|
||||
"service": "postgres",
|
||||
"image_id": "sha256:742f40ea20b9ff2ff31db5458d127452988a2164df9e17441e191f3b72252193",
|
||||
"started_at": "2026-11-06T15:14:19.445218459Z",
|
||||
"cpu_quota": 1000000000,
|
||||
"memory": 805306368
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,42 @@
|
||||
[
|
||||
{
|
||||
"id": "28cfd13a04e9cb7efc426277afa1d51f297898b266ff14d25de06d4e4047059c",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"started_at": "2026-11-06T15:13:08.172211608Z",
|
||||
"cpu_quota": 500000000,
|
||||
"memory": 268435456
|
||||
},
|
||||
{
|
||||
"id": "c07b53a5cb711745f634d4feb044e197e46923210e87d8d29a49a9736453d909",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"started_at": "2026-11-06T15:13:08.077176252Z",
|
||||
"cpu_quota": 500000000,
|
||||
"memory": 268435456
|
||||
},
|
||||
{
|
||||
"id": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"service": "cache",
|
||||
"image_id": "sha256:d827e7f7552cdee40cc7482dbae9da020f42bc47669af6f71182a4ef76a22773",
|
||||
"started_at": "2026-11-06T14:55:08.17509564Z",
|
||||
"cpu_quota": 500000000,
|
||||
"memory": 134217728
|
||||
},
|
||||
{
|
||||
"id": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:96ec3c75a9264ba94e733eeacb44051ed6e7b79bb77a73c2c36f236b6423f1f0",
|
||||
"started_at": "2026-11-06T15:13:01.454797957Z",
|
||||
"cpu_quota": 500000000,
|
||||
"memory": 134217728
|
||||
},
|
||||
{
|
||||
"id": "d72d342a99b838fc75686476cc1b0c5b2efe5b9ff002a3e12a3234d4adb4c613",
|
||||
"service": "postgres",
|
||||
"image_id": "sha256:742f40ea20b9ff2ff31db5458d127452988a2164df9e17441e191f3b72252193",
|
||||
"started_at": "2026-11-06T15:12:21.564759223Z",
|
||||
"cpu_quota": 1000000000,
|
||||
"memory": 805306368
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"before": [
|
||||
{
|
||||
"id": "28cfd13a04e9cb7efc426277afa1d51f297898b266ff14d25de06d4e4047059c",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"started_at": "2026-11-06T15:14:19.739138675Z"
|
||||
},
|
||||
{
|
||||
"id": "c07b53a5cb711745f634d4feb044e197e46923210e87d8d29a49a9736453d909",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"started_at": "2026-11-06T15:14:19.753008862Z"
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"id": "913f0e142dc7441c27cdb712499cd492ba92043e9e4a5e0be54a65b2fee72f28",
|
||||
"image_id": "sha256:c2052979740ef0b96efd01ac24394ce61b09ae24dd7dcdffa69d6829c6053b71",
|
||||
"started_at": "2026-11-06T15:14:29.20515981Z"
|
||||
},
|
||||
{
|
||||
"id": "184c4778883ed8e10bcbec05b69b2756b701bd6dd3976572d57e49255b806556",
|
||||
"image_id": "sha256:c2052979740ef0b96efd01ac24394ce61b09ae24dd7dcdffa69d6829c6053b71",
|
||||
"started_at": "2026-11-06T15:14:35.879897946Z"
|
||||
}
|
||||
],
|
||||
"successful_writes": 3558,
|
||||
"failed_attempts": 257,
|
||||
"elapsed_seconds": 16.29884020803729,
|
||||
"successful_rps": 218.29774110218455,
|
||||
"observed_instances": [
|
||||
"1ef45a61-bbe0-4bd9-904f-5bbd88593528",
|
||||
"38f843bc-29a0-4544-aab6-edf2326f9ad9",
|
||||
"5250815b-8d6a-435e-a200-d63dc46c0c51",
|
||||
"cdb74aa3-b7d5-4e85-9152-70e9afa13c29"
|
||||
],
|
||||
"largest_success_gap_seconds": 1.0128310000291094,
|
||||
"all_confirmed_present": true,
|
||||
"note": "Target image differs by revision label; same API/schema. This verifies sequential replacement, not arbitrary schema compatibility."
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
#0 building with "colima" instance using docker driver
|
||||
|
||||
#1 [internal] load build definition from Dockerfile
|
||||
#1 transferring dockerfile: 102B done
|
||||
#1 DONE 0.0s
|
||||
|
||||
#2 [internal] load metadata for docker.io/library/mtusi-vasilev:lab3
|
||||
#2 DONE 0.0s
|
||||
|
||||
#3 [internal] load .dockerignore
|
||||
#3 transferring context: 2B done
|
||||
#3 DONE 0.0s
|
||||
|
||||
#4 [1/1] FROM docker.io/library/mtusi-vasilev:lab3@sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868
|
||||
#4 resolve docker.io/library/mtusi-vasilev:lab3@sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868 done
|
||||
#4 CACHED
|
||||
|
||||
#5 exporting to image
|
||||
#5 exporting layers done
|
||||
#5 exporting manifest sha256:b40d4ac1452a5dc13cceaf50a551c9bc40bbc302dc1c3fe83e66afa0c55cf172 done
|
||||
#5 exporting config sha256:123f1da685332b5c9d2a569f1934bf65b12007f1bacfb6fa92aaca33ddd6361d done
|
||||
#5 exporting attestation manifest sha256:e457177f482340b3b7dbd0293bc41aa8b4b49505d8cbc9665e97de4d8c58edf6 done
|
||||
#5 exporting manifest list sha256:c2052979740ef0b96efd01ac24394ce61b09ae24dd7dcdffa69d6829c6053b71 done
|
||||
#5 naming to docker.io/library/mtusi-vasilev:lab3-rolling done
|
||||
#5 unpacking to docker.io/library/mtusi-vasilev:lab3-rolling done
|
||||
#5 DONE 0.0s
|
||||
Container mtusi-vasilev-lab3-api-4 Running
|
||||
Container mtusi-vasilev-lab3-api-5 Creating
|
||||
Container mtusi-vasilev-lab3-api-5 Created
|
||||
Container mtusi-vasilev-lab3-api-5 Starting
|
||||
Container mtusi-vasilev-lab3-api-5 Started
|
||||
Container mtusi-vasilev-lab3-api-5 Waiting
|
||||
Container mtusi-vasilev-lab3-api-4 Waiting
|
||||
Container mtusi-vasilev-lab3-api-5 Healthy
|
||||
Container mtusi-vasilev-lab3-api-4 Healthy
|
||||
Container mtusi-vasilev-lab3-api-5 Running
|
||||
Container mtusi-vasilev-lab3-api-6 Creating
|
||||
Container mtusi-vasilev-lab3-api-6 Created
|
||||
Container mtusi-vasilev-lab3-api-6 Starting
|
||||
Container mtusi-vasilev-lab3-api-6 Started
|
||||
Container mtusi-vasilev-lab3-api-6 Waiting
|
||||
Container mtusi-vasilev-lab3-api-5 Waiting
|
||||
Container mtusi-vasilev-lab3-api-6 Healthy
|
||||
Container mtusi-vasilev-lab3-api-5 Healthy
|
||||
{
|
||||
"before": [
|
||||
{
|
||||
"id": "28cfd13a04e9cb7efc426277afa1d51f297898b266ff14d25de06d4e4047059c",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"started_at": "2026-11-06T15:14:19.739138675Z"
|
||||
},
|
||||
{
|
||||
"id": "c07b53a5cb711745f634d4feb044e197e46923210e87d8d29a49a9736453d909",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"started_at": "2026-11-06T15:14:19.753008862Z"
|
||||
}
|
||||
],
|
||||
"after": [
|
||||
{
|
||||
"id": "913f0e142dc7441c27cdb712499cd492ba92043e9e4a5e0be54a65b2fee72f28",
|
||||
"image_id": "sha256:c2052979740ef0b96efd01ac24394ce61b09ae24dd7dcdffa69d6829c6053b71",
|
||||
"started_at": "2026-11-06T15:14:29.20515981Z"
|
||||
},
|
||||
{
|
||||
"id": "184c4778883ed8e10bcbec05b69b2756b701bd6dd3976572d57e49255b806556",
|
||||
"image_id": "sha256:c2052979740ef0b96efd01ac24394ce61b09ae24dd7dcdffa69d6829c6053b71",
|
||||
"started_at": "2026-11-06T15:14:35.879897946Z"
|
||||
}
|
||||
],
|
||||
"successful_writes": 3558,
|
||||
"failed_attempts": 257,
|
||||
"elapsed_seconds": 16.29884020803729,
|
||||
"successful_rps": 218.29774110218455,
|
||||
"observed_instances": [
|
||||
"1ef45a61-bbe0-4bd9-904f-5bbd88593528",
|
||||
"38f843bc-29a0-4544-aab6-edf2326f9ad9",
|
||||
"5250815b-8d6a-435e-a200-d63dc46c0c51",
|
||||
"cdb74aa3-b7d5-4e85-9152-70e9afa13c29"
|
||||
],
|
||||
"largest_success_gap_seconds": 1.0128310000291094,
|
||||
"all_confirmed_present": true,
|
||||
"note": "Target image differs by revision label; same API/schema. This verifies sequential replacement, not arbitrary schema compatibility."
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 102 KiB |
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 86 KiB |
@@ -0,0 +1,338 @@
|
||||
[
|
||||
{
|
||||
"configuration": "fixed-1",
|
||||
"offered_rate": 100,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 100.061,
|
||||
"median_p95_ms": 8.597,
|
||||
"total_successful": 1800,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.08843281826729238,
|
||||
"total_scheduled": 1800,
|
||||
"median_db_cpu_percent": 10.12,
|
||||
"median_api_cpu_percent_sum": 31.896666666666665,
|
||||
"max_api_memory_mib_sum": 92.3
|
||||
},
|
||||
{
|
||||
"configuration": "fixed-1",
|
||||
"offered_rate": 400,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 399.73,
|
||||
"median_p95_ms": 98.167,
|
||||
"total_successful": 7200,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.2029229202321888,
|
||||
"total_scheduled": 7200,
|
||||
"median_db_cpu_percent": 16.189999999999998,
|
||||
"median_api_cpu_percent_sum": 50.83333333333333,
|
||||
"max_api_memory_mib_sum": 103.3
|
||||
},
|
||||
{
|
||||
"configuration": "fixed-1",
|
||||
"offered_rate": 900,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 391.81,
|
||||
"median_p95_ms": 412.474,
|
||||
"total_successful": 7324,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 8876,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.20232546694036863,
|
||||
"total_scheduled": 16200,
|
||||
"median_db_cpu_percent": 19.99,
|
||||
"median_api_cpu_percent_sum": 106.48,
|
||||
"max_api_memory_mib_sum": 96.91
|
||||
},
|
||||
{
|
||||
"configuration": "fixed-2",
|
||||
"offered_rate": 100,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 100.038,
|
||||
"median_p95_ms": 10.166,
|
||||
"total_successful": 1800,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.08871829307849742,
|
||||
"total_scheduled": 1800,
|
||||
"median_db_cpu_percent": 8.273333333333333,
|
||||
"median_api_cpu_percent_sum": 35.593333333333334,
|
||||
"max_api_memory_mib_sum": 151.79000000000002
|
||||
},
|
||||
{
|
||||
"configuration": "fixed-2",
|
||||
"offered_rate": 400,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 395.474,
|
||||
"median_p95_ms": 195.18,
|
||||
"total_successful": 7200,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.20277991022584074,
|
||||
"total_scheduled": 7200,
|
||||
"median_db_cpu_percent": 17.583333333333336,
|
||||
"median_api_cpu_percent_sum": 64.65333333333334,
|
||||
"max_api_memory_mib_sum": 158.69
|
||||
},
|
||||
{
|
||||
"configuration": "fixed-2",
|
||||
"offered_rate": 900,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 363.473,
|
||||
"median_p95_ms": 600.226,
|
||||
"total_successful": 7076,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 9124,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.1818849475837354,
|
||||
"total_scheduled": 16200,
|
||||
"median_db_cpu_percent": 17.34,
|
||||
"median_api_cpu_percent_sum": 76.5875,
|
||||
"max_api_memory_mib_sum": 159.57
|
||||
},
|
||||
{
|
||||
"configuration": "fixed-4",
|
||||
"offered_rate": 100,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 100.076,
|
||||
"median_p95_ms": 59.538,
|
||||
"total_successful": 1800,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.08237912047279333,
|
||||
"total_scheduled": 1800,
|
||||
"median_db_cpu_percent": 9.053333333333333,
|
||||
"median_api_cpu_percent_sum": 40.846666666666664,
|
||||
"max_api_memory_mib_sum": 295.64
|
||||
},
|
||||
{
|
||||
"configuration": "fixed-4",
|
||||
"offered_rate": 400,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 390.192,
|
||||
"median_p95_ms": 383.246,
|
||||
"total_successful": 7078,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 122,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.19185405633444985,
|
||||
"total_scheduled": 7200,
|
||||
"median_db_cpu_percent": 18.94,
|
||||
"median_api_cpu_percent_sum": 79.71666666666667,
|
||||
"max_api_memory_mib_sum": 286.86
|
||||
},
|
||||
{
|
||||
"configuration": "fixed-4",
|
||||
"offered_rate": 900,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 378.738,
|
||||
"median_p95_ms": 718.332,
|
||||
"total_successful": 7077,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 9123,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.18088731292292065,
|
||||
"total_scheduled": 16200,
|
||||
"median_db_cpu_percent": 15.87,
|
||||
"median_api_cpu_percent_sum": 86.33666666666667,
|
||||
"max_api_memory_mib_sum": 304.92
|
||||
},
|
||||
{
|
||||
"configuration": "growth-1",
|
||||
"offered_rate": 100,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 100.04,
|
||||
"median_p95_ms": 68.874,
|
||||
"total_successful": 1800,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.09423092680755431,
|
||||
"total_scheduled": 1800,
|
||||
"median_db_cpu_percent": 9.836666666666666,
|
||||
"median_api_cpu_percent_sum": 32.49333333333333,
|
||||
"max_api_memory_mib_sum": 78.11
|
||||
},
|
||||
{
|
||||
"configuration": "growth-1",
|
||||
"offered_rate": 400,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 167.785,
|
||||
"median_p95_ms": 1406.105,
|
||||
"total_successful": 3290,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 3910,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.10820845725487749,
|
||||
"total_scheduled": 7200,
|
||||
"median_db_cpu_percent": 10.633333333333333,
|
||||
"median_api_cpu_percent_sum": 51.35666666666667,
|
||||
"max_api_memory_mib_sum": 91.02
|
||||
},
|
||||
{
|
||||
"configuration": "growth-1",
|
||||
"offered_rate": 900,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 163.01,
|
||||
"median_p95_ms": 1500.974,
|
||||
"total_successful": 3166,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 13034,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.11270218653839223,
|
||||
"total_scheduled": 16200,
|
||||
"median_db_cpu_percent": 10.005,
|
||||
"median_api_cpu_percent_sum": 47.3475,
|
||||
"max_api_memory_mib_sum": 90.62
|
||||
},
|
||||
{
|
||||
"configuration": "growth-2",
|
||||
"offered_rate": 100,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 100.056,
|
||||
"median_p95_ms": 10.563,
|
||||
"total_successful": 1800,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.07299362032286852,
|
||||
"total_scheduled": 1800,
|
||||
"median_db_cpu_percent": 9.376666666666667,
|
||||
"median_api_cpu_percent_sum": 36.13666666666666,
|
||||
"max_api_memory_mib_sum": 160.12
|
||||
},
|
||||
{
|
||||
"configuration": "growth-2",
|
||||
"offered_rate": 400,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 399.789,
|
||||
"median_p95_ms": 183.603,
|
||||
"total_successful": 7093,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 107,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.17175096821894723,
|
||||
"total_scheduled": 7200,
|
||||
"median_db_cpu_percent": 19.95,
|
||||
"median_api_cpu_percent_sum": 73.05999999999999,
|
||||
"max_api_memory_mib_sum": 165.43
|
||||
},
|
||||
{
|
||||
"configuration": "growth-2",
|
||||
"offered_rate": 900,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 384.981,
|
||||
"median_p95_ms": 477.664,
|
||||
"total_successful": 7321,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 8879,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.18570354381517867,
|
||||
"total_scheduled": 16200,
|
||||
"median_db_cpu_percent": 20.9525,
|
||||
"median_api_cpu_percent_sum": 79.7275,
|
||||
"max_api_memory_mib_sum": 166.75
|
||||
},
|
||||
{
|
||||
"configuration": "growth-4",
|
||||
"offered_rate": 100,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 100.071,
|
||||
"median_p95_ms": 7.386,
|
||||
"total_successful": 1800,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.0794899513187198,
|
||||
"total_scheduled": 1800,
|
||||
"median_db_cpu_percent": 7.6466666666666665,
|
||||
"median_api_cpu_percent_sum": 43.79666666666667,
|
||||
"max_api_memory_mib_sum": 287.78999999999996
|
||||
},
|
||||
{
|
||||
"configuration": "growth-4",
|
||||
"offered_rate": 400,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 399.843,
|
||||
"median_p95_ms": 18.634,
|
||||
"total_successful": 7200,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.19108340412160874,
|
||||
"total_scheduled": 7200,
|
||||
"median_db_cpu_percent": 18.136666666666667,
|
||||
"median_api_cpu_percent_sum": 86.13000000000001,
|
||||
"max_api_memory_mib_sum": 319.14
|
||||
},
|
||||
{
|
||||
"configuration": "growth-4",
|
||||
"offered_rate": 900,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 442.326,
|
||||
"median_p95_ms": 621.578,
|
||||
"total_successful": 8053,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 8147,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.20250008266902153,
|
||||
"total_scheduled": 16200,
|
||||
"median_db_cpu_percent": 25.053333333333335,
|
||||
"median_api_cpu_percent_sum": 107.07666666666667,
|
||||
"max_api_memory_mib_sum": 317.97999999999996
|
||||
},
|
||||
{
|
||||
"configuration": "db-improved",
|
||||
"offered_rate": 100,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 100.064,
|
||||
"median_p95_ms": 7.358,
|
||||
"total_successful": 1800,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.08305383954688951,
|
||||
"total_scheduled": 1800,
|
||||
"median_db_cpu_percent": 9.74,
|
||||
"median_api_cpu_percent_sum": 44.056666666666665,
|
||||
"max_api_memory_mib_sum": 313.15000000000003
|
||||
},
|
||||
{
|
||||
"configuration": "db-improved",
|
||||
"offered_rate": 400,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 399.815,
|
||||
"median_p95_ms": 5.889,
|
||||
"total_successful": 7200,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 0,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.17013195582514973,
|
||||
"total_scheduled": 7200,
|
||||
"median_db_cpu_percent": 17.783333333333335,
|
||||
"median_api_cpu_percent_sum": 76.28999999999999,
|
||||
"max_api_memory_mib_sum": 318.8
|
||||
},
|
||||
{
|
||||
"configuration": "db-improved",
|
||||
"offered_rate": 900,
|
||||
"repeats": 3,
|
||||
"median_successful_rps": 881.057,
|
||||
"median_p95_ms": 223.691,
|
||||
"total_successful": 15902,
|
||||
"total_errors": 0,
|
||||
"total_dropped": 298,
|
||||
"total_scheduler_dropped": 0,
|
||||
"max_driver_cpu_fraction": 0.31538257716045937,
|
||||
"total_scheduled": 16200,
|
||||
"median_db_cpu_percent": 42.86333333333333,
|
||||
"median_api_cpu_percent_sum": 179.64666666666668,
|
||||
"max_api_memory_mib_sum": 316.5
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,27 @@
|
||||
# Scaling results
|
||||
|
||||
CPU%: 100% means one logical CPU. Memory is summed Docker MemUsage, not heap RSS.
|
||||
|
||||
|Configuration|Offered/s|Success/s median|p95 ms median|Errors total|Dropped total|DB CPU% median|API CPU% sum median|API peak MiB sum|
|
||||
|---|---:|---:|---:|---:|---:|---:|---:|---:|
|
||||
|fixed-1|100|100.06|8.60|0|0|10.12|31.90|92.30|
|
||||
|fixed-1|400|399.73|98.17|0|0|16.19|50.83|103.30|
|
||||
|fixed-1|900|391.81|412.47|0|8876|19.99|106.48|96.91|
|
||||
|fixed-2|100|100.04|10.17|0|0|8.27|35.59|151.79|
|
||||
|fixed-2|400|395.47|195.18|0|0|17.58|64.65|158.69|
|
||||
|fixed-2|900|363.47|600.23|0|9124|17.34|76.59|159.57|
|
||||
|fixed-4|100|100.08|59.54|0|0|9.05|40.85|295.64|
|
||||
|fixed-4|400|390.19|383.25|0|122|18.94|79.72|286.86|
|
||||
|fixed-4|900|378.74|718.33|0|9123|15.87|86.34|304.92|
|
||||
|growth-1|100|100.04|68.87|0|0|9.84|32.49|78.11|
|
||||
|growth-1|400|167.78|1406.11|0|3910|10.63|51.36|91.02|
|
||||
|growth-1|900|163.01|1500.97|0|13034|10.01|47.35|90.62|
|
||||
|growth-2|100|100.06|10.56|0|0|9.38|36.14|160.12|
|
||||
|growth-2|400|399.79|183.60|0|107|19.95|73.06|165.43|
|
||||
|growth-2|900|384.98|477.66|0|8879|20.95|79.73|166.75|
|
||||
|growth-4|100|100.07|7.39|0|0|7.65|43.80|287.79|
|
||||
|growth-4|400|399.84|18.63|0|0|18.14|86.13|319.14|
|
||||
|growth-4|900|442.33|621.58|0|8147|25.05|107.08|317.98|
|
||||
|db-improved|100|100.06|7.36|0|0|9.74|44.06|313.15|
|
||||
|db-improved|400|399.81|5.89|0|0|17.78|76.29|318.80|
|
||||
|db-improved|900|881.06|223.69|0|298|42.86|179.65|316.50|
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 90 KiB |
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"profile": "open-loop unique POST messages, no automatic retries",
|
||||
"offered_rate": 600,
|
||||
"requested_duration_seconds": 6.0,
|
||||
"elapsed_including_drain_seconds": 6.1991,
|
||||
"scheduled": 3600,
|
||||
"attempted": 2624,
|
||||
"successful": 2624,
|
||||
"errors": {},
|
||||
"dropped": 976,
|
||||
"dropped_scheduler": 0,
|
||||
"dropped_concurrency": 976,
|
||||
"driver_cpu_seconds": 1.237524,
|
||||
"driver_cpu_fraction_one_core": 0.19963119577564414,
|
||||
"successful_rps": 423.29,
|
||||
"attempted_rps": 423.29,
|
||||
"latency_success_ms": {
|
||||
"p50": 280.202,
|
||||
"p95": 396.953,
|
||||
"p99": 483.614
|
||||
},
|
||||
"max_schedule_lag_ms": 4.839,
|
||||
"instances": {
|
||||
"02ae80f9-f61b-4964-ab16-b836523904d3": 1313,
|
||||
"52e57fca-356b-4ffc-8446-60f6e871d1c8": 1311
|
||||
},
|
||||
"concurrency_cap": 128
|
||||
}
|
||||
@@ -0,0 +1,856 @@
|
||||
[
|
||||
{
|
||||
"profile": "open-loop unique POST messages, no automatic retries",
|
||||
"offered_rate": 900,
|
||||
"requested_duration_seconds": 8,
|
||||
"elapsed_including_drain_seconds": 8.2727,
|
||||
"scheduled": 7200,
|
||||
"attempted": 3148,
|
||||
"successful": 3145,
|
||||
"errors": {
|
||||
"503": 3
|
||||
},
|
||||
"dropped": 4052,
|
||||
"dropped_scheduler": 0,
|
||||
"dropped_concurrency": 4052,
|
||||
"driver_cpu_seconds": 1.437157,
|
||||
"driver_cpu_fraction_one_core": 0.17372256610626258,
|
||||
"successful_rps": 380.165,
|
||||
"attempted_rps": 380.527,
|
||||
"latency_success_ms": {
|
||||
"p50": 282.476,
|
||||
"p95": 676.027,
|
||||
"p99": 1311.087
|
||||
},
|
||||
"max_schedule_lag_ms": 7.118,
|
||||
"instances": {
|
||||
"c0034232-3cda-4d6e-a3bf-7e649636f924": 787,
|
||||
"b5395b66-8f7c-4f58-bb34-a04b9ad100d0": 786,
|
||||
"ff56195f-409f-464a-a76b-7c01f9e08ad1": 784,
|
||||
"4236ea3c-10a3-4d07-bf15-1cc5c719fb42": 788
|
||||
},
|
||||
"concurrency_cap": 128,
|
||||
"pg_cpu": 0.25,
|
||||
"actual_containers": [
|
||||
{
|
||||
"id": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"image": "mtusi-vasilev:lab3",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"started_at": "2026-11-06T15:03:04.540123598Z"
|
||||
},
|
||||
{
|
||||
"id": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"image": "mtusi-vasilev:lab3",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"started_at": "2026-11-06T15:03:04.446553121Z"
|
||||
},
|
||||
{
|
||||
"id": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"image": "mtusi-vasilev:lab3",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"started_at": "2026-11-06T15:03:04.612162729Z"
|
||||
},
|
||||
{
|
||||
"id": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"image": "mtusi-vasilev:lab3",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"started_at": "2026-11-06T15:03:04.698668707Z"
|
||||
},
|
||||
{
|
||||
"id": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"service": "cache",
|
||||
"image_id": "sha256:d827e7f7552cdee40cc7482dbae9da020f42bc47669af6f71182a4ef76a22773",
|
||||
"image": "valkey/valkey:8.1.3-alpine",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 134217728,
|
||||
"started_at": "2026-11-06T14:55:08.17509564Z"
|
||||
},
|
||||
{
|
||||
"id": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:96ec3c75a9264ba94e733eeacb44051ed6e7b79bb77a73c2c36f236b6423f1f0",
|
||||
"image": "haproxy:3.2-alpine@sha256:96ec3c75a9264ba94e733eeacb44051ed6e7b79bb77a73c2c36f236b6423f1f0",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 134217728,
|
||||
"started_at": "2026-11-06T14:55:17.600378891Z"
|
||||
},
|
||||
{
|
||||
"id": "7f9fa5c30fc5026ff6329df8987f2d853d16f99c1dcbac0339f1909e227e8d6a",
|
||||
"service": "postgres",
|
||||
"image_id": "sha256:742f40ea20b9ff2ff31db5458d127452988a2164df9e17441e191f3b72252193",
|
||||
"image": "postgres:17.10-alpine",
|
||||
"nano_cpus": 250000000,
|
||||
"memory_bytes": 805306368,
|
||||
"started_at": "2026-11-06T15:01:12.408070528Z"
|
||||
}
|
||||
],
|
||||
"resource_samples": [
|
||||
{
|
||||
"monotonic": 455452.363337958,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "28.83%",
|
||||
"Container": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"ID": "7b230a73710c",
|
||||
"MemPerc": "23.58%",
|
||||
"MemUsage": "60.37MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-3",
|
||||
"NetIO": "301kB / 322kB",
|
||||
"PIDs": "41"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "26.55%",
|
||||
"Container": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"ID": "466a9c57a700",
|
||||
"MemPerc": "23.37%",
|
||||
"MemUsage": "59.83MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-4",
|
||||
"NetIO": "257kB / 267kB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "27.54%",
|
||||
"Container": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"ID": "6295c582c2a0",
|
||||
"MemPerc": "22.90%",
|
||||
"MemUsage": "58.64MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-5",
|
||||
"NetIO": "326kB / 361kB",
|
||||
"PIDs": "35"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "27.22%",
|
||||
"Container": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"ID": "1b9796815fe3",
|
||||
"MemPerc": "23.60%",
|
||||
"MemUsage": "60.43MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-6",
|
||||
"NetIO": "277kB / 289kB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "1.18%",
|
||||
"Container": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"ID": "70f74d15b87a",
|
||||
"MemPerc": "2.61%",
|
||||
"MemUsage": "3.34MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-cache-1",
|
||||
"NetIO": "1.24MB / 2.35MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "3.62%",
|
||||
"Container": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"ID": "b22fb4be1076",
|
||||
"MemPerc": "10.30%",
|
||||
"MemUsage": "13.18MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-lb-1",
|
||||
"NetIO": "13MB / 13.5MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 618kB",
|
||||
"CPUPerc": "27.21%",
|
||||
"Container": "7f9fa5c30fc5026ff6329df8987f2d853d16f99c1dcbac0339f1909e227e8d6a",
|
||||
"ID": "7f9fa5c30fc5",
|
||||
"MemPerc": "11.29%",
|
||||
"MemUsage": "86.69MiB / 768MiB",
|
||||
"Name": "mtusi-vasilev-lab3-postgres-1",
|
||||
"NetIO": "9.26MB / 7.37MB",
|
||||
"PIDs": "35"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"monotonic": 455454.376392708,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "25.48%",
|
||||
"Container": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"ID": "7b230a73710c",
|
||||
"MemPerc": "24.00%",
|
||||
"MemUsage": "61.43MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-3",
|
||||
"NetIO": "952kB / 1MB",
|
||||
"PIDs": "41"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "24.75%",
|
||||
"Container": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"ID": "466a9c57a700",
|
||||
"MemPerc": "24.01%",
|
||||
"MemUsage": "61.46MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-4",
|
||||
"NetIO": "894kB / 925kB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "23.87%",
|
||||
"Container": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"ID": "6295c582c2a0",
|
||||
"MemPerc": "23.35%",
|
||||
"MemUsage": "59.78MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-5",
|
||||
"NetIO": "973kB / 1.04MB",
|
||||
"PIDs": "35"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "25.39%",
|
||||
"Container": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"ID": "1b9796815fe3",
|
||||
"MemPerc": "24.16%",
|
||||
"MemUsage": "61.86MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-6",
|
||||
"NetIO": "920kB / 960kB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "1.46%",
|
||||
"Container": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"ID": "70f74d15b87a",
|
||||
"MemPerc": "2.61%",
|
||||
"MemUsage": "3.34MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-cache-1",
|
||||
"NetIO": "1.38MB / 2.58MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "5.92%",
|
||||
"Container": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"ID": "b22fb4be1076",
|
||||
"MemPerc": "10.31%",
|
||||
"MemUsage": "13.19MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-lb-1",
|
||||
"NetIO": "14MB / 14.7MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 618kB",
|
||||
"CPUPerc": "25.37%",
|
||||
"Container": "7f9fa5c30fc5026ff6329df8987f2d853d16f99c1dcbac0339f1909e227e8d6a",
|
||||
"ID": "7f9fa5c30fc5",
|
||||
"MemPerc": "13.54%",
|
||||
"MemUsage": "104MiB / 768MiB",
|
||||
"Name": "mtusi-vasilev-lab3-postgres-1",
|
||||
"NetIO": "11.9MB / 9.57MB",
|
||||
"PIDs": "38"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"monotonic": 455456.391487458,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "31.86%",
|
||||
"Container": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"ID": "7b230a73710c",
|
||||
"MemPerc": "24.58%",
|
||||
"MemUsage": "62.93MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-3",
|
||||
"NetIO": "1.67MB / 1.76MB",
|
||||
"PIDs": "41"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "29.31%",
|
||||
"Container": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"ID": "466a9c57a700",
|
||||
"MemPerc": "24.98%",
|
||||
"MemUsage": "63.96MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-4",
|
||||
"NetIO": "1.58MB / 1.63MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "27.08%",
|
||||
"Container": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"ID": "6295c582c2a0",
|
||||
"MemPerc": "24.04%",
|
||||
"MemUsage": "61.55MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-5",
|
||||
"NetIO": "1.68MB / 1.78MB",
|
||||
"PIDs": "36"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "33.68%",
|
||||
"Container": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"ID": "1b9796815fe3",
|
||||
"MemPerc": "24.68%",
|
||||
"MemUsage": "63.19MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-6",
|
||||
"NetIO": "1.65MB / 1.73MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "1.60%",
|
||||
"Container": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"ID": "70f74d15b87a",
|
||||
"MemPerc": "2.63%",
|
||||
"MemUsage": "3.371MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-cache-1",
|
||||
"NetIO": "1.53MB / 2.83MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "6.42%",
|
||||
"Container": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"ID": "b22fb4be1076",
|
||||
"MemPerc": "10.31%",
|
||||
"MemUsage": "13.19MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-lb-1",
|
||||
"NetIO": "15.1MB / 16MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 618kB",
|
||||
"CPUPerc": "26.35%",
|
||||
"Container": "7f9fa5c30fc5026ff6329df8987f2d853d16f99c1dcbac0339f1909e227e8d6a",
|
||||
"ID": "7f9fa5c30fc5",
|
||||
"MemPerc": "13.64%",
|
||||
"MemUsage": "104.7MiB / 768MiB",
|
||||
"Name": "mtusi-vasilev-lab3-postgres-1",
|
||||
"NetIO": "14MB / 11.4MB",
|
||||
"PIDs": "38"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"monotonic": 455458.406224,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "23.33%",
|
||||
"Container": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"ID": "7b230a73710c",
|
||||
"MemPerc": "25.14%",
|
||||
"MemUsage": "64.35MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-3",
|
||||
"NetIO": "2.4MB / 2.53MB",
|
||||
"PIDs": "41"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "27.04%",
|
||||
"Container": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"ID": "466a9c57a700",
|
||||
"MemPerc": "25.70%",
|
||||
"MemUsage": "65.8MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-4",
|
||||
"NetIO": "2.28MB / 2.37MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "24.01%",
|
||||
"Container": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"ID": "6295c582c2a0",
|
||||
"MemPerc": "24.70%",
|
||||
"MemUsage": "63.24MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-5",
|
||||
"NetIO": "2.39MB / 2.52MB",
|
||||
"PIDs": "36"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "25.13%",
|
||||
"Container": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"ID": "1b9796815fe3",
|
||||
"MemPerc": "25.51%",
|
||||
"MemUsage": "65.31MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-6",
|
||||
"NetIO": "2.35MB / 2.45MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "1.60%",
|
||||
"Container": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"ID": "70f74d15b87a",
|
||||
"MemPerc": "2.63%",
|
||||
"MemUsage": "3.371MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-cache-1",
|
||||
"NetIO": "1.69MB / 3.09MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "5.92%",
|
||||
"Container": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"ID": "b22fb4be1076",
|
||||
"MemPerc": "10.29%",
|
||||
"MemUsage": "13.17MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-lb-1",
|
||||
"NetIO": "16.2MB / 17.3MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 618kB",
|
||||
"CPUPerc": "25.53%",
|
||||
"Container": "7f9fa5c30fc5026ff6329df8987f2d853d16f99c1dcbac0339f1909e227e8d6a",
|
||||
"ID": "7f9fa5c30fc5",
|
||||
"MemPerc": "13.75%",
|
||||
"MemUsage": "105.6MiB / 768MiB",
|
||||
"Name": "mtusi-vasilev-lab3-postgres-1",
|
||||
"NetIO": "16.1MB / 13.2MB",
|
||||
"PIDs": "38"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"profile": "open-loop unique POST messages, no automatic retries",
|
||||
"offered_rate": 900,
|
||||
"requested_duration_seconds": 8,
|
||||
"elapsed_including_drain_seconds": 8.0146,
|
||||
"scheduled": 7200,
|
||||
"attempted": 7048,
|
||||
"successful": 7048,
|
||||
"errors": {},
|
||||
"dropped": 152,
|
||||
"dropped_scheduler": 0,
|
||||
"dropped_concurrency": 152,
|
||||
"driver_cpu_seconds": 2.5354680000000003,
|
||||
"driver_cpu_fraction_one_core": 0.31635691038405095,
|
||||
"successful_rps": 879.395,
|
||||
"attempted_rps": 879.395,
|
||||
"latency_success_ms": {
|
||||
"p50": 7.316,
|
||||
"p95": 185.956,
|
||||
"p99": 250.607
|
||||
},
|
||||
"max_schedule_lag_ms": 11.95,
|
||||
"instances": {
|
||||
"ff56195f-409f-464a-a76b-7c01f9e08ad1": 1763,
|
||||
"4236ea3c-10a3-4d07-bf15-1cc5c719fb42": 1761,
|
||||
"c0034232-3cda-4d6e-a3bf-7e649636f924": 1763,
|
||||
"b5395b66-8f7c-4f58-bb34-a04b9ad100d0": 1761
|
||||
},
|
||||
"concurrency_cap": 128,
|
||||
"pg_cpu": 0.5,
|
||||
"actual_containers": [
|
||||
{
|
||||
"id": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"image": "mtusi-vasilev:lab3",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"started_at": "2026-11-06T15:03:04.540123598Z"
|
||||
},
|
||||
{
|
||||
"id": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"image": "mtusi-vasilev:lab3",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"started_at": "2026-11-06T15:03:04.446553121Z"
|
||||
},
|
||||
{
|
||||
"id": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"image": "mtusi-vasilev:lab3",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"started_at": "2026-11-06T15:03:04.612162729Z"
|
||||
},
|
||||
{
|
||||
"id": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"service": "api",
|
||||
"image_id": "sha256:063daf6c19e2f71aa3de09aabf8f242a5ce1ef9e1a06e3d5084881b3d20df868",
|
||||
"image": "mtusi-vasilev:lab3",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 268435456,
|
||||
"started_at": "2026-11-06T15:03:04.698668707Z"
|
||||
},
|
||||
{
|
||||
"id": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"service": "cache",
|
||||
"image_id": "sha256:d827e7f7552cdee40cc7482dbae9da020f42bc47669af6f71182a4ef76a22773",
|
||||
"image": "valkey/valkey:8.1.3-alpine",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 134217728,
|
||||
"started_at": "2026-11-06T14:55:08.17509564Z"
|
||||
},
|
||||
{
|
||||
"id": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"service": "lb",
|
||||
"image_id": "sha256:96ec3c75a9264ba94e733eeacb44051ed6e7b79bb77a73c2c36f236b6423f1f0",
|
||||
"image": "haproxy:3.2-alpine@sha256:96ec3c75a9264ba94e733eeacb44051ed6e7b79bb77a73c2c36f236b6423f1f0",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 134217728,
|
||||
"started_at": "2026-11-06T14:55:17.600378891Z"
|
||||
},
|
||||
{
|
||||
"id": "959bdd509fa56040952c99c14d512c8a067fce18b2faeeae241f1ecde077743f",
|
||||
"service": "postgres",
|
||||
"image_id": "sha256:742f40ea20b9ff2ff31db5458d127452988a2164df9e17441e191f3b72252193",
|
||||
"image": "postgres:17.10-alpine",
|
||||
"nano_cpus": 500000000,
|
||||
"memory_bytes": 805306368,
|
||||
"started_at": "2026-11-06T15:03:20.188186411Z"
|
||||
}
|
||||
],
|
||||
"resource_samples": [
|
||||
{
|
||||
"monotonic": 455466.379024125,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "46.98%",
|
||||
"Container": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"ID": "7b230a73710c",
|
||||
"MemPerc": "31.01%",
|
||||
"MemUsage": "79.38MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-3",
|
||||
"NetIO": "3.57MB / 3.78MB",
|
||||
"PIDs": "46"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "50.39%",
|
||||
"Container": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"ID": "466a9c57a700",
|
||||
"MemPerc": "30.17%",
|
||||
"MemUsage": "77.23MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-4",
|
||||
"NetIO": "3.66MB / 3.89MB",
|
||||
"PIDs": "46"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "52.91%",
|
||||
"Container": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"ID": "6295c582c2a0",
|
||||
"MemPerc": "30.99%",
|
||||
"MemUsage": "79.34MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-5",
|
||||
"NetIO": "3.63MB / 3.86MB",
|
||||
"PIDs": "46"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "50.81%",
|
||||
"Container": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"ID": "1b9796815fe3",
|
||||
"MemPerc": "29.24%",
|
||||
"MemUsage": "74.86MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-6",
|
||||
"NetIO": "3.68MB / 3.92MB",
|
||||
"PIDs": "46"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.30%",
|
||||
"Container": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"ID": "70f74d15b87a",
|
||||
"MemPerc": "2.63%",
|
||||
"MemUsage": "3.367MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-cache-1",
|
||||
"NetIO": "1.94MB / 3.55MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "10.12%",
|
||||
"Container": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"ID": "b22fb4be1076",
|
||||
"MemPerc": "10.29%",
|
||||
"MemUsage": "13.17MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-lb-1",
|
||||
"NetIO": "17.3MB / 18.4MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 225kB",
|
||||
"CPUPerc": "38.68%",
|
||||
"Container": "959bdd509fa56040952c99c14d512c8a067fce18b2faeeae241f1ecde077743f",
|
||||
"ID": "959bdd509fa5",
|
||||
"MemPerc": "12.32%",
|
||||
"MemUsage": "94.59MiB / 768MiB",
|
||||
"Name": "mtusi-vasilev-lab3-postgres-1",
|
||||
"NetIO": "3.91MB / 3.15MB",
|
||||
"PIDs": "38"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"monotonic": 455468.392502291,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "46.79%",
|
||||
"Container": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"ID": "7b230a73710c",
|
||||
"MemPerc": "26.08%",
|
||||
"MemUsage": "66.78MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-3",
|
||||
"NetIO": "4.99MB / 5.33MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "43.23%",
|
||||
"Container": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"ID": "466a9c57a700",
|
||||
"MemPerc": "26.09%",
|
||||
"MemUsage": "66.79MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-4",
|
||||
"NetIO": "4.98MB / 5.31MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "43.48%",
|
||||
"Container": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"ID": "6295c582c2a0",
|
||||
"MemPerc": "25.95%",
|
||||
"MemUsage": "66.42MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-5",
|
||||
"NetIO": "4.98MB / 5.32MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "43.16%",
|
||||
"Container": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"ID": "1b9796815fe3",
|
||||
"MemPerc": "26.01%",
|
||||
"MemUsage": "66.59MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-6",
|
||||
"NetIO": "4.99MB / 5.33MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.87%",
|
||||
"Container": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"ID": "70f74d15b87a",
|
||||
"MemPerc": "2.63%",
|
||||
"MemUsage": "3.371MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-cache-1",
|
||||
"NetIO": "2.2MB / 4.05MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "11.16%",
|
||||
"Container": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"ID": "b22fb4be1076",
|
||||
"MemPerc": "9.92%",
|
||||
"MemUsage": "12.69MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-lb-1",
|
||||
"NetIO": "20.6MB / 22.1MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 225kB",
|
||||
"CPUPerc": "44.61%",
|
||||
"Container": "959bdd509fa56040952c99c14d512c8a067fce18b2faeeae241f1ecde077743f",
|
||||
"ID": "959bdd509fa5",
|
||||
"MemPerc": "12.54%",
|
||||
"MemUsage": "96.34MiB / 768MiB",
|
||||
"Name": "mtusi-vasilev-lab3-postgres-1",
|
||||
"NetIO": "8.14MB / 6.61MB",
|
||||
"PIDs": "38"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"monotonic": 455470.405836208,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "50.30%",
|
||||
"Container": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"ID": "7b230a73710c",
|
||||
"MemPerc": "27.32%",
|
||||
"MemUsage": "69.93MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-3",
|
||||
"NetIO": "6.23MB / 6.65MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "49.82%",
|
||||
"Container": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"ID": "466a9c57a700",
|
||||
"MemPerc": "27.01%",
|
||||
"MemUsage": "69.15MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-4",
|
||||
"NetIO": "6.2MB / 6.6MB",
|
||||
"PIDs": "44"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "52.91%",
|
||||
"Container": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"ID": "6295c582c2a0",
|
||||
"MemPerc": "26.88%",
|
||||
"MemUsage": "68.8MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-5",
|
||||
"NetIO": "6.27MB / 6.71MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "47.40%",
|
||||
"Container": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"ID": "1b9796815fe3",
|
||||
"MemPerc": "32.01%",
|
||||
"MemUsage": "81.93MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-6",
|
||||
"NetIO": "6.23MB / 6.64MB",
|
||||
"PIDs": "46"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.19%",
|
||||
"Container": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"ID": "70f74d15b87a",
|
||||
"MemPerc": "2.64%",
|
||||
"MemUsage": "3.379MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-cache-1",
|
||||
"NetIO": "2.44MB / 4.51MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "9.61%",
|
||||
"Container": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"ID": "b22fb4be1076",
|
||||
"MemPerc": "10.51%",
|
||||
"MemUsage": "13.45MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-lb-1",
|
||||
"NetIO": "22.7MB / 24.4MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 225kB",
|
||||
"CPUPerc": "38.21%",
|
||||
"Container": "959bdd509fa56040952c99c14d512c8a067fce18b2faeeae241f1ecde077743f",
|
||||
"ID": "959bdd509fa5",
|
||||
"MemPerc": "12.77%",
|
||||
"MemUsage": "98.11MiB / 768MiB",
|
||||
"Name": "mtusi-vasilev-lab3-postgres-1",
|
||||
"NetIO": "12MB / 9.75MB",
|
||||
"PIDs": "38"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"monotonic": 455472.420390708,
|
||||
"containers": [
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "41.74%",
|
||||
"Container": "7b230a73710c5a6a2ba381d102281ebdd211c4df7ecdbe859c62796e68180848",
|
||||
"ID": "7b230a73710c",
|
||||
"MemPerc": "28.53%",
|
||||
"MemUsage": "73.04MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-3",
|
||||
"NetIO": "7.56MB / 8.08MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "38.87%",
|
||||
"Container": "466a9c57a700191613da1220099ba75caa787a64b4744611b8d09d04cd4ba5e4",
|
||||
"ID": "466a9c57a700",
|
||||
"MemPerc": "28.56%",
|
||||
"MemUsage": "73.11MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-4",
|
||||
"NetIO": "7.56MB / 8.06MB",
|
||||
"PIDs": "44"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "41.51%",
|
||||
"Container": "6295c582c2a0ca50e6fc93e17a84ed14a09919fbc46264d422fb83397b3a10fa",
|
||||
"ID": "6295c582c2a0",
|
||||
"MemPerc": "28.46%",
|
||||
"MemUsage": "72.85MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-5",
|
||||
"NetIO": "7.55MB / 8.08MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "41.91%",
|
||||
"Container": "1b9796815fe30621cdc589ea8eb741e712dd354df8931ef74f9a2ef0f1928b3e",
|
||||
"ID": "1b9796815fe3",
|
||||
"MemPerc": "28.19%",
|
||||
"MemUsage": "72.16MiB / 256MiB",
|
||||
"Name": "mtusi-vasilev-lab3-api-6",
|
||||
"NetIO": "7.56MB / 8.08MB",
|
||||
"PIDs": "45"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "2.46%",
|
||||
"Container": "70f74d15b87ae6cb1da93075b8ad97bee9e84d1520bd8c02ea78c3e6561e79e6",
|
||||
"ID": "70f74d15b87a",
|
||||
"MemPerc": "2.62%",
|
||||
"MemUsage": "3.359MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-cache-1",
|
||||
"NetIO": "2.69MB / 5MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 0B",
|
||||
"CPUPerc": "9.60%",
|
||||
"Container": "b22fb4be1076ad3b5beff1fbb0108832ee91ac7aac4cc85afab33c502cfb3d04",
|
||||
"ID": "b22fb4be1076",
|
||||
"MemPerc": "9.76%",
|
||||
"MemUsage": "12.49MiB / 128MiB",
|
||||
"Name": "mtusi-vasilev-lab3-lb-1",
|
||||
"NetIO": "25MB / 26.8MB",
|
||||
"PIDs": "5"
|
||||
},
|
||||
{
|
||||
"BlockIO": "0B / 225kB",
|
||||
"CPUPerc": "39.76%",
|
||||
"Container": "959bdd509fa56040952c99c14d512c8a067fce18b2faeeae241f1ecde077743f",
|
||||
"ID": "959bdd509fa5",
|
||||
"MemPerc": "12.91%",
|
||||
"MemUsage": "99.13MiB / 768MiB",
|
||||
"Name": "mtusi-vasilev-lab3-postgres-1",
|
||||
"NetIO": "16.1MB / 13.2MB",
|
||||
"PIDs": "38"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"profile": "open-loop unique POST messages, no automatic retries",
|
||||
"offered_rate": 300,
|
||||
"requested_duration_seconds": 6.0,
|
||||
"elapsed_including_drain_seconds": 6.123,
|
||||
"scheduled": 1800,
|
||||
"attempted": 1167,
|
||||
"successful": 1167,
|
||||
"errors": {},
|
||||
"dropped": 633,
|
||||
"successful_rps": 190.594,
|
||||
"attempted_rps": 190.594,
|
||||
"latency_success_ms": {
|
||||
"p50": 53.814,
|
||||
"p95": 240.729,
|
||||
"p99": 288.121
|
||||
},
|
||||
"max_schedule_lag_ms": 312.744,
|
||||
"instances": {
|
||||
"02ae80f9-f61b-4964-ab16-b836523904d3": 583,
|
||||
"52e57fca-356b-4ffc-8446-60f6e871d1c8": 584
|
||||
},
|
||||
"concurrency_cap": 128
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,91 @@
|
||||
Container mtusi-vasilev-lab3-cache-1 Running
|
||||
Container mtusi-vasilev-lab3-api-3 Running
|
||||
Container mtusi-vasilev-lab3-api-4 Running
|
||||
Container mtusi-vasilev-lab3-lb-1 Running
|
||||
Container mtusi-vasilev-lab3-api-6 Creating
|
||||
Container mtusi-vasilev-lab3-api-5 Creating
|
||||
Container mtusi-vasilev-lab3-postgres-1 Recreate
|
||||
Container mtusi-vasilev-lab3-api-6 Created
|
||||
Container mtusi-vasilev-lab3-api-5 Created
|
||||
Container mtusi-vasilev-lab3-postgres-1 Recreated
|
||||
Container mtusi-vasilev-lab3-postgres-1 Starting
|
||||
Container mtusi-vasilev-lab3-postgres-1 Started
|
||||
Container mtusi-vasilev-lab3-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab3-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Starting
|
||||
Container mtusi-vasilev-lab3-migrate-1 Started
|
||||
Container mtusi-vasilev-lab3-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab3-api-6 Starting
|
||||
Container mtusi-vasilev-lab3-api-6 Started
|
||||
Container mtusi-vasilev-lab3-api-5 Starting
|
||||
Container mtusi-vasilev-lab3-api-5 Started
|
||||
Container mtusi-vasilev-lab3-api-6 Waiting
|
||||
Container mtusi-vasilev-lab3-api-5 Waiting
|
||||
Container mtusi-vasilev-lab3-api-4 Waiting
|
||||
Container mtusi-vasilev-lab3-api-3 Waiting
|
||||
Container mtusi-vasilev-lab3-api-6 Healthy
|
||||
Container mtusi-vasilev-lab3-api-5 Healthy
|
||||
Container mtusi-vasilev-lab3-api-4 Healthy
|
||||
Container mtusi-vasilev-lab3-api-3 Healthy
|
||||
Container mtusi-vasilev-lab3-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab3-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab3-api-6 Waiting
|
||||
Container mtusi-vasilev-lab3-api-5 Waiting
|
||||
Container mtusi-vasilev-lab3-api-4 Waiting
|
||||
Container mtusi-vasilev-lab3-api-3 Waiting
|
||||
Container mtusi-vasilev-lab3-lb-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab3-lb-1 Healthy
|
||||
Container mtusi-vasilev-lab3-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab3-api-6 Healthy
|
||||
Container mtusi-vasilev-lab3-api-5 Healthy
|
||||
Container mtusi-vasilev-lab3-api-4 Healthy
|
||||
Container mtusi-vasilev-lab3-api-3 Healthy
|
||||
{"repeat": 1, "successful_rps": 411.104, "dropped": 2815, "errors": {"503": 5}}
|
||||
{"repeat": 2, "successful_rps": 471.464, "dropped": 2449, "errors": {}}
|
||||
{"repeat": 3, "successful_rps": 465.411, "dropped": 2472, "errors": {}}
|
||||
Container mtusi-vasilev-lab3-cache-1 Running
|
||||
Container mtusi-vasilev-lab3-api-3 Running
|
||||
Container mtusi-vasilev-lab3-api-4 Running
|
||||
Container mtusi-vasilev-lab3-lb-1 Running
|
||||
Container mtusi-vasilev-lab3-api-5 Stopping
|
||||
Container mtusi-vasilev-lab3-postgres-1 Recreate
|
||||
Container mtusi-vasilev-lab3-api-6 Stopping
|
||||
Container mtusi-vasilev-lab3-postgres-1 Recreated
|
||||
Container mtusi-vasilev-lab3-api-5 Stopped
|
||||
Container mtusi-vasilev-lab3-api-5 Removing
|
||||
Container mtusi-vasilev-lab3-api-5 Removed
|
||||
Container mtusi-vasilev-lab3-api-6 Stopped
|
||||
Container mtusi-vasilev-lab3-api-6 Removing
|
||||
Container mtusi-vasilev-lab3-api-6 Removed
|
||||
Container mtusi-vasilev-lab3-postgres-1 Starting
|
||||
Container mtusi-vasilev-lab3-postgres-1 Started
|
||||
Container mtusi-vasilev-lab3-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab3-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Starting
|
||||
Container mtusi-vasilev-lab3-migrate-1 Started
|
||||
Container mtusi-vasilev-lab3-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab3-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab3-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab3-api-4 Waiting
|
||||
Container mtusi-vasilev-lab3-api-3 Waiting
|
||||
Container mtusi-vasilev-lab3-api-4 Healthy
|
||||
Container mtusi-vasilev-lab3-api-3 Healthy
|
||||
Container mtusi-vasilev-lab3-cache-1 Waiting
|
||||
Container mtusi-vasilev-lab3-migrate-1 Waiting
|
||||
Container mtusi-vasilev-lab3-api-4 Waiting
|
||||
Container mtusi-vasilev-lab3-api-3 Waiting
|
||||
Container mtusi-vasilev-lab3-lb-1 Waiting
|
||||
Container mtusi-vasilev-lab3-postgres-1 Waiting
|
||||
Container mtusi-vasilev-lab3-migrate-1 Exited
|
||||
Container mtusi-vasilev-lab3-lb-1 Healthy
|
||||
Container mtusi-vasilev-lab3-cache-1 Healthy
|
||||
Container mtusi-vasilev-lab3-postgres-1 Healthy
|
||||
Container mtusi-vasilev-lab3-api-4 Healthy
|
||||
Container mtusi-vasilev-lab3-api-3 Healthy
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://127.0.0.1:8083"
|
||||
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,4 @@
|
||||
BASE_URL=http://127.0.0.1:8083 uv run --locked pytest -q
|
||||
........................................................................ [ 93%]
|
||||
..... [100%]
|
||||
77 passed in 26.61s
|
||||
Reference in New Issue
Block a user