Commit graph

1434 commits

Author SHA1 Message Date
Joakim Frostegård
9fd1306b2e Update http_private README 2022-04-04 10:04:21 +02:00
Joakim Frostegård
77c83d21a8 Update aquatic_http_private/README.md 2022-04-03 20:31:57 +02:00
Joakim Frostegård
98e7e5cc13 http_protocol: implement axum IntoResponse, use in http_private 2022-04-03 20:20:51 +02:00
Joakim Frostegård
5e79df8e7e Update TODO 2022-04-03 19:52:33 +02:00
Joakim Frostegård
58ac5e7fe8 ws: use create_rustls_config from aquatic_common 2022-04-03 19:46:05 +02:00
Joakim Frostegård
610057a231 http: use create_rustls_config from aquatic_common 2022-04-03 19:43:44 +02:00
Joakim Frostegård
bf4b32748b http_private: add keep_alive options 2022-04-03 19:30:43 +02:00
Joakim Frostegård
26cd34f10a http_private: add config field db_connections_per_worker 2022-04-03 19:20:17 +02:00
Joakim Frostegård
b2a3c034b0 http_protocol: allow announce/scrape url suffix; use in load test 2022-04-03 19:17:57 +02:00
Joakim Frostegård
05faa10f4b http load test: on response deserialize failure, print headers too 2022-04-03 19:08:20 +02:00
Joakim Frostegård
c21ed97cb2 http_private: get tls working 2022-04-03 19:07:55 +02:00
Joakim Frostegård
e790727bc0 aquatic_common: add feature gated fn create_rustls_config 2022-04-03 18:36:37 +02:00
Joakim Frostegård
07bb75c298 http load test: add missing AnnounceRequest fields 2022-04-03 16:59:01 +02:00
Joakim Frostegård
85d89f53ca Add workspace patch with fix for membarrier compilation error 2022-04-03 16:58:57 +02:00
Joakim Frostegård
fa5e609f11 http_private: remove connection cleaning config vars 2022-04-03 16:49:22 +02:00
Joakim Frostegård
11cba4eb12 Add scripts/run-aquatic-http-private.sh 2022-04-03 16:31:45 +02:00
Joakim Frostegård
eeaae29fa8 http_private: handle announce requests in request worker 2022-04-03 16:26:41 +02:00
Joakim Frostegård
e228f5a4c2 http_private: make TorrentMap cleaning logic more readable 2022-04-03 01:44:29 +02:00
Joakim Frostegård
1b2009ba60 http_private: do more work on request worker 2022-04-03 01:42:46 +02:00
Joakim Frostegård
f1e81a5288 http_private: increase response byte vector capacities 2022-04-03 01:09:42 +02:00
Joakim Frostegård
70d79b1871 http: add AnnounceResponse.warning_message; set in http_private 2022-04-03 01:07:38 +02:00
Joakim Frostegård
44f4474fb2 Update TODO 2022-04-03 00:56:54 +02:00
Joakim Frostegård
4154cc3c2a http_private: change url format to /announce/:user_token/ 2022-04-03 00:53:14 +02:00
Joakim Frostegård
c424ffb077 http_private: move all code in workers::common to common 2022-04-03 00:51:07 +02:00
Joakim Frostegård
8478a2b052 http_private: handle lacking DATABASE_URL env var better 2022-04-03 00:45:23 +02:00
Joakim Frostegård
30d06937fc http_private: disable keep_alive 2022-04-03 00:43:38 +02:00
Joakim Frostegård
5d4f30bb7b http_private: use CanonicalSocketAddr when calling DB 2022-04-03 00:39:06 +02:00
Joakim Frostegård
96e128bb90 http_private: get basic announce route working 2022-04-03 00:36:35 +02:00
Joakim Frostegård
b0f89edd30 http_private: more work on announce route and channels 2022-04-02 16:06:16 +02:00
Joakim Frostegård
7d3ff2e9e6 http_protocol: expose write on response subtypes 2022-04-02 16:05:54 +02:00
Joakim Frostegård
0fb572556f WIP: http_private: work on channel types 2022-04-02 15:43:44 +02:00
Joakim Frostegård
d4a89ee808 http_protocol: derive Copy for AnnounceEvent 2022-04-02 15:43:28 +02:00
Joakim Frostegård
088daa72ff http_private: add config, launch with cli helpers 2022-04-02 14:35:40 +02:00
Joakim Frostegård
6e97bff93f Update TODO 2022-04-02 14:21:44 +02:00
Joakim Frostegård
b54fb7f1db http_protocol: cargo fmt 2022-04-02 13:56:13 +02:00
Joakim Frostegård
4091f51bd8 http_private: add p_left, make BIGINTs UNSIGNED 2022-04-02 13:55:10 +02:00
Joakim Frostegård
82cad25fa8 http_private: set announce request uploaded & downloaded 2022-04-02 13:44:49 +02:00
Joakim Frostegård
a93789128c http_protocol: add AnnounceRequest uploaded and downloaded fields 2022-04-02 13:43:18 +02:00
Joakim Frostegård
dc943674f6 work on http_private, including parsing announce requests 2022-04-02 13:32:36 +02:00
Joakim Frostegård
87223f7952 http_protocol: add AnnounceEvent::as_str, run cargo fmt 2022-04-02 13:31:51 +02:00
Joakim Frostegård
b9c029b5ed http_protocol: split request parsing by request type 2022-04-02 12:39:31 +02:00
Joakim Frostegård
11829f98eb WIP: start work on aquatic_http_private 2022-04-02 12:31:06 +02:00
Joakim Frostegård
e2ee050233 Fix GitHub CI 2022-03-31 15:20:41 +02:00
Joakim Frostegård
3dc9068dd2 cpu pinning: add hyperthread mapping modes (glommio only) 2022-03-31 15:12:04 +02:00
Joakim Frostegård
f0a662e474
Merge pull request #64 from greatest-ape/ws-load-test-2022-03-29
Add WebTorrent load test results; clean up documents dir; improve gen-tls.sh; run cargo update
2022-03-31 12:46:51 +02:00
Joakim Frostegård
32a6285215 Update scripts/gen-tls.sh 2022-03-31 12:41:06 +02:00
Joakim Frostegård
4bbdece020 Run cargo update
Updating getrandom v0.2.5 -> v0.2.6
    Updating lock_api v0.4.6 -> v0.4.7
    Updating pkg-config v0.3.24 -> v0.3.25
    Updating quote v1.0.16 -> v1.0.17
    Updating semver v1.0.6 -> v1.0.7
    Updating smartstring v1.0.0 -> v1.0.1
    Updating syn v1.0.89 -> v1.0.90
2022-03-31 12:29:57 +02:00
Joakim Frostegård
4e79bd334a Update TODO 2022-03-31 12:29:35 +02:00
Joakim Frostegård
d1c2ef481b Remove old load test results and other unused documents 2022-03-31 12:26:01 +02:00
Joakim Frostegård
adc2d1d900 Add new WebTorrent load test, show results in README 2022-03-31 12:19:34 +02:00