New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
c.Request.FormFile is ridiculously slow sometimes #1988
Comments
Is that running on a compute instance? What's the system configuration, is /tmp memory or ssd backed? Is this before the multipart change to byte array/blob upload? |
@solarfly73 ,it's running on an aliyun ecs instance, 8C16G, /tmp is backed by ssd. I don't understand your last question:( Now I suspect it's related to the tcp congestion window, still investigating.. |
I hava same situation,do you solve it?@zhiqiangxu |
Same here. 👋🏼 |
i have same issue |
@ben-swit how were you able to solve this? I'm currently facing the same issue |
i am also facing the same has anyone find solution ? |
Description
c.Request.FormFile
is ridiculously slow, sometimes takes 26s for uploaded image(~600k)Screenshots
Here's the related log:
Upload api took 26.27741246s size 637445 FormFile took 26.067774073s
Here's the code snippet that generates the
FormFile took
part:The text was updated successfully, but these errors were encountered: