Commit graph

81 commits

Author SHA1 Message Date
yggverse
7a62417d18 fix vector init 2025-07-08 01:54:47 +03:00
yggverse
7d00f0750f implement binary info-hash api 2025-07-08 01:41:06 +03:00
yggverse
4b473a63bc implement info-hash JSON/API #226 2025-06-03 14:50:32 +03:00
Joakim Frostegård
2df331c5ab udp: don't add messages to resend queue more than once (bugfix) 2025-02-03 00:08:30 +01:00
Joakim Frostegård
048c297fc7
udp: open one socket each for IPv4 and IPv6 (#220)
* tmp work on udp double sockets

* WIP: udp: open two sockets (one for ipv4, one for ipv6)

io_uring not ported yet

* udp: open one socket each for IPv4 and IPv6

Config file now has one setting for each

* file transfer ci: fix udp network.address_ipv4
2025-01-16 20:13:28 +01:00
Joakim Frostegård
0eb66f150c Improve network address config documentation, update TODO 2025-01-13 22:14:15 +01:00
Joakim Frostegård
24897dd73d Improve documentation around IPv4/IPv6 address binding 2025-01-12 23:09:05 +01:00
Joakim Frostegård
fe4761d289 udp: update io_uring dependency 2025-01-12 22:41:06 +01:00
Joakim Frostegård
edc85a0f66 Update more deps 2025-01-12 22:22:25 +01:00
Joakim Frostegård
19448fbc84 Upgrade metrics dependencies 2025-01-12 22:15:27 +01:00
Joakim Frostegård
ea06ffd513 Update to hashbrown v0.15 2025-01-12 22:10:29 +01:00
Joakim Frostegård
67210fbb10 Fix some README typos 2024-05-03 22:51:19 +02:00
Joakim Frostegård
19df20e03f Fully remove udp cpu pinning support 2024-05-03 22:49:20 +02:00
Joakim Frostegård
7795a1a532 Make mimalloc optional for udp and http 2024-05-03 22:38:25 +02:00
Val Packett
2d18eb6686 udp: fix msghdr creation on musl libc
Right now building for musl also requires updating glommio to a git
version.
2024-03-30 10:31:16 +01:00
Joakim Frostegård
61bc4f0d9d udp: swarm: extract_response_peers: improve docs, add .copied() to iters 2024-02-11 01:02:16 +01:00
Joakim Frostegård
f455e58251 udp: swarm cleaning: send statistics messages after releasing locks 2024-02-11 00:59:23 +01:00
Joakim Frostegård
14c973f72f udp: Config.socket_workers: make value 0 auto-use available vCPUs 2024-02-10 23:07:59 +01:00
Joakim Frostegård
f4ef9fcfc9 udp: fix test_connection_validator 2024-02-10 22:56:37 +01:00
Joakim Frostegård
680da048b8 udp: add ConnectionValidator.update_elapsed, call regularly
This is faster than doing it for each request
2024-02-10 22:47:36 +01:00
Joakim Frostegård
94247b8e35 udp: mio: don't recalculate PeerUntil every announce request 2024-02-10 22:22:19 +01:00
Joakim Frostegård
19533b3f8e udp: mio: make send_response a method 2024-02-10 22:13:01 +01:00
Joakim Frostegård
7116fdd862 udp: io_uring: improve docs 2024-02-10 21:55:39 +01:00
Joakim Frostegård
b1908329e5 udp: improve config docs and key order 2024-02-10 21:48:55 +01:00
Joakim Frostegård
ebf4ecbf6a udp: fix torrent count statistics 2024-02-10 21:45:34 +01:00
Joakim Frostegård
68e951cf79 Improve udp README and latest load test md 2024-02-10 21:29:12 +01:00
Joakim Frostegård
a7ad3266d8 Update UDP benchmarks 2024-02-10 21:22:49 +01:00
Joakim Frostegård
2c7bcf71ad bencher: change to account for new aquatic_udp implementation 2024-02-10 18:51:13 +01:00
Joakim Frostegård
358c8951c0 udp: improve udp uring code 2024-02-10 18:06:42 +01:00
Joakim Frostegård
6d784c25e9 udp: remove pending scrape config stuff, adjust io uring code 2024-02-10 15:56:34 +01:00
Joakim Frostegård
71a3cb9a5a udp: remove socket_worker config, adjust other code, fix statistics 2024-02-10 15:54:26 +01:00
Joakim Frostegård
c4fd3c9e83 udp: add cleaning worker 2024-02-10 15:48:09 +01:00
Joakim Frostegård
7fa143964e udp: remove swarm worker and related logic 2024-02-10 11:40:11 +01:00
Joakim Frostegård
a2e1dd4eef udp: use shared swarm state in io uring implementation 2024-02-10 11:35:52 +01:00
Joakim Frostegård
2da966098f WIP: use shared swarm state in mio worker 2024-02-10 11:21:48 +01:00
Joakim Frostegård
53497308f1 udp: create file with thread-shared torrent map implementation 2024-02-10 10:01:45 +01:00
Joakim Frostegård
c980c23ffc bencher: also bench aquatic_udp with io_uring 2024-02-09 01:21:24 +01:00
Joakim Frostegård
37e4514427 udp: change default max_response_peers to 30 2024-02-08 10:08:31 +01:00
Joakim Frostegård
7ceb01f1ae udp: change default ring_size to 128 2024-02-08 10:07:44 +01:00
Joakim Frostegård
e705c03981 Explicity use IndexMap::swap_remove to silence warnings 2024-02-06 18:34:17 +01:00
Joakim Frostegård
40e33d8af1 fix prometheus timeout mask metrics 2024-02-04 00:03:01 +01:00
Joakim Frostegård
437f2def7d aquatic_common: feature-gate cpu pinning, remove hwloc feature 2024-02-03 23:16:45 +01:00
Joakim Frostegård
d7e06468c3 http: quit if any worker thread quits 2024-02-03 22:38:05 +01:00
Joakim Frostegård
4ca73630c4 Move prometheus endpoint spawner from udp to common crate 2024-02-03 22:07:56 +01:00
Joakim Frostegård
3513b714b4 udp: consistently use NonZeroU16 for announce request port 2024-02-03 11:46:38 +01:00
Joakim Frostegård
b4e27903dc udp: actually register global metrics handler 2024-02-02 14:46:42 +01:00
Joakim Frostegård
bbb4c5e411 udp: remove ConnectedRequestSender::any_full method 2024-02-02 14:09:46 +01:00
Joakim Frostegård
c48a83b06a udp: reorder declarations in common.rs 2024-02-02 13:55:57 +01:00
Joakim Frostegård
be5165bcf2 udp: mio socket worker: make send_response plain fn 2024-02-02 13:48:06 +01:00
Joakim Frostegård
405bbaca93 udp: improve statistics structs
- Now, workers don't need to keep track of which atomic usize
  to update
- Additionally, prometheus now gets separate information per
  socket worker
2024-02-02 13:39:46 +01:00