[Self-Hosted] Allow Modular Self-Hosting

(#3766) Feature Open: Under consideration

Current problem

While being able to self-host Fluxer is fantastic, I believe it could be even less complex and thrust less responsibility on the self-hoster. Currently you must deploy Fluxer in its entirety on your hardware. I would like to see a more modular approach, at least for voice/video.

Proposed change

Rather than requiring the self-hoster to deploy the entire Fluxer stack, I think it could be beneficial to allow the server administrator to use a different Fluxer instance's configuration for voice connectivity. I believe that voice/video is the most intensive service to run, and can be cumbersome to maintain. If there were an option to point at another publicly-accessible Fluxer instance - such as the main fluxer.app instance - for pieces of the stack that a self-hoster would rather not burden themselves with, while retaining their ownership of the other pieces, this would allow more flexibility and be less daunting for a self-hoster to manage. Voice servers specifically would be useful to: offload to avoid hitting throughput limitations, increase the amount of supported voice regions on servers that host users in various geographic locations, and offer more stability and redundancy in case of outages.

Platform

Self-hosting

Additional information

I was mostly inspired by looking at how flexible Armada is. You can choose to host the web app, the nostr relay, or the voice server, all individually. This granular approach lowers the barrier of entry for those who would like to control their most sensitive conversations, yet don't want to be burdened with the potential complications or complexity of voice servers, or any other component of the stack.

4 comments

Sign in with Fluxer to comment and vote.
Comment by vicky
vicky 3 votes 1 reply
That is a very interesting approach indeed, but I'm worried about the financial aspect of this. As you know, self-hosted instances don't need to pay Fluxer Platform AB plutonium to enjoy premium perks, and I'm pretty sure it's in equal respect because it wouldn't make sense to make users pay for services they're hosting themselves and not burdening Fluxer AB with; and because it would be borderline impossible to stop people from not giving those perks for free on their own instance. So what I'm worried with would be the (unlikely, I admit) scenario where everyone self-hosts their own fluxer to get all the free plutonium perks but still offloads their media, voice and video, etc. on Fluxer AB without giving them any money for the server and bandwidth costs.
Comment by PowerOfThe69
Perhaps this feature and concern could be addressed in a post-federation world. When accounts are federated, a user's main instance Plutonium status could be validated against their main instance privileges, and the features that a self-hoster would offload to main instance could follow those restrictions.
Comment by Fl4il
Fl4il 1 vote
Selfhosting is free because you do it yourself, use your own hardware and infrastructure. Making it possible so you can host fluxer without the voice & video services would be interesting(if that isn't already possible today). But then you would just have no call options on your instance. I think the option would be that you deploy fluxer yourself and then look for another host for the call system (livekit), but you will have to pay for that. It could be possible that a system gets setup where ppl in the community can register their livekit servers so that other can use them. maybe then it could be possible that Fluxer(the company) hosts nothing more than a registry off livekit servers. which then on your selfhosted instance gives you the option to check a box to use voice servers hosted by other community members. But then you will have to rely on a random stranger to keep their service up when you are using their server for free.