Commit graph

  • 67e82ebad1 Update TODO Joakim Frostegård 2021-10-27 20:51:38 +02:00
  • 30fa96a7f4 aquatic_ws: use PrivilegeConfig from aquatic_common Joakim Frostegård 2021-10-27 20:50:55 +02:00
  • d6d5cc78b7 udp, http: move privilege drop code into aquatic_common Joakim Frostegård 2021-10-27 20:49:15 +02:00
  • ead7650d41 aquatic_udp: glommio: fix access list update bug Joakim Frostegård 2021-10-27 20:37:32 +02:00
  • af5816e2ab aquatic_http: glommio: periodically update access lists Joakim Frostegård 2021-10-27 20:33:54 +02:00
  • 35b8a1820d Rename CoreAffinityConfig to CpuPinningConfig, rename fields Joakim Frostegård 2021-10-27 20:21:11 +02:00
  • d659117ae5 Move CoreAffinityConfig to aquatic_common, use in glommio http Joakim Frostegård 2021-10-27 20:19:02 +02:00
  • 8747f8de4e aquatic_udp: glommio: limit request size, use array as buffer Joakim Frostegård 2021-10-27 14:28:15 +02:00
  • dd968821e4 aquatic_udp: glommio: refactor networking for less state in Connection Joakim Frostegård 2021-10-27 14:07:49 +02:00
  • 6404be8ef8 aquatic_http: glommio: add access list, refactor networking slightly Joakim Frostegård 2021-10-27 13:55:17 +02:00
  • 1a4e5750a3 aquatic_http: glommio: periodically remove closed connections Joakim Frostegård 2021-10-27 13:19:02 +02:00
  • 00e77e8655 Update TODO Joakim Frostegård 2021-10-27 12:35:03 +02:00
  • 9bea7c0898 aquatic_http: glommio: deallocate request buffer after successful parse Joakim Frostegård 2021-10-27 12:30:44 +02:00
  • c9233726ab Run cargo fmt Joakim Frostegård 2021-10-27 12:24:27 +02:00
  • 92fc427665 Update TODO Joakim Frostegård 2021-10-27 12:23:56 +02:00
  • e7305114ad aquatic_http: glommio: panic if request receiver channel is closed Joakim Frostegård 2021-10-27 12:22:01 +02:00
  • c02f8f228e aquatic_http_protocol: fail scrape parse with no info hashes Joakim Frostegård 2021-10-27 12:14:14 +02:00
  • b7d61cecd9 aquatic_http: glommio: implement scrape requests Joakim Frostegård 2021-10-27 12:13:54 +02:00
  • 9693119624 Update TODO Joakim Frostegård 2021-10-27 02:02:16 +02:00
  • 3e912bb379 aquatic_http: glommio: fix channel join deadlock in network.rs Joakim Frostegård 2021-10-27 01:52:49 +02:00
  • bbf781ddd6 Update TODO Joakim Frostegård 2021-10-27 01:44:17 +02:00
  • d03bf48433 aquatic_http glommio: various fixes to network code Joakim Frostegård 2021-10-27 01:03:31 +02:00
  • 17412868b9 Run cargo fmt Joakim Frostegård 2021-10-27 00:47:46 +02:00
  • 8f0dabc706 aquatic_http: work on glommio request handlers Joakim Frostegård 2021-10-27 00:38:53 +02:00
  • 4fc1509a79 aquatic_http: improve mio and common request handling code Joakim Frostegård 2021-10-26 23:40:11 +02:00
  • ea2366c808 aquatic_http: simplify mio request handler Joakim Frostegård 2021-10-26 23:38:15 +02:00
  • ce8d1ba0d6 aquatic_http: move much logic formerly in mio module into common mod Joakim Frostegård 2021-10-26 23:33:08 +02:00
  • 8a66b5ce69 aquatic_udp: glommio: return Request in read_tls to reduce state Joakim Frostegård 2021-10-26 22:21:38 +02:00
  • 636a434ca6 aquatic_http: glommio: unless keep_alive set, close after send Joakim Frostegård 2021-10-26 21:59:40 +02:00
  • eebfa69c70 aquatic_http: work on glommio network implementation Joakim Frostegård 2021-10-26 21:54:41 +02:00
  • 96593c97fc WIP: aquatic_http glommio work Joakim Frostegård 2021-10-26 21:12:34 +02:00
  • 79bbf957c0 add scripts/gen-tls.sh for generating snakeoil tls cert & key Joakim Frostegård 2021-10-26 19:39:05 +02:00
  • 7fd2d4c42e aquatic_http glommio: modify tls config and file parsing Joakim Frostegård 2021-10-26 19:38:37 +02:00
  • 02735ba2ff aquatic_http: glommio: actually start socket workers Joakim Frostegård 2021-10-26 19:09:17 +02:00
  • 614dea755b README: mention that release mode should be used for glommio build Joakim Frostegård 2021-10-26 19:05:00 +02:00
  • 03b8f3e5c5 WIP: aquatic_udp glommio Joakim Frostegård 2021-10-26 18:45:09 +02:00
  • dcb03f42e7 WIP: aquatic http glommio Joakim Frostegård 2021-10-26 18:18:35 +02:00
  • ef10c4f366 WIP: aquatic http glommio Joakim Frostegård 2021-10-26 17:29:21 +02:00
  • 34bc4046b7 WIP: aquatic_http glommio impl Joakim Frostegård 2021-10-26 16:26:37 +02:00
  • ad7e464788 aquatic_http: split into mio and glommio modules Joakim Frostegård 2021-10-26 15:26:06 +02:00
  • 40eff52f1c README: aquatic_udp glommio version requires Linux 5.8+, not 5.1+ Joakim Frostegård 2021-10-25 00:57:32 +02:00
  • d948843191
    Merge pull request #12 from greatest-ape/glommio-fixes Joakim Frostegård 2021-10-25 00:27:01 +02:00
  • a7b29c8deb README: mention aquatic_udp core affinity settings Joakim Frostegård 2021-10-23 22:32:59 +02:00
  • b530ca20cf Update TODO Joakim Frostegård 2021-10-23 22:29:46 +02:00
  • a554240ec8 Update README Joakim Frostegård 2021-10-23 22:28:11 +02:00
  • 13d0224321 aquatic_udp: use features "with-glommio" and (default) "with-mio" Joakim Frostegård 2021-10-23 22:27:42 +02:00
  • f69e3a00c7 aquatic_udp: glommio: cleanup Joakim Frostegård 2021-10-23 20:28:36 +02:00
  • 5729f337ad aquatic_udp: rename glommio feature to "io_uring", remove from default Joakim Frostegård 2021-10-23 20:25:42 +02:00
  • d0aa87f99e github actions: rewrite file test action to fix ulimit; add timeouts Joakim Frostegård 2021-10-23 19:02:05 +02:00
  • 08488f50cd Update TODO Joakim Frostegård 2021-10-23 16:34:41 +02:00
  • 821608ab50 aquatic_udp: glommio: return scrape stats in correct order Joakim Frostegård 2021-10-23 16:00:41 +02:00
  • 0e58347ac4 aquatic_udp: move privdrop code to crate root, use in glommio impl Joakim Frostegård 2021-10-23 15:18:05 +02:00
  • eafb88c345 aquatic_udp: use const for empty scrape statistics Joakim Frostegård 2021-10-23 15:12:12 +02:00
  • 32113ea2f3 aquatic_udp: move more announce logic into common code Joakim Frostegård 2021-10-23 15:10:01 +02:00
  • c1dd50d0c9 Update TODO Joakim Frostegård 2021-10-23 14:56:58 +02:00
  • cbca0e03eb aquatic_udp: glommio: remove comment Joakim Frostegård 2021-10-23 14:56:34 +02:00
  • 1564291471 Run rustfmt Joakim Frostegård 2021-10-23 14:56:00 +02:00
  • 3355822422 aquatic_udp: glommio: periodically clean/update pending scrape vars Joakim Frostegård 2021-10-23 14:50:06 +02:00
  • 96196239f5 aquatic_udp: glommio: mostly implement scrape request support Joakim Frostegård 2021-10-23 14:42:42 +02:00
  • 08920fce5f WIP: aquatic_udp: glommio: work on handling scrape requests Joakim Frostegård 2021-10-23 14:05:54 +02:00
  • d0be89388c aquatic_udp: glommio: read access list on start Joakim Frostegård 2021-10-23 13:04:14 +02:00
  • 119cd0fe46 Improve common AccessList code Joakim Frostegård 2021-10-23 12:57:00 +02:00
  • 2732e520f7 aquatic_udp: glommio: improve access list error reporting Joakim Frostegård 2021-10-23 12:48:49 +02:00
  • 072f064138 Run cargo fmt Joakim Frostegård 2021-10-23 12:42:56 +02:00
  • aaa609b5f0 aquatic_udp: glommio: use MAX_PACKET_SIZE in network.read_requests Joakim Frostegård 2021-10-23 12:42:20 +02:00
  • 0d39c93239 aquatic_udp: glommio: run cleaning tasks in network.rs Joakim Frostegård 2021-10-23 12:41:07 +02:00
  • 1dcc48ee67 aquatic_udp: glommio: setup timer to update peer_valid_until Joakim Frostegård 2021-10-23 12:25:18 +02:00
  • 184a2c291b
    Merge pull request #11 from greatest-ape/core-affinity Joakim Frostegård 2021-10-23 12:12:54 +02:00
  • 7ccb99ca7e aquatic_udp: glommio: fix core affinity bug Joakim Frostegård 2021-10-22 00:38:22 +02:00
  • 53ccedc194 aquatic_udp_load_test: set core affinities Joakim Frostegård 2021-10-22 00:15:41 +02:00
  • 2c4f4a32da aquatic_udp: set core affinities Joakim Frostegård 2021-10-21 20:41:24 +02:00
  • 2f07ba9898
    Merge pull request #10 from greatest-ape/glommio2 Joakim Frostegård 2021-10-21 16:11:05 +02:00
  • b10f7b89e7 aquatic_udp: move code only use in mio impl out of crate::common Joakim Frostegård 2021-10-21 15:35:21 +02:00
  • 81b7777a4a aquatic_udp: feature-gate glommio version Joakim Frostegård 2021-10-21 15:26:16 +02:00
  • 047d138b2b aquatic_udp glommio: detach tasks, await them later; add debug logging Joakim Frostegård 2021-10-20 02:06:51 +02:00
  • 2cc357f2f2 aquatic_udp: glommio: spawn request handlers as tasks Joakim Frostegård 2021-10-20 01:21:07 +02:00
  • a853a410b1 Update TODO Joakim Frostegård 2021-10-19 23:10:54 +02:00
  • f9ed98f10d aquatic_udp: run rustfmt Joakim Frostegård 2021-10-19 23:09:54 +02:00
  • 02889e1bb8 aquatic_udp: glommio: move update_access_list to new common.rs Joakim Frostegård 2021-10-19 23:04:51 +02:00
  • bfcdc1c842 aquatic_udp glommio: improve AccessList update code Joakim Frostegård 2021-10-19 22:58:59 +02:00
  • 38617c70f4 Refactor AccessList; update it periodically in aquatic_udp glommio Joakim Frostegård 2021-10-19 22:51:05 +02:00
  • cad3618fad aquatic_udp: glommio: start work on periodic cleaning Joakim Frostegård 2021-10-19 11:54:00 +02:00
  • b5aa07c21f aquatic_udp: glommio networking: use task-per-receiver Joakim Frostegård 2021-10-19 11:20:59 +02:00
  • 68b2bdd4a6 aquatic_udp: do task-per-receiver in glommio handlers Joakim Frostegård 2021-10-19 10:51:49 +02:00
  • 63c03a95d5 Update TODO Joakim Frostegård 2021-10-19 02:26:54 +02:00
  • 9dc615a8f9 aquatic_udp: glommio: add yield_if_needed(), add comment Joakim Frostegård 2021-10-19 02:11:27 +02:00
  • 93907822f8 aquatic_udp: use StreamExt::or when receiving from channels Joakim Frostegård 2021-10-19 02:03:23 +02:00
  • c6ba1bc61c aquatic_udp: glommio: start executors in mod.rs, update TODO Joakim Frostegård 2021-10-19 01:53:47 +02:00
  • 3aebdfda8a aquatic_udp: more work on splitting mio and glommio logic Joakim Frostegård 2021-10-19 01:40:06 +02:00
  • 4a8651e1c6 aquatic_udp: use mesh in glommio version Joakim Frostegård 2021-10-19 01:01:10 +02:00
  • f28808b30c aquatic_udp: add todo comments Joakim Frostegård 2021-10-18 23:23:27 +02:00
  • 80754ab4ad aquatic_udp: start work on announce handler in glommio version Joakim Frostegård 2021-10-18 23:17:42 +02:00
  • f2b157a149 aquatic_udp: split some code into mio and glommio versions Joakim Frostegård 2021-10-18 22:31:56 +02:00
  • 65ef9a8ab2
    Merge pull request #9 from greatest-ape/udp-handle-connect-in-socket-workers Joakim Frostegård 2021-10-18 12:09:07 +02:00
  • fc0c2b7c1c aquatic_udp_bench: update example outputs in top-level comment Joakim Frostegård 2021-10-18 11:35:18 +02:00
  • 9aa783fbb1 aquatic_udp: stop counting readable events for statistics Joakim Frostegård 2021-10-18 11:15:59 +02:00
  • 90d60108c1 aquatic_udp: innetwork, use request_sender.try_send; run rustfmt Joakim Frostegård 2021-10-18 11:10:56 +02:00
  • 07a453b6b3 aquatic_udp: in network request reading, send on to channel directly Joakim Frostegård 2021-10-18 11:06:07 +02:00
  • 6b8616acf9 aquatic_udp: pass less of state to tasks::update_access_list Joakim Frostegård 2021-10-18 02:46:58 +02:00
  • 253497bb74 aquatic_udp: update configuration documentation Joakim Frostegård 2021-10-18 02:46:45 +02:00