Skip to content

reqstorm 2.5.0

Latest

Choose a tag to compare

@melihcolpan melihcolpan released this 10 Oct 00:23
· 1 commit to master since this release
  • concurrency="auto" finds how many requests at once a server handles well, like TCP congestion control: it starts at 8, doubles while responses stay healthy, backs off on 429/5xx, timeouts or slowdowns, and stops just below the level that caused pushback. Against a server that rejects anything over 12 at a time it settled at 12 with 1 % extra attempts, where a fixed 100 needed 46 % more. max_concurrency caps it; the CLI takes -c auto.
  • Open file limit: a concurrency that needs more connections than ulimit -n allows no longer fails with "Too many open files": the limit is raised if the system permits, otherwise the concurrency is lowered with a warning.
  • The progress line shows active 12/16 (in flight / allowed) with automatic concurrency.
  • Fixed: the built-in TimeoutError is retried on Python 3.9 and 3.10.

Guide: https://reqstorm.github.io/guide/limits/#finding-the-concurrency-automatically-concurrencyauto