Is GitHub raw storage reliable?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- github, node.js
- Área
- cloud
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- HTML
- Estrellas
- 134
- Forks
- 10
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de scripting/Scripting-News
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
scripting/Scripting-News#353 · 6 comentarios ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
scripting/Scripting-News#332 · 25 comentarios · 1 reacción ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
scripting/Scripting-News#362 ·
-
Matt is moved aside Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
scripting/Scripting-News#361 ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
scripting/Scripting-News#360 · 1 comentario · 1 reacción ·
Todos los issues de scripting/Scripting-News
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
carverauto/serviceradar#4596 ·
-
complexity: small feature: security role: DevOps Engineer size: 2pt
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
hackforla/devops-security#203 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
OpenHands/OpenHands-Cloud#1283 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
elecnix/infra-cost-model#353 ·