Simple Golang Project
Budget: $10 – $30 USD
Dear all,
I need a simple golang project to send http requests on a specific time.
I have a http request that I get this http request from google chrome or firefox (copy as curl or copy as fetch)
After that I need a very fast and precise golang application to send this http request on a specific time to a server.
I’m using hey application for this purpose now but I have a big problem !
Source of hey: https://github.com/rakyll/hey
Unfortunately hey can’t establish TCP connection and keep alive same session until a specific time.
So I think the best solution is modifying hey application, but it’s up to you to modify this application or make a new program.
So There are five key points in this program:
1.I run this program but this program must wait until to specific time and after that start the process
2.We have a specific time in milliseconds and this time must be adjustable. (Time2)
3.We have another time that it must be 2 or 3 seconds before Time2 and we call it Time1.
4.Sending requests will happen in Time2 and Time1 is just for making TCP connection.
5.Number of requests must be adjustable and requests must send simultaneously (parallel)
For example I will run this program on 12:20:43. program starts but hold the operation until Time1 (For example Time1=12:29:57)
In Time1 program establish TCP connection and keep alive this session until Time2. (For example Time2=12:30:00)
In Time2 immediately send requests simultaneously.
Please note that we will give only one specific time in milliseconds to program and this time is Time2 (For example 12:30:00.345 (345 is millisecond) and Time1 is 3 seconds before it ( Time1=12:29:57.345)
Thank you,
I need a simple golang project to send http requests on a specific time.
I have a http request that I get this http request from google chrome or firefox (copy as curl or copy as fetch)
After that I need a very fast and precise golang application to send this http request on a specific time to a server.
I’m using hey application for this purpose now but I have a big problem !
Source of hey: https://github.com/rakyll/hey
Unfortunately hey can’t establish TCP connection and keep alive same session until a specific time.
So I think the best solution is modifying hey application, but it’s up to you to modify this application or make a new program.
So There are five key points in this program:
1.I run this program but this program must wait until to specific time and after that start the process
2.We have a specific time in milliseconds and this time must be adjustable. (Time2)
3.We have another time that it must be 2 or 3 seconds before Time2 and we call it Time1.
4.Sending requests will happen in Time2 and Time1 is just for making TCP connection.
5.Number of requests must be adjustable and requests must send simultaneously (parallel)
For example I will run this program on 12:20:43. program starts but hold the operation until Time1 (For example Time1=12:29:57)
In Time1 program establish TCP connection and keep alive this session until Time2. (For example Time2=12:30:00)
In Time2 immediately send requests simultaneously.
Please note that we will give only one specific time in milliseconds to program and this time is Time2 (For example 12:30:00.345 (345 is millisecond) and Time1 is 3 seconds before it ( Time1=12:29:57.345)
Thank you,
Related categories:
Golang