What is it?
Server distribution is where traffic to a website is distributed to multiple servers. This would allow traffic to be spread across multiple servers instead of directing it all to one server, and allows people to continue using Meower even when the main server goes down.
Message from earlier
“I would simply have a distribution system, like I suggested, where it attempts to connect to the closest server, but if that is down, or has more than ~70-80% load, it connects to the next closest and so on.”
Questions likely to be asked
Q: We need to make sure they share the same userbase and stuff though
A: It could simply have the sever the person is connected to stores the data, and then that is sent securely over HTTPS to other servers.
Q: Imagine this, you have an online friend you met when the main server was down on one server.
now you can no longer talk to him because you can’t access that server server
A: But that data is sent to the other servers. Unlike a bank, the internet allows you to send data in a matter of seconds.
Q: But can’t someone hijack that information?
A: Using HTTPS with websockets isn’t less secure, it’s used to send the data to the clients.
Q: What if someone sends fake data over to other servers?
A: It’s done by the servers, not the clients, a server would need to be compromised, and even still, there will not be a command to request data, the servers would send it, so the most they could do is create random user accounts, and possibly delete some.
Q: Yeah but you can impersonate a server and send fake data to a server.
A: Have you ever heard of PGP keys before? Or just only allowing requests from a server’s IP address. You cannot spoof an IP to websites either, unless the client is sending the IP, which will not happen in Beta 6. source
What needs to happen?
Well obviously, we’d need people to host more servers. I’m happy to host a server, meaning there would still be an alternate server, b̶u̶t̶ ̶y̶o̶u̶ ̶c̶a̶n̶ ̶a̶p̶p̶l̶y̶ ̶t̶o̶ ̶h̶o̶s̶t̶ ̶a̶ ̶s̶e̶r̶v̶e̶r̶ ̶h̶e̶r̶e̶.̶ As @tnix said, only approved people will be able to host a server.
We will also need this to be implemented into the Meower server, which could be done with Cloudflare load balancing.
Who needs to be involved?
A few people actaully
@MikeDEV
@Tnix
@zed
@Voxalice
And I would list everyone else on the RFC team, but it would take a lot of space!
Do you support this idea?
Please vote with the poll below instead of leaving a reply! You can also let me know your other ideas for this with a reply.
- Yes
- No
0 voters