microsoft / microsoft/demikernel
[inetstack] Deduplicate state machine
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
Context
Currently we have one state machine that is used by Catnap and Catloop and then an additional one in the inetstack. This should be deduplicated into one state machine.
Proposed Solution
Add the ability to store state/sockets in the state machine? I think we should be able to store sockets in the state machine and/or addresses depending on the state that the queue/socket is in. This will eliminate the need for the existing state machine in the TCP stack.
Contributor guide
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 the state machines used by Catnap, Catloop, and inetstack, then trace how they store sockets, addresses, and queue state. Done means the duplicate inetstack state machine is replaced by one shared state machine without losing the required TCP state handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- networking
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100