Tuesday, 11 June 2019

Does parallel requests with RXJS will do better to performance?

Problem: I need to download huge file (5-10gb) with simple XHR requests, to simplify a question I need to do at-least: 100 requests (could be more). I would like to improve the performance to it using RXJS (parallel http-requests).

The questions:

  1. Is it at all possible to improve the performance with Parallel?
  2. Does parallelizing the requests won't be the same as using 1 request for each iteration of the request-loop? The bandwidth is the same - NO?
  3. Is there other ways to improve my perf?

Stack:

  • Angular 7.2.x
  • Typescript 3.2.4
  • Rxjs 6.4.0


from Does parallel requests with RXJS will do better to performance?

No comments:

Post a Comment