Timeline for ublk integration
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.6k
- Forks
- 438
- PR merge metrics
- No merged PRs in 30d
Description
Context
We're running a self-hosted e2b deployment on high-density nodes (hundreds of cores per node, Linux 6.12). Under heavy sandbox creation load, we noticed NBD block device connection became a significant bottleneck.
What we did
We forked the infra repo and replaced the NBD-based block device path with a ublk-based implementation. The NBD client/server socket overhead is eliminated — ublk communicates with the kernel via io_uring, avoiding the network stack entirely.
Results
- NBD: ~300ms block device connection latency
- ublk: ~10ms block device connection latency
The improvement is especially pronounced on high-core-count machines, where kernel socket contention under NBD scaled poorly with concurrent sandbox starts.
Question
We noticed the e2b-dev/ublk-go repo has been under active development. Is there a timeline or tracking issue for integrating ublk into the main infra repo? We'd be happy to contribute our patches or share more detailed benchmarks if that would be helpful.
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 reviewing the main runtime infrastructure repository and the referenced e2b-dev/ublk-go repository, then compare them with the reported NBD and ublk approaches. A useful outcome would be a confirmed integration plan or tracking issue, with the offered patches and benchmarks evaluated by maintainers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- infrastructure, operating-systems, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100