Recieving file blob over websocket is slower than http #1928
Answered
by
ravichopade
ravichopade
asked this question in
Ask questions, get answers
-
Hi, I am using websocket for low latency, but to my surprise, time required to receive file blob over websocket is greater than http. can someone help me to diagnose this issue? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
ravichopade
Dec 17, 2022
Replies: 1 comment
-
I profile websocket serve code using intel vtune, found that as MG_IO_SIZE was only 2 kb , most of the time spent in resizing c_recv buffer. I increased size to 3 MB I am receiving file blob faster than before |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ravichopade
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I profile websocket serve code using intel vtune, found that as MG_IO_SIZE was only 2 kb , most of the time spent in resizing c_recv buffer. I increased size to 3 MB I am receiving file blob faster than before