You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just a general question related to implementation of worker pool using fast http for handling high qps request.
Issue I came across is when the request is added to worker pool task and it goes on processing, due to ineternal reuse of ctx of fasthttp, processing task, the request body and headers are lost randomly at the time of task execution.
It would be irrelevant to share worker pool code here, but what could be solution to follow here, I could copy the body and headers to struct of task being passed but will it work or any other alternative?
thoughts?
The text was updated successfully, but these errors were encountered:
This is just a general question related to implementation of worker pool using fast http for handling high qps request.
Issue I came across is when the request is added to worker pool task and it goes on processing, due to ineternal reuse of ctx of fasthttp, processing task, the request body and headers are lost randomly at the time of task execution.
It would be irrelevant to share worker pool code here, but what could be solution to follow here, I could copy the body and headers to struct of task being passed but will it work or any other alternative?
thoughts?
The text was updated successfully, but these errors were encountered: