Zero-copy networking
- Dominant language
- C++
- Stars
- 16.7k
- Forks
- 1.6k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 126
Description
Linux has somewhat recently introduced zero-copy networking primitives that we might be able to take advantage of.
Sending: https://lwn.net/Articles/726917/
Receiving: https://lwn.net/Articles/752188/
Commentary suggests that it's only helpful for some workloads dealing with large amounts of data, and gives feedback as to when its not being helpful or results in a copy anyway. But it should be easy for us to implement as it should only change arena lifetime, I think.
Contributor guide
Research direction
No source files, tests, or entry points are named. Start by reading the linked LWN articles, then locate FoundationDB's Linux networking send and receive paths and determine how arena lifetime would need to change. Done should include zero-copy behavior where beneficial and evidence for workloads where it is not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- networking, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100