Commit graph

  • 1672ff2e37 Update TODO Joakim Frostegård 2020-04-08 01:51:41 +02:00
  • a99688a5a2 benchmark byte conversion as well; bittorrent_udp: use buffers Joakim Frostegård 2020-04-07 19:49:29 +02:00
  • 51590a3d6c aquatic: print stats about number of peers per torrent Joakim Frostegård 2020-04-07 16:57:34 +02:00
  • e3d3e9ab57 Update TODO Joakim Frostegård 2020-04-07 15:40:52 +02:00
  • 3b52acbd20 aquatic: print num requests per readable poll event Joakim Frostegård 2020-04-07 15:31:17 +02:00
  • 3ca22c9f3f aquatic: take into account how many peers announcing peer wants back Joakim Frostegård 2020-04-07 14:50:33 +02:00
  • 00513209ad aquatic: move socket creation into run_event_loop function Joakim Frostegård 2020-04-07 14:18:37 +02:00
  • 40583b32a3 aquatic server conf: increase default recv_buffer_size Joakim Frostegård 2020-04-07 14:11:26 +02:00
  • f348013abb aquatic: create new socket for each worker thread, don't clone one Joakim Frostegård 2020-04-07 14:09:29 +02:00
  • 74e3a51fbe aquatic: add and use Config.poll_event_capacity Joakim Frostegård 2020-04-07 13:50:10 +02:00
  • f5700bfa18 aquatic: add and use num_threads setting Joakim Frostegård 2020-04-07 13:37:07 +02:00
  • 19277831c8 aquatic: count received requests / sent responses, print on interval Joakim Frostegård 2020-04-07 13:22:28 +02:00
  • ea2c37789d Update TODO Joakim Frostegård 2020-04-06 20:24:08 +02:00
  • a674a5f087 Update TODO Joakim Frostegård 2020-04-06 20:15:54 +02:00
  • e4dfe2852c aquatic: add Config struct, use in code Joakim Frostegård 2020-04-06 20:14:24 +02:00
  • ad1fa5b833 aquatic: run_event_loop: extract inner logic to own function Joakim Frostegård 2020-04-06 19:55:30 +02:00
  • 8426e8f3f7 on invalid requests, return error response; simplify Request type Joakim Frostegård 2020-04-06 19:43:49 +02:00
  • 8cf3644e78 Update TODO Joakim Frostegård 2020-04-06 15:45:42 +02:00
  • 51f2fcea45 turn of mimalloc security features, seemingly improving performance Joakim Frostegård 2020-04-06 14:38:59 +02:00
  • c3c634189d Update TODO Joakim Frostegård 2020-04-06 14:07:50 +02:00
  • 57b5b130a1 aquatic_bench: update module comment with benchmark results Joakim Frostegård 2020-04-06 14:07:28 +02:00
  • 0ca5040cbe bench_handlers: add indicatif progress bars (nice but a bit unnecessary) Joakim Frostegård 2020-04-06 13:51:03 +02:00
  • e42dc05996 Add scripts dir with "run-server.sh" and "bench-handlers.sh" Joakim Frostegård 2020-04-06 13:16:52 +02:00
  • 165214018c Move benchmarks to seperate crate "aquatic_bench" Joakim Frostegård 2020-04-06 12:49:54 +02:00
  • a627594c3a bench_handlers: parially extract setup portions for better profiling Joakim Frostegård 2020-04-06 12:39:32 +02:00
  • 8c57b3c4fe bench_handlers: run several test rounds, print averages Joakim Frostegård 2020-04-06 03:43:06 +02:00
  • 9d66a5e7d0 Use mimalloc instead of system allocator Joakim Frostegård 2020-04-06 02:42:23 +02:00
  • d601025286 cleaning tasks: run shrink_to_fit on connection and torrent maps Joakim Frostegård 2020-04-05 19:22:41 +02:00
  • 70b5795818 bench: announce: test more requests Joakim Frostegård 2020-04-05 18:29:28 +02:00
  • 81cb03403d extract_response_peers: use faster method, improve testing Joakim Frostegård 2020-04-05 18:29:08 +02:00
  • 3c411bdbf4 announce handler: extract_response_peers: optimize Joakim Frostegård 2020-04-05 16:37:35 +02:00
  • aa771f6a68 announce handler: init SmallRng outside of extract_response_peers Joakim Frostegård 2020-04-05 16:31:02 +02:00
  • 09cb31a4c9 rename handler.rs to handlers.rs Joakim Frostegård 2020-04-05 16:23:51 +02:00
  • f3f196bd0d refactor benchmarks into one bin: bench_handlers Joakim Frostegård 2020-04-05 16:17:47 +02:00
  • ab457aaf82 bench: add pareto plot util; use other shape in bench; refactor Joakim Frostegård 2020-04-05 16:00:48 +02:00
  • 5d462f808d bench_announce_scrape: use Vec::with_capacity for responses Joakim Frostegård 2020-04-05 14:44:06 +02:00
  • 9943e49d0e bench_announce_scrape: clean up a bit, fix logic error Joakim Frostegård 2020-04-05 14:34:49 +02:00
  • eed0acd15f bench: add pareto shape const, generate less info_hashes Joakim Frostegård 2020-04-05 14:29:56 +02:00
  • 570be610d6 add scrape benchmark to announce benchmark Joakim Frostegård 2020-04-05 14:17:47 +02:00
  • 496c06b72f add benchmarks for connect and announce handlers Joakim Frostegård 2020-04-05 13:51:31 +02:00
  • 35bf89f2ed Various small comments and fixes Joakim Frostegård 2020-04-05 04:43:13 +02:00
  • 15b0c17d92 Add TODO.md Joakim Frostegård 2020-04-05 04:36:02 +02:00
  • c26fc942e3 Add quickcheck tests; actually delete types.rs file Joakim Frostegård 2020-04-05 04:07:18 +02:00
  • 268235c8e1 Add tasks for cleaning connection and torrent maps Joakim Frostegård 2020-04-05 03:47:41 +02:00
  • af8b9d05df main: add "socket_timeout" var Joakim Frostegård 2020-04-05 03:18:56 +02:00
  • 43286685df handler: use responses.extend (from drain) Joakim Frostegård 2020-04-05 03:17:14 +02:00
  • 06533331f2 Handle scrape requests Joakim Frostegård 2020-04-05 02:55:34 +02:00
  • ace2e1a296 Initial commit: aquatic, udp bittorrent tracker Joakim Frostegård 2020-04-04 22:08:32 +02:00