84
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
- Ways to run Microsoft/Adobe and more on Linux
- The Ultimate FOSS Guide For Android
- Great libre software on Windows
- Hey you, the lib still using Chrome. Read this post!
Rules:
- 1. Obviously abide by the sitewide code of conduct. Bigotry will be met with an immediate ban
- 2. This community is about technology. Offtopic is permitted as long as it is kept in the comment sections
- 3. Although this is not /c/libre, FOSS related posting is tolerated, and even welcome in the case of effort posts
- 4. We believe technology should be liberating. As such, avoid promoting proprietary and/or bourgeois technology
- 5. Explanatory posts to correct the potential mistakes a comrade made in a post of their own are allowed, as long as they remain respectful
- 6. No crypto (Bitcoin, NFT, etc.) speculation, unless it is purely informative and not too cringe
- 7. Absolutely no tech bro shit. If you have a good opinion of Silicon Valley billionaires please manifest yourself so we can ban you.
founded 5 years ago
MODERATORS

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.
Are you talking about multiple servers in the same datacenter, or space across the globe?
Same datacenter. I don't expect tankietube to scale to a global CDN quite yet.
How do I keep the PostgreSQL databases in sync?
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.
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.
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.
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.