84
submitted 1 week ago* (last edited 1 week ago) by TankieTanuki@hexbear.net to c/technology@hexbear.net

Investing in a server with mass storage would "pay for itself" in less than a year, compared to what I'm currently renting (I'm low key scared to look up the prices of DDR5 RAM and NVMe drives though). Since I plan to maintain TankieTube "forever", it seems like the best option.

I'm so ready to ditch BackBlaze because their timeout errors are causing ~90% of the current problems with the website (external storage move failures and buffering problems). mario-finger

I have plenty of experience assembling computers and the thought of building a server is really fun, but I've never used colocation before.

Questions/Thoughts/Concerns:


  1. Do datacenters let you walk inside to maintain your own server? There is a datacenter in my home city, which would be convenient, but using it would effectively soft-doxx my location. Right now "Burgerland" is as specific as I publicly reveal.

  1. If I ship the server to a more remote location, how would I replace failed drives? Is that a commonly provided service? Would using a datacenter within ~2 hours driving distance be the best compromise between accessibility and location obfuscation?

  1. Is paying with Monero an option? Is it a good idea? Could I mail replacement drives directly to the datacenter without revealing my home return address?

It looks like I'll need NVMe drives in something called the U.2 form factor (instead of M.2) in order to enable hot swapping. TIL.

you are viewing a single comment's thread
view the rest of the comments
[-] EdlritchEconomics@hexbear.net 4 points 1 week ago* (last edited 1 week ago)

First few questions have been answered adequately already, and I can't answer the third, but regarding uptime vs. distance; consider using more than one machine. Depending on your budget it might be worth it to have a couple or more lower-spec machines behind a load balancing / failover proxy. That would give you a fair bit of leeway to get out to the location while maintaining uptime. Also you can use one to troubleshoot the other remotely.

[-] TankieTanuki@hexbear.net 1 points 1 week ago

Are you talking about multiple servers in the same datacenter, or space across the globe?

[-] EdlritchEconomics@hexbear.net 2 points 1 week ago

Same datacenter. I don't expect tankietube to scale to a global CDN quite yet.

[-] TankieTanuki@hexbear.net 2 points 1 week ago

How do I keep the PostgreSQL databases in sync?

[-] edie@lemmy.encryptionin.space 3 points 1 week ago* (last edited 1 week ago)

I don't think PeerTube is made to run more than one of the same instance? If it were to work, for a low amount of servers you could maybe just connect them all to one database. But for more than one PostgreSQL server, this page might be an introduction:^[1]^ https://www.postgresql.org/docs/current/high-availability.html

1: I do not know about this, I just know it is possible and looked for it


This user is suspected of being a cat. Please report any suspicious behavior.

[-] TankieTanuki@hexbear.net 2 points 1 week ago* (last edited 1 week ago)

I don't think PeerTube is made to run more than one of the same instance?

I don't think so either. It has a native redundancy feature in which different instances mirror videos to distribute the demand.

https://docs.joinpeertube.org/admin/following-instances

I've thought about creating a "dummy" instance with user registration disabled which exists solely to mirror TankieTube videos.

[-] edie@lemmy.encryptionin.space 2 points 1 week ago* (last edited 1 week ago)

If what you want is to distribute the video delivery demand, then a CDN is more what you're looking for. Setting up another instance would be to help with everything else peertube does, showing lists of vids, channels, showing the vid page (but not the vid delivery), all of that stuff, and uploads (but of course not transcoding).


This user is suspected of being a cat. Please report any suspicious behavior.

[-] EdlritchEconomics@hexbear.net 2 points 1 week ago

I've never done it with postgres, and it's been a while since I've done this kind of thing in general. I'm also not familiar with your deployment, but postgres has options for all kinds of failover and load balancing scenarios.

load more comments (2 replies)
load more comments (2 replies)
load more comments (2 replies)
this post was submitted on 16 Apr 2026
84 points (100.0% liked)

technology

24341 readers
293 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 5 years ago
MODERATORS