I just started renting a basic VPS through Racknerd with the intent to use it as a reverse proxy to point friends to my game server instances running at home without exposing my public IP. I could not figure out how to get it to work so I gave up after days of trying and am now using playit.gg. I prepaid for a year of the VPS. What cool project should I try on it now?
600GB of media? How many users did you have? Or does Mastodon cache media from other instances on your own?
Not many. Around 100. It does cache media from other instances for a period of 7 days though. This is adjustable, but even if you cut the caching down to one or two days, it will be more than a baseline VPS can handle. At my host, they start at 40GB and by the time you get to my storage needs, a much pricier dedicated server is required. Instead, I offloaded the storage to another provider and have nginx keep a much smaller 48 hour cache of media that actually gets requested by users on the VPS itself.
Interesting. I think Lemmy only caches thumbnails, but it pulls images from the instance that the post/comment is from.
A beehaw admin said their instance only is taking 25GB total. So it seems much lighter.
Yeah there are basically trade-offs that need to be decided. You shouldn’t need a server farm to start a new small instance, but on the other hand, if everything gets hotlinked from the big instances that can also lead to problems. It also means that when the large instance begins suffering from performance problems or downtime, it directly impacts other instances with broken images and stuff.