Joakim Frostegård
|
9b032f7e24
|
Move all crates to new crates dir
|
2023-10-18 23:53:41 +02:00 |
|
Joakim Frostegård
|
fe8fce94ce
|
udp: update constant_time_eq to v0.3.0
|
2023-08-28 23:36:25 +02:00 |
|
Joakim Frostegård
|
10cd6f9a38
|
udp: integration: add access list tests
|
2023-08-27 19:04:43 +02:00 |
|
Joakim Frostegård
|
7f01f4024a
|
Upgrade hashbrown and indexmap crates
|
2023-07-30 20:32:30 +02:00 |
|
Joakim Frostegård
|
da25d60a5d
|
udp: improve peer client statistics
|
2023-06-08 01:06:19 +02:00 |
|
Joakim Frostegård
|
467f75e1fb
|
udp: use prettier formatting for html peer client count output
|
2023-06-07 13:39:38 +02:00 |
|
Joakim Frostegård
|
a74d6aa458
|
udp: initial support for listing peer clients
|
2023-06-06 01:04:37 +02:00 |
|
Joakim Frostegård
|
8734855c49
|
Upgrade metrics, metrics-exporter, tungstenite & async-tungstenite
|
2023-06-03 18:03:51 +02:00 |
|
Joakim Frostegård
|
67f765f003
|
Upgrade io-uring to v0.6
|
2023-04-10 00:53:56 +02:00 |
|
Joakim Frostegård
|
a0255ff919
|
Upgrade socket2 to v0.5
|
2023-04-10 00:49:55 +02:00 |
|
Joakim Frostegård
|
2e67f11caf
|
udp: add experimental io_uring implementation (#131)
* WIP: add udp uring support
* WIP: fix udp uring address parsing
* WIP: udp uring: resubmit recv when needed
* WIP: udp uring: add OutMessageStorage, send swarm responses
* WIP: udp uring: increase ring entries to 1024
* WIP: udp uring: add constants
* WIP: udp uring: use sqpoll, avoid kernel calls
* WIP: udp uring: disable sqpoll
* WIP: udp uring: use VecDeque for local responses
* udp uring: enable setup_coop_taskrun
* udp uring: add RecvMsgStorage
* udp: improve split of uring and mio implementations
* udp uring: clean up
* udp uring: initial ipv6 support
* udp uring: improve helper structs
* udp uring: clean up, use constants for important data
* udp: share create_socket fn between implementations
* udp uring: improve send buffer free index finding
* udp uring: work on SendBuffers.try_add
* udp uring: split into modules
* udp uring: Rename RecvMsgMultiHelper to RecvHelper
* udp uring: improve SendBuffers
* udp uring: fix copyright attribution in buf_ring module
* udp uring: stop always consuming 100% cpu
* udp uring: clean up
* udp uring: add handle_recv_cqe
* udp uring: move local_responses into SocketWorker
* udp uring: move timeout_timespec into SocketWorker
* Update TODO
* udp: make io-uring optional
* Update TODO
* udp uring: enqueue timeout before sends
* udp uring: move likely empty buffer tracking logic into SendBuffers
* udp uring: improve error handling and logging
* udp uring: keep one timeout submitted at a time
* udp uring: update pending_scrape_valid_until
* udp uring: add second timeout for cleaning
* Update TODO
* udp uring: store resubmittable squeue entries in a Vec
* udp uring: add comment, remove a log statement
* Update TODO
* Update TODO
* udp: io_uring: fall back to mio if io_uring support not recent enough
* udp: uring: add bytes_received statistics
* udp: uring: add bytes_sent statistics
* udp: uring: add more statistics
* Update TODO
* udp: uring: improve SendBuffers code
* udp: uring: remove unneeded squeue sync calls
* udp: uring: replace buf_ring impl with one from tokio-uring
* udp: uring: store ring in TLS so it can be used in Drop impls
* udp: uring: store BufRing in SocketWorker
* udp: uring: silence buf_ring dead code warnings, improve comment
* Update TODO
* udp: uring: improve CurrentRing docs, use anonymous struct field
* udp: uring: improve ring setup
* udp: uring: get ipv6 working
* udp: uring: make ring entry count configurable, use more send entries
* udp: uring: log number of pending responses (info level)
* udp: uring: improve comment on send_buffer_entries calculation
* udp: improve config comments
* udp: uring: add to responses stats when they are confirmed as sent
* Update TODO
* udp: uring: enable IoUring setup_submit_all
* Update README
|
2023-03-07 19:01:37 +01:00 |
|
Joakim Frostegård
|
07eac06a36
|
Enable prometheus by default, update README
|
2023-02-26 12:10:12 +01:00 |
|
Joakim Frostegård
|
5276a919da
|
udp: add prometheus support
|
2023-02-26 11:57:00 +01:00 |
|
Joakim Frostegård
|
9ace8f53b8
|
Upgrade hashbrown to version 0.13
|
2022-11-12 14:37:53 +01:00 |
|
Joakim Frostegård
|
65a8c9d6ff
|
Use Rust 1.64 workspace inheritance
|
2022-09-25 11:40:43 +02:00 |
|
Joakim Frostegård
|
f0e0a84088
|
udp: add optional peers per torrent statistics
|
2022-08-06 13:56:19 +02:00 |
|
Joakim Frostegård
|
ff071080b0
|
udp: improve resend buffer logic and log messages
|
2022-07-03 22:24:58 +02:00 |
|
Joakim Frostegård
|
5cfd270ab7
|
udp: add optional resending buffer for responses that failed to send
|
2022-06-28 00:56:29 +02:00 |
|
Joakim Frostegård
|
945ff41ef2
|
Update crate descriptions
|
2022-06-27 22:44:45 +02:00 |
|
Joakim Frostegård
|
64452503e7
|
aquatic_udp: use constant_time_eq crate for ConnectionValidator
Crate is used in official blake3 implementation.
Improves speed and removed need for error-prone custom assembly.
|
2022-04-15 23:45:12 +02:00 |
|
Joakim Frostegård
|
9479828b4a
|
udp: PendingScrapeResponseSlab: use normal hashmap instead of amortized
|
2022-04-14 17:24:33 +02:00 |
|
Joakim Frostegård
|
38eecaeef2
|
udp: remove traits-preview feature from blake3 dependency
|
2022-04-13 23:46:47 +02:00 |
|
Joakim Frostegård
|
dc4523ede5
|
udp: start work on HMAC connection ID generation and validation
|
2022-04-13 21:27:42 +02:00 |
|
Joakim Frostegård
|
c229872134
|
Use idiomatic feature names & namespace support from Rust 1.60
|
2022-04-10 01:25:03 +02:00 |
|
Joakim Frostegård
|
bd6764afaf
|
Move aquatic_cli_helpers code into aquatic_common and remove crate
|
2022-04-06 19:02:39 +02:00 |
|
Joakim Frostegård
|
908e18360c
|
Merge branch 'master' into cpu-pinning-2022-03-30
|
2022-04-04 22:49:25 +02:00 |
|
Joakim Frostegård
|
c18a59b0cb
|
Use proper workspace path declarations, remove workspace patch section
|
2022-04-04 12:46:42 +02:00 |
|
Joakim Frostegård
|
fb607ac0c2
|
Improve CPU pinning
|
2022-03-30 22:53:15 +02:00 |
|
Joakim Frostegård
|
d78b0fa31e
|
Bump version to 0.2.0 for all aquatic crates
|
2022-03-26 11:39:37 +01:00 |
|
Joakim Frostegård
|
90437e23bb
|
Cargo.toml files: add readme keys, remove some exclude keys
|
2022-03-26 11:39:04 +01:00 |
|
Joakim Frostegård
|
a9f1aeb70c
|
Add crate keywords, update descriptions
|
2022-03-20 20:41:56 +01:00 |
|
Joakim Frostegård
|
83987563ec
|
udp: replace dependency "chrono" with "time"
|
2022-03-20 19:57:44 +01:00 |
|
Joakim Frostegård
|
3785e57513
|
Sort dependencies in Cargo.toml files
|
2022-02-20 01:44:34 +01:00 |
|
Joakim Frostegård
|
14a4c10546
|
s/toml_config/aquatic_toml_config/
|
2022-02-19 15:11:00 +01:00 |
|
Joakim Frostegård
|
5e8777d2e2
|
udp, http: remove unused parking_lot dependency
|
2022-02-19 14:13:27 +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
|
f531a246b0
|
udp: support writing statistics html report to file
|
2021-12-21 23:16:48 +01:00 |
|
Joakim Frostegård
|
aa3253fcd6
|
udp: use idiomatic folder structure (lib.rs + main.rs in src)
|
2021-11-27 18:17:25 +01:00 |
|
Joakim Frostegård
|
473276cd46
|
Switch to rust edition 2021
|
2021-11-24 18:56:26 +01:00 |
|
Joakim Frostegård
|
fee3c9ca4e
|
Update mio to version 0.8
|
2021-11-19 03:01:03 +01:00 |
|
Joakim Frostegård
|
028a366ce5
|
Don't unnecessarily constrain crate versions in Cargo.toml files
|
2021-11-19 02:45:53 +01:00 |
|
Joakim Frostegård
|
138ae710ef
|
udp: remove io_uring version, it is slower than mio version
|
2021-11-18 22:42:37 +01:00 |
|
Joakim Frostegård
|
99632d4be5
|
udp: implement torrent map cleaning for new, sharded torrent state
|
2021-11-18 22:42:37 +01:00 |
|
Joakim Frostegård
|
4641dd29f2
|
udp: remove glommio implementation
|
2021-11-18 22:42:36 +01:00 |
|
Joakim Frostegård
|
18635bf26c
|
udp: add io-uring implementation
|
2021-11-18 22:42:36 +01:00 |
|
Joakim Frostegård
|
c949bde532
|
WIP: udp io-uring experiments
|
2021-11-18 22:42:11 +01:00 |
|
Joakim Frostegård
|
af8b776937
|
udp, ws: auto-enable cpu-pinning feature when running with glommio
|
2021-11-11 20:54:40 +01:00 |
|
Joakim Frostegård
|
4f8328b70a
|
Feature-gate CPU pinning, since it only works on Linux
|
2021-11-09 11:40:16 +01:00 |
|
Joakim Frostegård
|
aa332ab296
|
aquatic_common, udp, udp load test: improve cpu pinning
|
2021-11-07 11:04:31 +01:00 |
|
Joakim Frostegård
|
b8073e4bd1
|
Replace HashMap and IndexMap with indexmap_amortized
This will hopefully get down latency.
|
2021-11-03 10:35:29 +01:00 |
|