summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md59
-rw-r--r--data/latency39
-rw-r--r--data/latency-avg22
-rw-r--r--data/place1
-rw-r--r--data/regions39
5 files changed, 160 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..9b050dab
--- /dev/null
+++ b/README.md
@@ -0,0 +1,59 @@
+# Github Actions Metrics
+Information on Github hosted runners like the Azure region they run on is
+necessary info when optimising CD/CI pipelines(especially network latencies and
+route path bandwidth). Github does not disclose it so I did it myself.
+
+Using this info, place the resources(DB, object storage, other instances) near
+the runners are usually run.
+
+A few pieces of info I could gather online:
+
+- Azure doesn't provide a list of VM service endpoints like AWS
+- Github-hosted Actions runners are actually Azure VMs (surprisingly, not in a
+ container)
+- Github is hosted in the data centre somewhere in the US, probably in the same
+ data centre where Azure is present
+
+Microsoft definitely has more points of presence than any other cloud service
+providers, but there's no official list of data center endpoints to ping. If you
+look at the map,
+
+<a href="https://aws.amazon.com/about-aws/global-infrastructure/regions_az/">
+<img src="image.png" style="width: 500px;">
+</a>
+<a href="https://datacenters.microsoft.com/globe/explore">
+<img src="image-1.png" style="width: 500px;">
+</a>
+
+they're close enough. For most devs, all that matters is probably how close
+their S3 buckets are to the Github Actions runners. Some AWS and Azure regions
+are under the same roof, but then again, no official data.
+
+## DATA
+Updated: 2024-11-14T08:13:06.147800
+
+| AWS Region | Avg Latency | Least |
+| - | - | - |
+| af-south-1 | 0.881 | |
+| ap-east-1 | 0.837 | |
+| ap-northeast-1 | 0.665 | |
+| ap-northeast-2 | 0.771 | |
+| ap-south-1 | 0.853 | |
+| ap-southeast-1 | 0.930 | |
+| ap-southeast-2 | 0.809 | |
+| ca-central-1 | 0.127 | |
+| eu-central-1 | 0.417 | |
+| eu-north-1 | 0.460 | |
+| eu-south-1 | 0.441 | |
+| eu-west-1 | 0.323 | |
+| eu-west-2 | 0.364 | |
+| eu-west-3 | 0.378 | |
+| me-south-1 | 0.763 | |
+| sa-east-1 | 0.509 | |
+| us-east-1 | 0.063 | 1 |
+| us-east-2 | 0.136 | |
+| us-gov-east-1 | 0.122 | |
+| us-gov-west-1 | 0.370 | |
+| us-west-1 | 0.302 | |
+| us-west-2 | 0.337 | |
+
diff --git a/data/latency b/data/latency
new file mode 100644
index 00000000..e143bebe
--- /dev/null
+++ b/data/latency
@@ -0,0 +1,39 @@
+af-south-1 0.881
+ap-east-1 0.837
+ap-east-2 inf
+ap-northeast-1 0.665
+ap-northeast-2 0.771
+ap-northeast-3 inf
+ap-south-1 0.853
+ap-south-2 inf
+ap-southeast-1 0.930
+ap-southeast-2 0.809
+ap-southeast-3 inf
+ap-southeast-4 inf
+ap-southeast-5 inf
+ap-southeast-6 inf
+ap-southeast-7 inf
+ca-central-1 0.127
+ca-west-1 inf
+cn-north-1 inf
+cn-northwest-1 inf
+eu-central-1 0.417
+eu-central-2 inf
+eu-north-1 0.460
+eu-south-1 0.441
+eu-south-2 inf
+eu-west-1 0.323
+eu-west-2 0.364
+eu-west-3 0.378
+eusc-de-east-1 inf
+il-central-1 inf
+me-central-1 inf
+me-south-1 0.763
+mx-central-1 inf
+sa-east-1 0.509
+us-east-1 0.063
+us-east-2 0.136
+us-gov-east-1 0.122
+us-gov-west-1 0.370
+us-west-1 0.302
+us-west-2 0.337
diff --git a/data/latency-avg b/data/latency-avg
new file mode 100644
index 00000000..b7842bd2
--- /dev/null
+++ b/data/latency-avg
@@ -0,0 +1,22 @@
+af-south-1 0.881
+ap-east-1 0.837
+ap-northeast-1 0.665
+ap-northeast-2 0.771
+ap-south-1 0.853
+ap-southeast-1 0.930
+ap-southeast-2 0.809
+ca-central-1 0.127
+eu-central-1 0.417
+eu-north-1 0.460
+eu-south-1 0.441
+eu-west-1 0.323
+eu-west-2 0.364
+eu-west-3 0.378
+me-south-1 0.763
+sa-east-1 0.509
+us-east-1 0.063
+us-east-2 0.136
+us-gov-east-1 0.122
+us-gov-west-1 0.370
+us-west-1 0.302
+us-west-2 0.337
diff --git a/data/place b/data/place
index e69de29b..a607b251 100644
--- a/data/place
+++ b/data/place
@@ -0,0 +1 @@
+us-east-1 1
diff --git a/data/regions b/data/regions
new file mode 100644
index 00000000..5cb7afa4
--- /dev/null
+++ b/data/regions
@@ -0,0 +1,39 @@
+af-south-1
+ap-east-1
+ap-east-2
+ap-northeast-1
+ap-northeast-2
+ap-northeast-3
+ap-south-1
+ap-south-2
+ap-southeast-1
+ap-southeast-2
+ap-southeast-3
+ap-southeast-4
+ap-southeast-5
+ap-southeast-6
+ap-southeast-7
+ca-central-1
+ca-west-1
+cn-north-1
+cn-northwest-1
+eu-central-1
+eu-central-2
+eu-north-1
+eu-south-1
+eu-south-2
+eu-west-1
+eu-west-2
+eu-west-3
+eusc-de-east-1
+il-central-1
+me-central-1
+me-south-1
+mx-central-1
+sa-east-1
+us-east-1
+us-east-2
+us-gov-east-1
+us-gov-west-1
+us-west-1
+us-west-2