Hey there, I’m new here, recently joined this community.
I have one question. Are there any faster methods to send HTTP POST requests? I’ve been using timer, with like 200ms interval, but application gets laggy and slow. I’ve tried backgroundworker too, but it sends 1 request per 1 second.
So, basically, I want to find a method or solution, so I can send like 3 or 4 requests per 1 second. I haven’t tried Threading yet, are there any other methods?
Definitely use async methods.
You can fire multiple requests without awaiting, then Task.AwaitAll() at the end. This will allow you to send concurrency requests.
Your limitation may be simply how long the remote server takes. Are you able to make it respond quicker?
I will try with Async method.
await Task.WhenAll not Task.AwaitAll 😅