One needs to send 1 mln HTTP requests concurrently, in batches, and read the responses. No more than 100 requests at a time.

Which way will it be better, recommended, idiomatic?

  • Send 100 ones, wait for them to finish, send another 100, wait for them to finish… and so on

  • Send 100 ones. As a a request among the 100 finishes, add a new one into the pool. “Done - add a new one. Done - add a new one”. As a stream.

  • Fal@yiffit.net
    link
    fedilink
    English
    arrow-up
    21
    ·
    10 months ago

    What the shit kind of response is this. We’re trying to get enough info to answer your question

    • cuenca@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      10 months ago

      What the shit kind of response is this. I’m tryintg to GET help for my question.