Skip to content

Instantly share code, notes, and snippets.

@aaronpeters
Created March 2, 2024 12:40
Show Gist options
  • Save aaronpeters/6ae6936681b7be1d98f40e6835035c18 to your computer and use it in GitHub Desktop.
Save aaronpeters/6ae6936681b7be1d98f40e6835035c18 to your computer and use it in GitHub Desktop.
Medianova purge speed - first data
// purgeTime = time to purge has completed in that location
// purgeTime.global = highest of purge times in a location
// purgeRequest.ok = time until API has responded to the purge request
// purgeRequest = number of times purge by API failed (error) or timed out (timeout)
const firstData = [
{
"ts": "2024-03-01",
"data": {
"purgeTime": {
"US": [
2,
2,
2,
3,
2,
2,
2,
2,
2,
2,
2
],
"GB": [
2,
2,
2,
3,
2,
2,
2,
2,
2,
2,
2
],
"HK": [
2,
2,
2,
3,
2,
2,
2,
2,
2,
2,
2
],
"global": [
2,
2,
2,
3,
2,
2,
2,
2,
2,
2,
2
]
},
"purgeRequest": {
"ok": [
1526,
1629,
1641,
2075,
1596,
1678,
1534,
1601,
1601,
1473,
1600
],
"error": 0,
"timeout": 0
}
}
},
{
"ts": "2024-03-02",
"data": {
"purgeTime": {
"US": [
2,
2,
65,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
"GB": [
2,
2,
65,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
"HK": [
2,
2,
65,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
"global": [
2,
2,
65,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
]
},
"purgeRequest": {
"ok": [
1695,
1493,
1596,
1462,
1477,
1630,
1648,
1679,
1501,
1581,
1630,
1536,
1590
],
"error": 0,
"timeout": 0
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment