327c66494ffe03612cc7d20a16abc3cc3f3fb447
compute/stats-for-sysadmins.md
| ... | ... | @@ -1,17 +1,17 @@ |
| 1 | 1 | # Stats For Sysadmins |
| 2 | 2 | |
| 3 | 3 | ### 1/n chance tried n times |
| 4 | -From https://theartofmachinery.com/2020/01/27/systems_programming_probability.html |
|
| 4 | +From <https://theartofmachinery.com/2020/01/27/systems_programming_probability.html> |
|
| 5 | 5 | |
| 6 | 6 | For n>3, there's a bit less than a 2/3 chance of at least one hit. |
| 7 | 7 | |
| 8 | 8 | ### n balls in n buckets |
| 9 | -From https://theartofmachinery.com/2020/01/27/systems_programming_probability.html |
|
| 9 | +From <https://theartofmachinery.com/2020/01/27/systems_programming_probability.html> |
|
| 10 | 10 | |
| 11 | 11 | If you throw n balls into n buckets at random, a bit over a third of the buckets will be empty, a bit over a third will have one ball, and the remaining quarter or so will have multiple balls. |
| 12 | 12 | |
| 13 | 13 | ### Scale up, or scale out? |
| 14 | -From http://people.brunel.ac.uk/~mastjjb/jeb/or/queue.html |
|
| 14 | +From <http://people.brunel.ac.uk/~mastjjb/jeb/or/queue.html> |
|
| 15 | 15 | |
| 16 | 16 | If you only care about throughput, scale up. |
| 17 | 17 |