mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
Update README
This commit is contained in:
parent
630e5c0938
commit
4b7e9c5609
1 changed files with 15 additions and 14 deletions
29
README.md
29
README.md
|
|
@ -13,11 +13,11 @@ of sub-implementations for different protocols:
|
|||
[mio]: https://github.com/tokio-rs/mio
|
||||
[glommio]: https://github.com/DataDog/glommio
|
||||
|
||||
| Name | Protocol | OS requirements |
|
||||
|--------------|----------------------------------------------|------------------------------|
|
||||
| aquatic_udp | [BitTorrent over UDP] | Unix-like (using [mio]) |
|
||||
| aquatic_http | [BitTorrent over HTTP] over TLS ([rustls]) | Linux 5.8+ (using [glommio]) |
|
||||
| aquatic_ws | [WebTorrent], optionally over TLS ([rustls]) | Linux 5.8+ (using [glommio]) |
|
||||
| Name | Protocol | OS requirements |
|
||||
|--------------|-----------------------------------|--------------------------------------|
|
||||
| aquatic_udp | [BitTorrent over UDP] | Unix-like / Linux 6.0+ with io_uring |
|
||||
| aquatic_http | [BitTorrent over HTTP] over TLS | Linux 5.8+ |
|
||||
| aquatic_ws | [WebTorrent], optionally over TLS | Linux 5.8+ |
|
||||
|
||||
Features at a glance:
|
||||
|
||||
|
|
@ -190,22 +190,23 @@ Implements:
|
|||
|
||||
This is the most mature of the implementations. I consider it ready for production use.
|
||||
|
||||
#### Performance
|
||||
|
||||

|
||||
|
||||
More details are available [here](./documents/aquatic-udp-load-test-2023-01-11.pdf).
|
||||
|
||||
#### io_uring
|
||||
|
||||
An experimental io_uring backend can be compiled in by passing the `io-uring`
|
||||
feature. Currently, Linux 6.0 or later is required. The application will
|
||||
attempt to fall back to the mio backend if your kernel is not supported.
|
||||
An experimental io_uring backend can be enabled by passing the `io-uring`
|
||||
feature when compilinig. Currently, Linux 6.0 or later is required. The
|
||||
application will attempt to fall back to the [mio] backend if your kernel is
|
||||
not supported.
|
||||
|
||||
```sh
|
||||
cargo build --release -p aquatic_udp --features "io-uring"
|
||||
```
|
||||
|
||||
#### Performance
|
||||
|
||||

|
||||
|
||||
More details are available [here](./documents/aquatic-udp-load-test-2023-01-11.pdf). The mio backend was used.
|
||||
|
||||
### aquatic_http: HTTP BitTorrent tracker
|
||||
|
||||
[BEP 003]: https://www.bittorrent.org/beps/bep_0003.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue