python-trio / python-trio/trio

Consider io_uring as an alternative to epoll

Open
#932 42 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

low-level
Dominant language
Python
Stars
7.3k
Forks
431
Avg merge
2d 17h
Merged PRs (30d)
6

Description

io_submit() is not async but it allows batching of syscalls which may or may not be better for a user's usecase.

Should we introduce an IOManager which utilizes it?

Read more here.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reading the linked Cloudflare article and comparing io_submit/io_uring with epoll in the context of Trio's async I/O model. The issue names no files or tests; done would require a maintainer-approved decision and a scoped IOManager design or implementation plan.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
networking, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.