marigold-dev / marigold-dev/deku
Use UDP instead of HTTP for Networking layer
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 82
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
As mentioned in #440, in order to simplify our networking layer we would like to switch away from HTTP/JSON to UDP/Bin_prot. We would prefer UDP over TCP because we must roll our own acknowledgement scheme for our P2P network, and there is little utility to having TCP's ACK scheme on top of our own. However, it might be simpler to approach moving from HTTP to TCP, and then from TCP to UDP.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading issue #440 and locating the current networking layer that uses HTTP/JSON. Compare the proposed TCP and UDP/Bin_prot paths, including the required acknowledgement scheme; done means the networking layer has a decided and implemented transport approach with its behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- distributed-systems, networking
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100