Original post

Hi, I’m running concurrent REST API request (using Resty), the thing is I need to run a lot of requests (kind like brute force). Actually I’ve tried to use Ants library to make a goroutine pool, which is not bad but it seems to get stuck after a certain amount of request made.

So my question is :

  • How can I run X number of goroutine or worker that make a request without them to get stuck?

  • Is there some speed parameters or limits to unlock for threads or HTTP client (like ServicePointManager in C#)?

Thanks!