kanishkdudeja / nginx-logs-replay

A Go library to replay HTTP requests from NGINX request logs.
MIT License
3 stars 2 forks source link

Add support for parallelism in replaying requests #5

Open kanishkdudeja opened 6 years ago

kanishkdudeja commented 6 years ago

We should use probably add support for parallelism in replaying requests.

If there is sufficient networking capacity available on the clients' (the machine which will replay the requests) end and the servers' end (the infrastructure which will receive these requests), we should use Go's inbuilt features like Goroutines and channels to replay requests faster.

The number of parallel requests our program will fire should be a configurable parameter.

We should probably name it as: num-parallel-requests

kanishkdudeja commented 6 years ago

I've been thinking about this @mgill25 and this feels like a reasonable way to approach it. Curious to hear your thoughts.

mgill25 commented 6 years ago

Not a bad way to approach it. I'll start a branch and start work on it tonight. :-)