Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on sh.itjust.works
main·sh.itjust.works Main CommunitybyRunAwayFrog

sh.itjust.works ... except when it comes to loading images

{"msg":"Error in store"}

Or the longer version:

< HTTP/2 500
< server: nginx
< date: Sat, 15 Jul 2023 06:45:55 GMT
< content-type: application/json
< content-encoding: gzip
< access-control-expose-headers: content-encoding, vary, content-type, date, content-length
< vary: accept-encoding, Origin, Access-Control-Request-Method, Access-Control-Request-Headers
<
* Connection #0 to host sh.itjust.works left intact
{"msg":"Error in store"}
View original on sh.itjust.works
63

14 replies

sh.itjust.works

Offloaded the images to an S3 compatible host. Will take a bit but I will be migrating the older images shortly

44
canreply
sh.itjust.works

How much are uploaded images stressing the hardware? I try to host off site but I've uploaded a screenshot or thing directly for convenience. If I threw you a dollar or a month or something when that becomes available would that cover my usage?

5
TheDudereply
sh.itjust.works

I’m actually quite amazed by how little would be needed to keep this instance fully funded and even provide other services at the same time. If just 1/4 of the users gave 25cents per month we would have enough money to cover the hosting, new hardware and some paid development/administrative work! The problem however still resides with not having a fiscal host to be the entity needed to accept donations.

Working on some alternatives at the moment.

20

That's good to hear. Thank you for the reassurance and transparency.

5

It actually doesnt work that way. All images are attempted to be stored locally by the program lemmy uses (pict.rs) so this makes storage grow very fast. Solution is to offload them to object storage as TheDude has done. This means a dollar or two a month from some users will be able to cover costs as things grow assuming as the site gets bigger some % of people give a few dollars here and there.

3
sh.itjust.works

Hey all,

Another update on this. I just completed migrating the entire file store over to object storage.

Images should now all be fixed.

2

You reached the end

sh.itjust.works ... except when it comes to loading images | Spyke