Closed neon-mmd closed 8 months ago
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/neon-mmd/websurfx/blob/rolling/CONTRIBUTING.md
@neon-mmd can i work on this issue
@neon-mmd can i work on this issue
Yes sure, we will assign this issue to you right away. We would suggest you may start working on it now. :slightly_smiling_face: .
Work Expected From The Issue
Provide a config option under the
server
section of the config to allow users to keep tcp connections alive for each request for a certain period of time.The issue expects the following files to be changed:
src/results/aggregator.rs
websurfx/config.lua
Reason Behind These Changes
The reason behind having these changes is to allow the user to tweak the tcp connection setting to keep it alive (or connected to the server) for the user specifed period of time which can eliminate the cost of creating new connections by eliminating the need to create new connection on each new request to the same server for a certain period of time which can help reduce response latency and improve user experience.
Sample Code
The sample codes for both the files as mentioned above have been provided below:
aggregator.rs
config.lua