Repository navigation
SlowShield 0.0.5
Added
- Go modules at
/go/: setGOPROXY=https://<host>/go(without,direct). Versions younger than the delay are left
out of version lists, and requests for them get403with aRetry-Afterheader and a message the go command
prints. Known malware gets451, never404/410, so a,directfallback can't go around SlowShield either.
.modand.zipdownloads are checked against theh1:hashes insum.golang.organd against their first-seen
fingerprint. The checksum database itself is proxied at/go/sumdb/sum.golang.org/, so clients need no other
route out. A version's publish time is when proxy.golang.org first stored it (theLast-Modifiedof its.mod),
never the commit time, which authors can backdate. It is looked up once per version, at no extra load on the
upstreams beyond oneHEAD(docs/design/go.md,
#15).@latestof a module without tags answers with the newest
commit known to be old enough when the newest one is too new. OSV and GitHub malware advisories for Go feed the
blocklist.
Configuration:[upstreams.go],SLOWSHIELD_GO_ENABLED, Helmecosystems.go.enabled. - The Setup page and slowshield.org set
GOPROXYin the shell setup, and the tool finder has Go. - A nightly check that proxy.golang.org's
Last-Modifiedstill matches index.golang.org, and Go perf scenarios
(go_list,go_mod). The perf gate reports a scenario the baseline release doesn't serve yet without comparing it.
Changed
- Ecosystems are shown in their logos' primary colours, in the UI and the Grafana dashboards: PyPI
#3775A9, npm
#CB3837, Go#00ADD8, the same in light and dark mode.
Fixed
- Chart axes in the UI show round, distinct values, with each gridline at its value. Small counts used to repeat
labels (a peak of 2 read0, 1, 2, 2).
Images
ghcr.io/squirro/slowshield:0.0.5ghcr.io/squirro/slowshield-caddy:0.0.5
Performance (amd64)
SlowShield performance report
Host: Linux/x86_64, 4 CPUs · candidate ghcr.io/squirro/slowshield@sha256:73cc215262b653e60c517b5346671a7775304f276699e4ca94784549bf3c459e · baseline ghcr.io/squirro/slowshield:latest
| Scenario | Metric | Baseline | Candidate | Change | Limit | p | |
|---|---|---|---|---|---|---|---|
| artifact_big:throughput | rps | 670 | 637 | -5.0% | 15% | 0.690 | ✅ |
| artifact_cached:latency | p95_ms | 0.73 | 0.73 | -0.0% | 15% | 0.841 | ✅ |
| artifact_cached:latency | p99_ms | 0.93 | 0.94 | +1.1% | 20% | 0.548 | ✅ |
| artifact_cached:throughput | rps | 2583 | 2581 | -0.1% | 10% | 0.690 | ✅ |
| blocked:latency | p95_ms | 0.57 | 0.57 | -0.0% | 15% | 0.690 | ✅ |
| blocked:latency | p99_ms | 0.79 | 0.76 | -3.5% | 20% | 0.421 | ✅ |
| dashboard:latency | p95_ms | 2.37 | 2.45 | +3.2% | 15% | 0.016 | ✅ |
| dashboard:latency | p99_ms | 2.85 | 3.00 | +5.3% | 30% | 0.548 | ✅ |
| mixed:throughput | rps | 3875 | 3873 | -0.0% | 10% | 0.690 | ✅ |
| npm_huge_corgi:throughput | rps | 558 | 562 | +0.7% | 10% | 1.000 | ✅ |
| npm_huge_full:throughput | rps | 431 | 431 | +0.1% | 10% | 0.841 | ✅ |
| npm_packument_corgi:throughput | rps | 5174 | 5178 | +0.1% | 10% | 0.548 | ✅ |
| npm_packument_full:latency | p95_ms | 0.46 | 0.46 | -0.1% | 15% | 0.421 | ✅ |
| npm_packument_full:latency | p99_ms | 0.69 | 0.70 | +0.7% | 20% | 1.000 | ✅ |
| pypi_simple_html:latency | p95_ms | 1.37 | 1.30 | -5.2% | 15% | 1.000 | ✅ |
| pypi_simple_html:latency | p99_ms | 1.94 | 1.98 | +1.9% | 20% | 1.000 | ✅ |
| pypi_simple_json:latency | p95_ms | 1.86 | 2.04 | +9.2% | 15% | 1.000 | ✅ |
| pypi_simple_json:latency | p99_ms | 3.03 | 3.25 | +7.2% | 20% | 0.690 | ✅ |
| pypi_simple_json:throughput | rps | 1029 | 1055 | +2.5% | 10% | 0.548 | ✅ |
| process | rss_peak_bytes | 173.3 MB | 173.6 MB | +0.1% | 15% | 0.690 | ✅ |
| process | startup_s | 0.55 | 0.55 | +0.3% | 30% | 0.841 | ✅ |
| image | size_bytes | 124.1 MB | 124.2 MB | +0.1% | 5% | — | ✅ |
Candidate medians
| Scenario | rps | p50 ms | p95 ms | p99 ms | MB/s | CPU ms/1k |
|---|---|---|---|---|---|---|
| artifact_big:throughput | 637 | 0.71 | 0.71 | 0.71 | 2.1 | 1575.0 |
| artifact_cached:latency | 300 | 0.63 | 0.73 | 0.94 | 0.5 | 495.9 |
| artifact_cached:throughput | 2581 | 11.98 | 17.79 | 23.25 | 4.0 | 387.2 |
| blocked:latency | 300 | 0.48 | 0.57 | 0.76 | 0.2 | 333.0 |
| dashboard:latency | 30 | 1.89 | 2.45 | 3.00 | 0.5 | 1901.6 |
| go_list:throughput | 4177 | 7.20 | 12.23 | 17.97 | 18.4 | 237.9 |
| go_mod:latency | 300 | 0.73 | 0.88 | 1.32 | 0.2 | 622.8 |
| mixed:throughput | 3873 | 6.68 | 16.65 | 21.19 | 9.2 | 256.9 |
| npm_huge_corgi:throughput | 562 | 13.64 | 21.49 | 25.54 | 1241.8 | 1778.0 |
| npm_huge_full:throughput | 431 | 18.23 | 27.10 | 31.20 | 1424.6 | 2315.9 |
| npm_packument_corgi:throughput | 5178 | 5.62 | 10.37 | 16.56 | 7.9 | 188.3 |
| npm_packument_full:latency | 300 | 0.37 | 0.46 | 0.70 | 0.7 | 249.8 |
| pypi_simple_html:latency | 300 | 0.87 | 1.30 | 1.98 | 110.4 | 686.9 |
| pypi_simple_json:latency | 300 | 1.11 | 2.04 | 3.25 | 138.1 | 953.7 |
| pypi_simple_json:throughput | 1055 | 28.48 | 44.70 | 54.08 | 485.9 | 949.6 |
Image size: 124.2 MB (uncompressed), RSS peak median 173.6 MB
Performance (arm64)
SlowShield performance report
Host: Linux/aarch64, 4 CPUs · candidate ghcr.io/squirro/slowshield@sha256:9e69760cca7008b2cfb5a174b73a1a1ac4eeee22b22a08d08da2c9ee76dc4789 · baseline ghcr.io/squirro/slowshield:latest
| Scenario | Metric | Baseline | Candidate | Change | Limit | p | |
|---|---|---|---|---|---|---|---|
| artifact_big:throughput | rps | 417 | 637 | +52.8% | 15% | 0.095 | ✅ |
| artifact_cached:latency | p95_ms | 0.73 | 0.72 | -1.5% | 15% | 0.222 | ✅ |
| artifact_cached:latency | p99_ms | 0.97 | 1.04 | +6.9% | 20% | 0.548 | ✅ |
| artifact_cached:throughput | rps | 3082 | 3144 | +2.0% | 10% | 0.151 | ✅ |
| blocked:latency | p95_ms | 0.55 | 0.54 | -1.4% | 15% | 0.222 | ✅ |
| blocked:latency | p99_ms | 0.68 | 0.67 | -2.4% | 20% | 0.690 | ✅ |
| dashboard:latency | p95_ms | 3.12 | 3.23 | +3.3% | 15% | 0.095 | ✅ |
| dashboard:latency | p99_ms | 3.46 | 3.72 | +7.5% | 30% | 0.056 | ✅ |
| mixed:throughput | rps | 4814 | 4911 | +2.0% | 10% | 0.095 | ✅ |
| npm_huge_corgi:throughput | rps | 806 | 832 | +3.3% | 10% | 0.548 | ✅ |
| npm_huge_full:throughput | rps | 569 | 586 | +3.0% | 10% | 0.548 | ✅ |
| npm_packument_corgi:throughput | rps | 7428 | 7498 | +0.9% | 10% | 0.056 | ✅ |
| npm_packument_full:latency | p95_ms | 0.42 | 0.43 | +3.0% | 15% | 0.548 | ✅ |
| npm_packument_full:latency | p99_ms | 0.65 | 0.57 | -12.3% | 20% | 0.095 | ✅ |
| pypi_simple_html:latency | p95_ms | 1.34 | 1.32 | -1.6% | 15% | 1.000 | ✅ |
| pypi_simple_html:latency | p99_ms | 1.73 | 1.72 | -0.3% | 20% | 0.548 | ✅ |
| pypi_simple_json:latency | p95_ms | 1.71 | 1.57 | -7.8% | 15% | 0.841 | ✅ |
| pypi_simple_json:latency | p99_ms | 2.59 | 2.12 | -18.2% | 20% | 0.690 | ✅ |
| pypi_simple_json:throughput | rps | 1571 | 1581 | +0.6% | 10% | 0.690 | ✅ |
| process | rss_peak_bytes | 153.4 MB | 153.9 MB | +0.3% | 15% | 1.000 | ✅ |
| process | startup_s | 0.54 | 0.53 | -2.3% | 30% | 0.151 | ✅ |
| image | size_bytes | 115.9 MB | 116.0 MB | +0.1% | 5% | — | ✅ |
Candidate medians
| Scenario | rps | p50 ms | p95 ms | p99 ms | MB/s | CPU ms/1k |
|---|---|---|---|---|---|---|
| artifact_big:throughput | 637 | 0.82 | 0.82 | 0.82 | 2.1 | 1204.0 |
| artifact_cached:latency | 300 | 0.66 | 0.72 | 1.04 | 0.5 | 578.1 |
| artifact_cached:throughput | 3144 | 9.99 | 14.60 | 18.14 | 4.9 | 317.8 |
| blocked:latency | 300 | 0.50 | 0.54 | 0.67 | 0.2 | 346.5 |
| dashboard:latency | 30 | 2.43 | 3.23 | 3.72 | 0.5 | 2325.4 |
| go_list:throughput | 5672 | 5.40 | 9.02 | 11.65 | 25.1 | 175.8 |
| go_mod:latency | 300 | 0.78 | 0.87 | 1.06 | 0.2 | 705.6 |
| mixed:throughput | 4911 | 5.60 | 13.17 | 16.02 | 11.7 | 203.5 |
| npm_huge_corgi:throughput | 832 | 9.29 | 13.93 | 16.50 | 1838.9 | 1201.1 |
| npm_huge_full:throughput | 586 | 13.51 | 18.70 | 21.80 | 1937.2 | 1704.6 |
| npm_packument_corgi:throughput | 7498 | 3.83 | 7.36 | 11.29 | 11.5 | 131.4 |
| npm_packument_full:latency | 300 | 0.36 | 0.43 | 0.57 | 0.7 | 270.1 |
| pypi_simple_html:latency | 300 | 0.90 | 1.32 | 1.72 | 110.4 | 786.1 |
| pypi_simple_json:latency | 300 | 0.91 | 1.57 | 2.12 | 138.2 | 844.0 |
| pypi_simple_json:throughput | 1581 | 19.32 | 29.28 | 35.80 | 728.0 | 632.0 |
Image size: 116.0 MB (uncompressed), RSS peak median 153.9 MB