pip
Concurrent REST requests best practices if any? [Answered]
Reading a lot online on if running REST requests with something like a Task.WhenAll is actually a good practice. I've gotten mixed responses so far. I'm aware that if you use HttpClient directly and some requests fail, you'll exhaust all of your ports over time. There's some methodology to prevent this(like using an alternate request queue instead of relying on HttpClient), but I guess my question boils down to -> is running REST requests concurrently bad practice? If it isn't, can you provide links/info for best practices?
21 replies