grammyjs / storages

Storage adapters for grammY sessions.
48 stars 24 forks source link

Add server status badge to free-storage README #134

Closed jokroese closed 1 year ago

jokroese commented 1 year ago

The freeStorage seems to be down, giving a 503 error: 503 in free session service, retrying!.

It would be good for users to know if the server is down. An easy way to do this, depending on the deployment, would be adding a server status badge to the README file.

KnorpelSenf commented 1 year ago

Can you elaborate how you think one can test this?

jokroese commented 1 year ago

To build it from scratch, I guess make a regular request to the server and if you get an error, report that.

But I was thinking more about using something prebuilt. Some deployment options have these badges available to just copy (e.g. Netlify). If Deno Deploy doesn't offer something similar, I had a quick search and Pulsetic could be an option.

KnorpelSenf commented 1 year ago

It sounds to me like all we can do is to build a second system (which might fail in the same way) just to report the status of the first system. If we run this system on the same infra, we gain nothing, and if we run it on a different infra, we just duplicate the risk. Either way, it adds complexity but I still don't understand how it helps.

The current downtime is caused because Deno suspended the deployment without any notice whatsoever (despite promising transparency on their website). I've asked @lucacasonato today via email why this happened, but received no reply so far.

jokroese commented 1 year ago

Sure! I've found badges useful in other projects for letting users know what's happening with a server. But if it's not easy within Deno or using a third-party option then it makes sense to leave it.

Deno suspended the deployment without any notice whatsoever

Very strange! Hope it comes back soon.

KnorpelSenf commented 1 year ago

Unless Deno suspends the project, you can use https://denostatus.com to check :)