UDP transport

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start by locating the server's WebSocket transport and where it sends STATE, SNAPSHOT, control messages, and events. The issue leaves protocol choice, handshake and address validation, and encryption open, so first compare suitable transport options and define the design. Done means unreliable unordered state delivery, reliable ordered control and event delivery, and a WebSocket fallback, with the security decisions resolved.

Written by the indexing model from the issue text.

Description

enhancement help wanted networking

State updates go over WebSocket (TCP) today. One lost packet delays everything behind it, which is the wrong trade for positions that are stale a tick later anyway.

Wanted
  • Unreliable, unordered delivery for STATE and SNAPSHOT frames.
  • Reliable, ordered delivery for control messages and events.
  • WebSocket kept as a fallback, since it works through proxies.
Things to decide
  • Build on an existing protocol (QUIC, ENet-style) or a minimal reliability layer of our own?
  • Connection handshake and address validation, so the server cannot be used for amplification.
  • Encryption.
Dominant language
Rust
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodingRule/SixM

All issues in CodingRule/SixM

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.