-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Slow upload speed to server #360
Comments
Hi @sQty, If I get you right, you are getting similar upload speed on both uppy js demo server and tus-php server locally. I am pretty sure uppy demo page is not using PHP implementation in the server. So its not clear if this is an issue with tus-php since multiple server implementation is giving you same upload speed. What is the upload speed you are expecting? |
using local uploads ( server, lan ) more that 100Mb ..... and get only up to 40Mbps .... ( upload from server browser to server disk .... lan usage 0 so all fly local .... ) |
I will keep this issue open to see if someone else is also facing a similar issue. And can hopefully provide us with a clue to move ahead with debugging. So far, with the information I have, I am not even sure if this is the issue with tus-php or something else (eg: server conf, network). |
Are you using PHP fpm? If so, did you try to change |
Hello, I am facing a similar issue. I think the source for this problem is the fact that S3 does not support seekable streams and file appends only in a very limited fashion. So the streamWrapper implementation of the AWS S3 SDK is supporting seekable streams by fetching the whole file content from the S3 API because. I have not complelty debugged myself through the tus-php servers code but my assumption is that due to this limitation of the S3 streamWrapper there is a high bandwith overhead between the tus-server and the S3 server. Maybe there is a possibility to cache the file contents somewhere before streaming it into S3. |
Slow upload issue exist also on simple Nginx server (4GB KVM VPS / NVMe drives). No matter nginx configuration, but files larger then ~10 MB tend to upload insanely slow. Specially upload start stalling. Use demo and standard Nginx on Debian or Alma 8 in order to recreate issue. |
Update on the problem: when file uploading without chunking, it uploads much faster. This:
Vs this:
Is around 11 times faster. So yea, there is place form improvements. |
I am experiencing slow uploads as well, both locally and on our servers, any idea? in
|
Just do not use chunked upload. That fixed the problem for me and upload goes maximum. |
in that case i am not able to resume my upload. |
What I found out is that |
all visible here ...
upload to uppy demo server tus ( are they using this server implementation ? dunno )
so i downloaded uppy js client and this tus php server
and have similar speeds on lan upload like on uppy test server .... ( issue like #246 )
@@@
uppy team said transloadit/uppy#3292 that their demo server is capable up to 2Gbit/s
so that not likely bandwidth problem....
can u check this ????
The text was updated successfully, but these errors were encountered: