High concurrent access results in timeouts and ClientFailure?

Hi @pockychi

Please can you share:

  • Client / pool configurations
  • Client & server versions
  • Example code on how you’re performing the batch get requests
  • Example number of parallel requests with average document size

If you’re using a custom Parallel.ForEach loop with custom ParallelOptions overriding the MaxDegreeOfParallelism, for example, it can cause threads to block to a point where there aren’t resources to process a response and the requests will eventually timeout.

Also, if you have the opportunity, the Async API (eg GetAsync) is more performant & reliable when dealing with many parallel requests because is based on Tasks which are better at managing resources.

Thanks