Skip to content

Add section about event loop#2725

Merged
Kludex merged 2 commits intomainfrom
event-loop-docs
Oct 12, 2025
Merged

Add section about event loop#2725
Kludex merged 2 commits intomainfrom
event-loop-docs

Conversation

@Kludex
Copy link
Owner

@Kludex Kludex commented Oct 11, 2025

No description provided.

Comment on lines +32 to +54
### rloop

[rloop](https://github.com/gi0baro/rloop) is an experimental AsyncIO event loop implemented in Rust on top of the [mio](https://github.com/tokio-rs/mio) crate. It aims to provide high performance through Rust's systems programming capabilities.

You can install it with:

=== "pip"
```bash
pip install rloop
```
=== "uv"
```bash
uv add rloop
```

You can run `uvicorn` with `rloop` with the following command:

```bash
uvicorn main:app --loop rloop:new_event_loop
```

!!! warning "Experimental"
rloop is currently **experimental** and **not suited for production usage**. It is only available on **Unix systems**.
Copy link
Owner Author

@Kludex Kludex Oct 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gi0baro va bene cosi?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect ❤️

@Kludex Kludex merged commit 58f28be into main Oct 12, 2025
16 checks passed
@Kludex Kludex deleted the event-loop-docs branch October 12, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants