Is GitHub raw storage reliable?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- github, node.js
- Ambito
- cloud
Direzione di ricerca
Start with the linked Node app and its test that writes misc/now.txt, then compare the non-raw and raw GitHub URLs described in the report. Determine whether the observed delay is reproducible and whether this repository has a specific change or documentation update that could address it; completion is not defined by the issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I've been building apps on the assumption that if you store something on GitHub, when you get the raw version of that thing, it'll be current. I was getting inconsistent results, so I decided to test that assumption, and it seems that it is not reliable storage.
If you read an object immediately after writing it, you will not always get back what you wrote. It's not just a matter of waiting a second or two, sometimes it's wrong for up to 10 seconds (the delay I programmed into the test).
Here's the Node app I'm running to test this. It wakes up every minute and saves a file to GitHub with the current local time string. If I reload the non-raw version of the page, it usually seems to have the current value. But if I reload the raw version of the page, it often does not have the correct value.
If you see a problem in this app, please let me know. I had big plans for using GitHub for user storage. It'll make a huge difference in interop, common ground in the fast growing Tools for Thought space.
Here are the results of the app for the first 30 minutes.
everyMinute: 1:58:13 PM, status == 200, bad
everyMinute: 1:59:00 PM, status == 200, bad
everyMinute: 2:00:00 PM, status == 200, bad
everyMinute: 2:01:00 PM, status == 200, good
everyMinute: 2:02:00 PM, status == 200, bad
everyMinute: 2:03:00 PM, status == 200, bad
everyMinute: 2:04:00 PM, status == 200, bad
everyMinute: 2:05:00 PM, status == 200, bad
everyMinute: 2:06:00 PM, status == 200, bad
everyMinute: 2:07:00 PM, status == 200, good
everyMinute: 2:08:00 PM, status == 200, bad
everyMinute: 2:09:00 PM, status == 200, bad
everyMinute: 2:10:00 PM, status == 200, bad
everyMinute: 2:11:00 PM, status == 200, bad
everyMinute: 2:12:00 PM, status == 200, bad
everyMinute: 2:13:00 PM, status == 200, good
everyMinute: 2:14:00 PM, status == 200, bad
everyMinute: 2:15:00 PM, status == 200, bad
everyMinute: 2:16:00 PM, status == 200, bad
everyMinute: 2:17:00 PM, status == 200, bad
everyMinute: 2:18:00 PM, status == 200, bad
everyMinute: 2:19:00 PM, status == 200, good
everyMinute: 2:20:00 PM, status == 200, bad
everyMinute: 2:21:00 PM, status == 200, bad
everyMinute: 2:22:00 PM, status == 200, bad
everyMinute: 2:23:00 PM, status == 200, bad
everyMinute: 2:24:00 PM, status == 200, bad
everyMinute: 2:25:00 PM, status == 200, good
everyMinute: 2:26:00 PM, status == 200, bad
everyMinute: 2:27:00 PM, status == 200, bad
everyMinute: 2:28:00 PM, status == 200, bad
You can see that more often than not the raw value is incorrect after ten seconds.
I'm leaving the app running for a while, so if you want to verify this, you can.
I'll post a note in the GitHub thread when I turn the app off.
- Lingua principale
- HTML
- Stelle
- 134
- Fork
- 10
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di scripting/Scripting-News
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
scripting/Scripting-News#353 · 6 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
scripting/Scripting-News#332 · 25 commenti · 1 reazione ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
scripting/Scripting-News#361 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
scripting/Scripting-News#360 · 1 commento · 1 reazione ·
Tutte le issue di scripting/Scripting-News
Issue simili
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Apertabug ecr
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
docs-from-code
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
microsoft/aspire.dev#1734 ·
-
[BUG] Apertabug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
openwallet-foundation/eudiplo#1067 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
hashicorp/go-azure-helpers#286 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
akash-network/community#1526 ·