Commit graph

118 commits

Author SHA1 Message Date
Joakim Frostegård
a62b2033a5 ws: avoid X-Forwarded-For parsing since we only need to know IPv4/IPv6 2022-07-19 16:12:00 +02:00
Joakim Frostegård
a16ce91d46 ws: make TLS optional, allow HTTP health checks without TLS only 2022-07-18 23:23:36 +02:00
Joakim Frostegård
91573f47b5 README: link to explodie tracker stats, change requests/s number 2022-07-05 13:27:11 +02:00
Joakim Frostegård
7fb68ef52d README and architecture svg: rename request worker to swarm worker 2022-07-04 12:00:45 +02:00
Joakim Frostegård
a1f11891f8 Add aquatic_http performance load test documents, show in README 2022-04-12 17:40:21 +02:00
Joakim Frostegård
285296865c
Improve README 2022-04-12 17:32:18 +02:00
Joakim Frostegård
d8a2e7fa87
README: link to explodie.org 2022-04-11 14:37:49 +02:00
Joakim Frostegård
bf456b002b README: mention announce URL structure in usage section 2022-04-07 22:53:29 +02:00
Joakim Frostegård
adc2d1d900 Add new WebTorrent load test, show results in README 2022-03-31 12:19:34 +02:00
Joakim Frostegård
5057ba73bd
README: add aquatic_ws worker proportion guidelines 2022-03-30 17:07:26 +02:00
Joakim Frostegård
2fdb45ed2c
README: update info on locked memory limits 2022-03-30 02:06:23 +02:00
Joakim Frostegård
cf6a11f3ca
README: improve worker number table 2022-03-27 15:42:50 +02:00
Joakim Frostegård
488eb4c692
README: write about configuring worker counts 2022-03-27 12:17:50 +02:00
Joakim Frostegård
3839fd7d4f README: improve wording 2022-03-26 23:08:13 +01:00
Joakim Frostegård
05bbfbc879 README: mention CI testing of full file transfers 2022-03-26 23:03:27 +01:00
Joakim Frostegård
56b08f09e6 README: rewrite usage section 2022-03-26 22:41:45 +01:00
Joakim Frostegård
b0f17633d5 README: move down architectural overview, other fixes 2022-03-26 22:27:41 +01:00
Joakim Frostegård
a9635bb713 README: improve "features at a glance" 2022-03-26 22:23:06 +01:00
Joakim Frostegård
205d5a9ee9
README: add short features section, improve wording (#59) 2022-03-26 19:37:25 +01:00
Joakim Frostegård
7180318abb access list: rename white to allow, black to deny 2022-03-26 11:18:19 +01:00
Joakim Frostegård
b16647c8dd README: move memlock stuff down to Running header 2022-03-20 20:47:39 +01:00
Joakim Frostegård
b4c07e5005 README: update to account for removal of mio version of aquatic_ws 2022-03-18 15:18:13 +01:00
Joakim Frostegård
e9ced08547 README: fix typos 2022-02-20 01:58:00 +01:00
Joakim Frostegård
903010dbe1 udp: use action 1 for IPv6 announce responses; refactor protocol code
According to BEP015, action 1 is to be used.
2022-02-20 01:35:24 +01:00
Joakim Frostegård
f7e0f61119
Add architectural overview svg to README (#48) 2022-02-02 16:46:09 +01:00
Joakim Frostegård
4efe6dbb31 README: mention specific BEPs, other minor improvements 2022-02-02 15:49:55 +01:00
Joakim Frostegård
9209a3ee01
README: improve title 2022-01-31 20:08:17 +01:00
Joakim Frostegård
88deed89a7 README: use more descriptive title 2022-01-31 20:05:35 +01:00
Joakim Frostegård
700dd68d2c
udp scrape improvements (#43)
* udp_protocol: forbid full scrapes

* udp: improve PendingScrapeResponseMap logging

* udp: PendingScrapeResponseMap: store less data, improve logging

* udp: PendingScrapeResponseMap: log if replacing entry on insert

* udp: PendingScrapeResponseMap: use remote addr in key

* Run cargo fmt

* README: update copyright end year

* udp: move scrape request splitting logic into PendingScrapeResponseMap

* udp: add quickcheck test test_pending_scrape_response_map

* udp protocol: fix failing test_scrape_request_convert_identity
2022-01-06 11:48:16 +01:00
Joakim Frostegård
a208775104
Include documentation in printed config files (#41)
* Start work on printing toml config with comments

* WIP: toml_config: extract default values for fields

* WIP: toml_config: handle single-level nested structs

* WIP: toml_config: improve comment handling, std type trait impls

* WIP: toml_config: add Private trait, improve comment handling, clean up

* toml_config: fix default value bug; improve tests

* Use toml_config in all applicable crates; add toml_config enum support

* toml_config: improve comments

* toml_config_derive: support enum comments

* Improve config comments for udp, cli_helpers, common

* Improve config comments

* Add tests for Config struct TomlConfig implementations

* Improve Config comments

* Improve Config comments

* ws, http: add config comments for tls cert and private key lines

* small fixes to toml_config and toml_config_derive

* Run cargo fmt

* Fix typo in several config comments

* Update README

* Update README
2021-12-26 11:33:27 +01:00
Joakim Frostegård
b2f0347876
README.md: move TLS setup section, general improvements 2021-12-17 01:32:57 +01:00
Joakim Frostegård
22f6d869d3
README: remove ws benchmarks, since implementation changed 2021-12-16 17:03:30 +01:00
Joakim Frostegård
67c4c02bbd
aquatic_ws: mio: replace native_tls with rustls, rewrite connection state logic completely (#38)
* ws: mio: use rustls, rewrite Connection logic

* ws: mio: improve poll register/deregister handling

* ws: mio: work on type-level poll registry safety

* ws: mio: use stronger poll registry type-level guarantees

* ws: mio: fix stream reading

* ws: clean up, run fmt

* ws: mio: don't require registered connection for writing, improve docs

* ws: mio: add Connection::get_meta(), make Connection::meta private

* ws: mio: add ConnectionMap struct; remove utils.rs

* ws: mio: move token counter into ConnectionMap, improve docs

* ws: mio: connection: move Connection struct above state structs

* Update TODO

* ws: fix build errors

* ws: upgrade to tungstenite 0.16

* ws load test: don't panic on Close message; print shorter errors

* ws: fix socket worker bugs, add log statements

* ws: mio: wait for write availability if would block for ws messages

* Update README

* ws: mio: limit channels & queues; read 1 message only; other fixes

* ws: mio: send local responses each event; decrease channel size

* Update TODO

* ws: mio: limit ws send queue, fixing memory leak; limit pending messages

Also change some log output levels and run rustfmt

* Update TODO

* Update TODO
2021-12-16 16:09:36 +01:00
Joakim Frostegård
8bd32fdb05 README: fix reference to config.rs files 2021-11-29 11:04:34 +01:00
Joakim Frostegård
8dc0ba34ad Add new udp benchmarks, update README 2021-11-28 12:50:15 +01:00
Joakim Frostegård
ee79464053 Update README 2021-11-20 15:13:57 +01:00
Joakim Frostegård
96c5775ecc Update README 2021-11-18 22:51:19 +01:00
Joakim Frostegård
fb5d0b1302 README: update to reflect that aquatic_udp glommio impl was removed 2021-11-18 22:42:37 +01:00
Joakim Frostegård
a88c9e0ca9 README: various fixes and improvements 2021-11-08 12:48:38 +01:00
Joakim Frostegård
956a725ac6 Add new UDP tracker comparison, use in README 2021-11-08 12:45:16 +01:00
Joakim Frostegård
91a62ab73a README: add instructions for building ws with glommio 2021-11-05 14:32:21 +01:00
Joakim Frostegård
062896219d Update README to reflect that ws mio is now default impl 2021-11-05 13:49:57 +01:00
Joakim Frostegård
8531e12d0e README: mention ws glommio performance regressions, link to old commit 2021-11-05 11:57:26 +01:00
Joakim Frostegård
18e6c5398d README: elaborate on access list; replace cross-platform with unix-like 2021-11-02 23:41:55 +01:00
Joakim Frostegård
f7b7005e9a Update README 2021-11-02 21:18:12 +01:00
Joakim Frostegård
eb304059cc README: mention enabling CPU extensions 2021-11-02 16:13:50 +01:00
Joakim Frostegård
eb2c294300 Improve README 2021-11-02 00:47:34 +01:00
Joakim Frostegård
93d4e43cfa README: mention need to raise memlock limits 2021-11-02 00:05:59 +01:00
Joakim Frostegård
ca415af2b9 README: update aquatic_ws info to reflect new glommio implementation 2021-11-01 19:33:45 +01:00
Joakim Frostegård
2deadb2fff README: improve info on libssl-dev installation 2021-10-28 18:39:00 +02:00