Update README

This commit is contained in:
Joakim Frostegård 2021-11-18 22:51:19 +01:00
parent 07b959c9d4
commit 96c5775ecc

View file

@ -25,8 +25,8 @@ of sub-implementations for different protocols:
- Install Rust with [rustup](https://rustup.rs/) (stable is recommended) - Install Rust with [rustup](https://rustup.rs/) (stable is recommended)
- Install cmake with your package manager (e.g., `apt-get install cmake`) - Install cmake with your package manager (e.g., `apt-get install cmake`)
- Unless you're planning to only run aquatic_udp and only the cross-platform, - Unless you're planning to only run the cross-platform mio based
mio based implementation, make sure locked memory limits are sufficient. implementations, make sure locked memory limits are sufficient.
You can do this by adding the following lines to `/etc/security/limits.conf`, You can do this by adding the following lines to `/etc/security/limits.conf`,
and then logging out and back in: and then logging out and back in:
@ -118,8 +118,7 @@ except that it:
source IP is always used. source IP is always used.
* Doesn't track of the number of torrent downloads (0 is always sent). * Doesn't track of the number of torrent downloads (0 is always sent).
Supports IPv4 and IPv6 (BitTorrent UDP protocol doesn't support IPv6 very well, Supports IPv4 and IPv6.
however.)
#### Performance #### Performance
@ -130,6 +129,12 @@ More details are available [here](./documents/aquatic-udp-load-test-2021-11-08.p
Since making this benchmark, I have improved the mio-based implementation Since making this benchmark, I have improved the mio-based implementation
considerably and removed the glommio-based implementation. considerably and removed the glommio-based implementation.
#### Optimisation attempts that didn't work out
* Using glommio
* Using io-uring
* Using zerocopy + vectored sends for responses
### aquatic_http: HTTP BitTorrent tracker ### aquatic_http: HTTP BitTorrent tracker
[HTTP BitTorrent protocol]: https://wiki.theory.org/index.php/BitTorrentSpecification#Tracker_HTTP.2FHTTPS_Protocol [HTTP BitTorrent protocol]: https://wiki.theory.org/index.php/BitTorrentSpecification#Tracker_HTTP.2FHTTPS_Protocol