Commit graph

800 commits

Author SHA1 Message Date
Joakim Frostegård
d0aa87f99e github actions: rewrite file test action to fix ulimit; add timeouts 2021-10-23 20:13:03 +02:00
Joakim Frostegård
08488f50cd Update TODO 2021-10-23 16:34:41 +02:00
Joakim Frostegård
821608ab50 aquatic_udp: glommio: return scrape stats in correct order 2021-10-23 16:18:47 +02:00
Joakim Frostegård
0e58347ac4 aquatic_udp: move privdrop code to crate root, use in glommio impl 2021-10-23 15:18:05 +02:00
Joakim Frostegård
eafb88c345 aquatic_udp: use const for empty scrape statistics 2021-10-23 15:12:12 +02:00
Joakim Frostegård
32113ea2f3 aquatic_udp: move more announce logic into common code 2021-10-23 15:10:01 +02:00
Joakim Frostegård
c1dd50d0c9 Update TODO 2021-10-23 14:56:58 +02:00
Joakim Frostegård
cbca0e03eb aquatic_udp: glommio: remove comment 2021-10-23 14:56:34 +02:00
Joakim Frostegård
1564291471 Run rustfmt 2021-10-23 14:56:00 +02:00
Joakim Frostegård
3355822422 aquatic_udp: glommio: periodically clean/update pending scrape vars 2021-10-23 14:51:57 +02:00
Joakim Frostegård
96196239f5 aquatic_udp: glommio: mostly implement scrape request support 2021-10-23 14:43:16 +02:00
Joakim Frostegård
08920fce5f WIP: aquatic_udp: glommio: work on handling scrape requests 2021-10-23 14:05:54 +02:00
Joakim Frostegård
d0be89388c aquatic_udp: glommio: read access list on start 2021-10-23 13:04:14 +02:00
Joakim Frostegård
119cd0fe46 Improve common AccessList code 2021-10-23 12:57:00 +02:00
Joakim Frostegård
2732e520f7 aquatic_udp: glommio: improve access list error reporting 2021-10-23 12:48:49 +02:00
Joakim Frostegård
072f064138 Run cargo fmt 2021-10-23 12:42:56 +02:00
Joakim Frostegård
aaa609b5f0 aquatic_udp: glommio: use MAX_PACKET_SIZE in network.read_requests 2021-10-23 12:42:20 +02:00
Joakim Frostegård
0d39c93239 aquatic_udp: glommio: run cleaning tasks in network.rs 2021-10-23 12:41:07 +02:00
Joakim Frostegård
1dcc48ee67 aquatic_udp: glommio: setup timer to update peer_valid_until 2021-10-23 12:25:18 +02:00
Joakim Frostegård
184a2c291b
Merge pull request #11 from greatest-ape/core-affinity
Set core affinities in aquatic_udp and aquatic_udp_load_test
2021-10-23 12:12:54 +02:00
Joakim Frostegård
7ccb99ca7e aquatic_udp: glommio: fix core affinity bug 2021-10-22 00:38:22 +02:00
Joakim Frostegård
53ccedc194 aquatic_udp_load_test: set core affinities 2021-10-22 00:15:41 +02:00
Joakim Frostegård
2c4f4a32da aquatic_udp: set core affinities 2021-10-21 20:58:10 +02:00
Joakim Frostegård
2f07ba9898
Merge pull request #10 from greatest-ape/glommio2
add experimental aquatic_udp glommio implementation; improve AccessList code
2021-10-21 16:11:05 +02:00
Joakim Frostegård
b10f7b89e7 aquatic_udp: move code only use in mio impl out of crate::common 2021-10-21 15:41:50 +02:00
Joakim Frostegård
81b7777a4a aquatic_udp: feature-gate glommio version 2021-10-21 15:26:16 +02:00
Joakim Frostegård
047d138b2b aquatic_udp glommio: detach tasks, await them later; add debug logging 2021-10-20 02:06:51 +02:00
Joakim Frostegård
2cc357f2f2 aquatic_udp: glommio: spawn request handlers as tasks 2021-10-20 01:21:07 +02:00
Joakim Frostegård
a853a410b1 Update TODO 2021-10-19 23:10:54 +02:00
Joakim Frostegård
f9ed98f10d aquatic_udp: run rustfmt 2021-10-19 23:09:54 +02:00
Joakim Frostegård
02889e1bb8 aquatic_udp: glommio: move update_access_list to new common.rs 2021-10-19 23:04:51 +02:00
Joakim Frostegård
bfcdc1c842 aquatic_udp glommio: improve AccessList update code 2021-10-19 22:59:28 +02:00
Joakim Frostegård
38617c70f4 Refactor AccessList; update it periodically in aquatic_udp glommio 2021-10-19 22:52:31 +02:00
Joakim Frostegård
cad3618fad aquatic_udp: glommio: start work on periodic cleaning 2021-10-19 11:54:00 +02:00
Joakim Frostegård
b5aa07c21f aquatic_udp: glommio networking: use task-per-receiver 2021-10-19 11:20:59 +02:00
Joakim Frostegård
68b2bdd4a6 aquatic_udp: do task-per-receiver in glommio handlers 2021-10-19 10:51:49 +02:00
Joakim Frostegård
63c03a95d5 Update TODO 2021-10-19 02:26:54 +02:00
Joakim Frostegård
9dc615a8f9 aquatic_udp: glommio: add yield_if_needed(), add comment 2021-10-19 02:11:27 +02:00
Joakim Frostegård
93907822f8 aquatic_udp: use StreamExt::or when receiving from channels 2021-10-19 02:03:23 +02:00
Joakim Frostegård
c6ba1bc61c aquatic_udp: glommio: start executors in mod.rs, update TODO 2021-10-19 01:53:47 +02:00
Joakim Frostegård
3aebdfda8a aquatic_udp: more work on splitting mio and glommio logic 2021-10-19 01:40:06 +02:00
Joakim Frostegård
4a8651e1c6 aquatic_udp: use mesh in glommio version 2021-10-19 01:02:33 +02:00
Joakim Frostegård
f28808b30c aquatic_udp: add todo comments 2021-10-18 23:23:27 +02:00
Joakim Frostegård
80754ab4ad aquatic_udp: start work on announce handler in glommio version 2021-10-18 23:18:21 +02:00
Joakim Frostegård
f2b157a149 aquatic_udp: split some code into mio and glommio versions 2021-10-18 22:51:53 +02:00
Joakim Frostegård
65ef9a8ab2
Merge pull request #9 from greatest-ape/udp-handle-connect-in-socket-workers
aquatic_udp: handle connection checking in socket workers, other improvements
2021-10-18 12:09:07 +02:00
Joakim Frostegård
fc0c2b7c1c aquatic_udp_bench: update example outputs in top-level comment 2021-10-18 11:35:18 +02:00
Joakim Frostegård
9aa783fbb1 aquatic_udp: stop counting readable events for statistics
It is not very informative and might be expensive
2021-10-18 11:15:59 +02:00
Joakim Frostegård
90d60108c1 aquatic_udp: innetwork, use request_sender.try_send; run rustfmt 2021-10-18 11:10:56 +02:00
Joakim Frostegård
07a453b6b3 aquatic_udp: in network request reading, send on to channel directly 2021-10-18 11:06:07 +02:00