Commit graph

90 commits

Author SHA1 Message Date
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
Joakim Frostegård
b938a6c723 Improve README 2021-10-28 18:29:26 +02:00
Joakim Frostegård
1fca54bfe9 Improve README 2021-10-28 18:25:51 +02:00
Joakim Frostegård
109a3e34f3 README: rewrite and improve 2021-10-28 18:15:12 +02:00
Joakim Frostegård
a24a10c518 README: write implementation list as table 2021-10-28 17:36:11 +02:00
Joakim Frostegård
40eff52f1c README: aquatic_udp glommio version requires Linux 5.8+, not 5.1+ 2021-10-25 00:57:32 +02:00
Joakim Frostegård
a7b29c8deb README: mention aquatic_udp core affinity settings 2021-10-23 22:32:59 +02:00
Joakim Frostegård
a554240ec8 Update README 2021-10-23 22:28:11 +02:00
Joakim Frostegård
1003d82fcf README: improve wording 2021-10-17 22:01:37 +02:00
Joakim Frostegård
fc234643ba README: improve wording 2021-10-17 22:00:11 +02:00
Joakim Frostegård
0281de9187 README: add info about configuring access lists 2021-10-17 21:57:40 +02:00
Joakim Frostegård
436094ca59 Update README 2021-08-19 23:19:57 +02:00
Joakim Frostegård
9c88b85898 Update aquatic_udp benchmarks 2021-08-19 23:15:40 +02:00
Joakim Frostegård
daf1c67027
Update README.md 2021-08-19 12:05:42 +02:00
Joakim Frostegård
9e631ec5ce Add ws load test info PDF; update READMDE 2021-08-19 12:00:41 +02:00
Joakim Frostegård
c0f227b9f9
README: add more aquatic_ws load test results 2021-08-19 11:47:33 +02:00
Joakim Frostegård
f97994b4bb README: fix aquatic_ws benchmark table 2021-08-18 20:06:10 +02:00
Joakim Frostegård
d6e7898fb2 README: update aquatic_ws benchmark section 2021-08-18 19:59:20 +02:00
Joakim Frostegård
482870b174 README: update aquatic_ws benchmark section 2021-08-18 13:14:03 +02:00
Joakim Frostegård
2ac6bd9a22 README: add simple benchmarks for aquatic_ws 2021-08-18 12:33:47 +02:00
Joakim Frostegård
562c0eabd4
Add GitHub CI status badges to README 2021-08-17 13:05:53 +02:00
Joakim Frostegård
a21f8dbc6e README: reword architecture overview section 2021-08-17 11:46:06 +02:00
Joakim Frostegård
83d450e014 README: remove section about lack of wss file transfer CI 2021-08-17 11:39:08 +02:00
Joakim Frostegård
1f0fb07d0f Update README: mention difficulties with testing aquatic_ws 2021-02-10 23:33:11 +01:00
Joakim Frostegård
e6233b3aa0 Update README with copyright 2020-2021 2021-02-10 18:36:23 +01:00
Joakim Frostegård
fbe0400ed8 README: move up aquatic_http section, move TLS info to it 2020-08-17 22:03:31 +02:00
Joakim Frostegård
23a562c1e5 README: make load test section more concise 2020-08-13 02:24:56 +02:00
Joakim Frostegård
b9ab650138 README: don't say http and ws only support single request worker 2020-08-13 01:52:01 +02:00
Joakim Frostegård
639b8db072 README: refer to aquatic master executable in instructions 2020-08-13 00:45:19 +02:00