Dedicated servers and who will benefit from them.
Dedicated servers are great and I would love them for non 1v1 online games, but the reality is that not everyone will benefit from them. Only the people close to the dedicated servers will have a positive experience. Especially those of us in remote locations or countries not officially supported by Nintendo, will not be able to reap the advantages and Peer to Peer is a much better option.
Here are the pros and cons for the different type of server models.
Dedicated Servers (Server hosted in a data center)
Pros:
- Uses powerful hardware - ensures server performance.
- High bandwidth connection - prevents networking issues.
- No player has an advantage (when equal ping is ensured.
- Clients do not see IP addresses of other clients (VOIP might still reveal them).
Cons: - Expensive for the publisher/studio (unless players can rent servers).
- Many server locations required for low latency connections.
Client as Host
Pros:
- Little extra costs for publishers/studio.
- Players in remote locations can play to together at low latency.
Cons: - Host player has advantage as he also is the server.
- Host uses consumer grade internet. Risk of packet loss and high latency.
- Host might use WiFi. Increases risk of packet loss and high latency.
- High risk of under powered hardware, which leads to networking issues.
- Host migration.
- Host player sees IP addresses of all clients.
- Anti-Cheat.
Peer to Peer (mostly used in fighting games)
No dedicated server/ No client is elected to be the host/server for the match. A dedicated server or one client becomes the "Session Host", handles invites and handshakes. Every client runs its own synchronised simulation.
Pros:
- Little extra costs for publishers/studio.
- Players in remote locations can play together at low latency.
- No "Host Advantage" (known from client hosted matches).
Cons: - Game pauses for a few seconds when the "Session Host" leaves.
- Hit registration responsiveness (probably) different for ever player you engage.
- Every player sees WAN IP address from all the other players of the session.
- Effect of client running on underpowered hardware (simulation).
- Effect of consumer grade internet connections (all clients talk to each other).
- Anti-Cheat (there is no authoritative server).
Source: https://youtu.be/hiHP0N-jMx8?t=10m43s
So as much as I would love dedicated servers I have no faith that Nintendo will support all regions. Ideally Nintendo will allow us to have an option to choose between dedicated and P2P.
Posted Jun 3, 2018, 11:11 AM UTC
"Every client runs its own synchronised simulation." is true for any game mode, even dedicated. Everyone sees a simulation which is belatedly corrected/synchronized via network. That is how (the illusion of) multiplayer works.
If you had two Switches and HDMI recorded them side by side while playing on a remote host (so what Switch A sees of Switch B goes through host with latency), you could check how close to reality is what either of you see and how much of it is a simulation or belated correction of the simulation.
Anyway no one cares how it works. You only notice discrepancies if you see it side by side. For all you know it could really have been like what you saw.
If implemented properly, peer to peer is not any worse than dedicated, but no one makes the effort to optimize net code...
You make good points, but could you elaborate on this one? Wouldn't an equal playing field for all despite using P2P mean that all players would need to be located close enough to the host for variables such as host advantage/host's consumer-grade internet connection/host's extra processing requirements to not be an issue?
Well, dedicated is pushed to be the holy grail solution to all problems but it's far from it. With P2P and provided there are many players, you can find people close to one another; a dedicated server will always be located somewhere, chances somewhere far away from you. Some people will always have great pings others always lousy ones depending where they live, as is the case with any dedicated server system. With P2P it depends on who you play with. Dedicated servers are also easier to target for denial of service and such things, leading to outages.
It's also hard to scale dedicated servers. You'll need lots and lots and lots of them right after release, then it'll perhaps drop down to a fraction of that afterwards as people move on to other games. You could put this in a cloud service but those are usually not the best choice for real-time sensitive stuff.
With peer to peer you can scale player numbers nearly indefinitely, doesn't matter if there are many or relatively few; you only have to solve the lobby problem (how do players find other players) and then once the game is underway, everything else is autonomous from any outside infrastructure. This is a huge plus that is hard to do without.
Extra processing, of that there should be little. Every client is running a full simulation anyways, and every client has to be able to seamlessly take over the host role at any point in time, unless you're lazy and kick all people out instead when the host shuts down or loses connectivity.
There should be code in place to determine network quality and give the host role to whoever has the best connection to all other players. This is a difficult problem but it's not an unsolvable one.
No, the server runs one simulation that all players are subordinate to, instead of each client thinking they shot first.