level 4
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"minio_ports": [],
|
||||
"MINIO_BROWSER": "off",
|
||||
"networks": [
|
||||
"data"
|
||||
],
|
||||
"lb_ports": [
|
||||
{
|
||||
"mode": "ingress",
|
||||
"host_ip": "127.0.0.1",
|
||||
"target": 8080,
|
||||
"published": "8084",
|
||||
"protocol": "tcp"
|
||||
},
|
||||
{
|
||||
"mode": "ingress",
|
||||
"host_ip": "::1",
|
||||
"target": 8080,
|
||||
"published": "8084",
|
||||
"protocol": "tcp"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
# Idempotent MinIO bootstrap. Secrets are not printed.
|
||||
# docker compose --env-file .env run --rm --no-deps minio-init
|
||||
# (two sequential runs after the 256M memory limit on minio-init)
|
||||
|
||||
run 1: bucket messenger-attachments is private
|
||||
run 2: bucket messenger-attachments is private
|
||||
exit: 0 both times
|
||||
@@ -0,0 +1,7 @@
|
||||
# python scripts/check_private_bucket.py
|
||||
# (stack already up; in-network probe via compose profile ops)
|
||||
|
||||
PASS: bucket messenger-attachments is private; unauthenticated GET is 403; API user cannot list another bucket; console is closed
|
||||
PASS: minio has no host ports, console env is off, in-network GET is 403
|
||||
|
||||
See also evidence/compose-minio-exposure.json
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"apply": true,
|
||||
"grace_seconds": 0,
|
||||
"seeded": null,
|
||||
"scanned_originals": 37,
|
||||
"referenced": 38,
|
||||
"orphans_protected_by_grace": [],
|
||||
"orphans_stale": [
|
||||
{
|
||||
"key": "originals/44d0830b-a013-482c-ae07-83805b6470c1",
|
||||
"age_seconds": 10,
|
||||
"size": 12
|
||||
}
|
||||
],
|
||||
"multipart_protected_by_grace": [],
|
||||
"multipart_stale": [],
|
||||
"deleted": [
|
||||
"originals/44d0830b-a013-482c-ae07-83805b6470c1"
|
||||
],
|
||||
"aborted_multipart": [],
|
||||
"missing_objects": [
|
||||
{
|
||||
"key": "a93d1b7ab79245ec95f792b569c3ee46"
|
||||
},
|
||||
{
|
||||
"key": "c96e4c9da2114c9e837c372ef9e75e15"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"apply": false,
|
||||
"grace_seconds": 900,
|
||||
"seeded": "originals/44d0830b-a013-482c-ae07-83805b6470c1",
|
||||
"scanned_originals": 37,
|
||||
"referenced": 38,
|
||||
"orphans_protected_by_grace": [
|
||||
{
|
||||
"key": "originals/44d0830b-a013-482c-ae07-83805b6470c1",
|
||||
"age_seconds": 0,
|
||||
"size": 12
|
||||
}
|
||||
],
|
||||
"orphans_stale": [],
|
||||
"multipart_protected_by_grace": [],
|
||||
"multipart_stale": [],
|
||||
"deleted": [],
|
||||
"aborted_multipart": [],
|
||||
"missing_objects": [
|
||||
{
|
||||
"key": "a93d1b7ab79245ec95f792b569c3ee46"
|
||||
},
|
||||
{
|
||||
"key": "c96e4c9da2114c9e837c372ef9e75e15"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"hypothesis": "Ten concurrent ~1.9 MiB PNG uploads stay inside the 256 MiB API limit and peak RSS is not proportional to N * file_size because the body is spooled, not held twice as bytes.",
|
||||
"when": "2026-11-09T17:15:07Z",
|
||||
"commit": "c594b88",
|
||||
"host": {
|
||||
"system": "Windows",
|
||||
"machine": "AMD64",
|
||||
"processor": "Intel64 Family 6 Model 165 Stepping 2, GenuineIntel"
|
||||
},
|
||||
"compose_limits": {
|
||||
"api_memory": "256M",
|
||||
"replicas": 2
|
||||
},
|
||||
"profile": {
|
||||
"concurrency": 10,
|
||||
"width": 900,
|
||||
"height": 700,
|
||||
"size_bytes": 1994104,
|
||||
"sha256": "03f35c154abaa690cfc41d6d73715992df84d10f45ff48dc14722bd64e49a263"
|
||||
},
|
||||
"results": {
|
||||
"ok": 10,
|
||||
"errors": 0,
|
||||
"elapsed_s": 1.995,
|
||||
"p50_s": 0.5158,
|
||||
"p95_s": 0.5466,
|
||||
"p99_s": 0.5466,
|
||||
"peak_api_rss_mib": 93.66,
|
||||
"peak_rss_by_container_mib": {
|
||||
"messenger-lab4-api-2": 93.66,
|
||||
"messenger-lab4-api-1": 85.37
|
||||
},
|
||||
"samples": 3,
|
||||
"naive_n_times_size_mib": 19.02
|
||||
},
|
||||
"limits_of_measurement": "docker stats RSS is container-level and sampled ~200 ms; it is not a cgroup memory profiler. Python heap is not separated from MinIO/HAProxy. Coordinated start of N POSTs from one client."
|
||||
}
|
||||
Reference in New Issue
Block a user