Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: any thoughts on reliable UDP or QUIC? And QoS? #717

Open
jaredthirsk opened this issue Nov 24, 2023 · 2 comments
Open

Question: any thoughts on reliable UDP or QUIC? And QoS? #717

jaredthirsk opened this issue Nov 24, 2023 · 2 comments

Comments

@jaredthirsk
Copy link

jaredthirsk commented Nov 24, 2023

(I would post this as a discussion but it doesn't seem to be enabled for this repo.)

My understanding is most action games historically prefer some sort of reliable UDP, instead of TCP, because if packets are lost in a TCP connection, it has a head of line blocking problem which slows things down.

Is there any desire from Cysharp to consider this sort of functionality?

  • reliable UDP or QUIC support
  • Quality of Service: choosing a delivery mode (perhaps as an optional parameter on MagicOnion's .Connect()): at least once, at most once, exactly once

Note that there is a Microsoft QUIC implementation exposed to C# here:
https://github.com/microsoft/msquic
https://en.wikipedia.org/wiki/QUIC

[Edit: maybe I should be looking at this instead? https://github.com/RevenantX/LiteNetLib]

Suggested course of action:

  1. Say "no", there are no plans for QUIC or reliable UDP (or yes)
  2. Close this issue
Copy link
Contributor

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale stale not updated issue & pr label May 24, 2024
@jaredthirsk
Copy link
Author

I looked at this more, and I wonder if one ideal approach would be to put MagicOnion's RPC over LiteNetLib (or similar) as the transport.

It looks like the transport might be able to be swapped out, but after a bit of looking I couldn't quite figure out how to do it yet.

Has anyone else thought about something like this?

@github-actions github-actions bot removed the stale stale not updated issue & pr label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant