Index of every page on this site: llms.txt
All skills
paulip114 avatar

/sre-capacity-and-system-design

@3f0545a
Run it yourself

Use when designing or reviewing a distributed system for scale and resilience — NALSD capacity math, load balancing, load shedding, retries, deadlines, graceful degradation, cascading failures, simplicity, and distributed consensus for critical state. Based on Google SRE practice.

Use this Skill: https://skilld.dev/gh/paulip114/sre-practice-skills/sre-capacity-and-system-design

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesestimation-cheatsheet.md

≈397 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Back-of-envelope estimation cheatsheet

Orders of magnitude only — always replace with measured numbers for your hardware.

Time

  • 1 day ≈ 86,400 s ≈ 10^5 s; 1 month ≈ 2.6 × 10^6 s; 1 year ≈ 3.15 × 10^7 s.
  • 1M requests/day ≈ 12 QPS average. Peak is often 2–3× average (check your diurnal curve).

Latency (approximate)

Operation Time
Main memory reference ~100 ns
Read 1 MB sequentially from memory ~10s of µs
Round trip within a datacenter ~0.5 ms
SSD random read ~0.1 ms
Read 1 MB sequentially from SSD ~1 ms
HDD seek ~10 ms
Read 1 MB sequentially from HDD ~5–20 ms
Round trip within a continent ~20–80 ms
Round trip intercontinental ~100–200 ms

Throughput (per machine, rough)

  • 10 Gbps NIC ≈ 1.25 GB/s; 25 Gbps ≈ 3 GB/s (plan to use well under line rate).
  • HDD ≈ 100–200 MB/s sequential, ~100–200 random IOPS.
  • SSD ≈ 0.5–3+ GB/s, 10^4–10^6 IOPS depending on type.

Availability (downtime allowed)

SLO per 30 days per year
99% 7.2 h 3.65 d
99.5% 3.6 h 1.83 d
99.9% 43.2 min 8.77 h
99.95% 21.6 min 4.38 h
99.99% 4.32 min 52.6 min
99.999% 25.9 s 5.26 min

Sizing formula

machines_for_resource = peak_demand_for_resource / (per_machine_capacity × target_utilization)
machines = max over CPU, memory, disk, network, IOPS
total    = machines × (1 + headroom) and enough to survive losing the largest failure domain

Write down every assumption next to the number it produced.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides a set of guidelines, checklists, and reference data for Site Reliability Engineering (SRE) and distributed system design. It contains only instructional documentation and no executable code, remote dependencies, or suspicious patterns.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 3f0545a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated last month

README badge

README badge for paulip114/sre-practice-skills/sre-capacity-and-system-design