-
-
Notifications
You must be signed in to change notification settings - Fork 169
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 file uploading after meteor upgrade #852
Comments
Hello @valerymagadeeva , Please update your OP following our ISSUE_TEMPLATE. And post logs with debug enabled |
@dr-dimitru updated! |
@valerymagadeeva thanks, let's start with question:
|
The file's full name is ccsetup592.bin (1).zip - it's zip archive and it should have such extension. Anyway I tried to upload a binary file - the result is the same |
@valerymagadeeva Do you zip the file during or after upload? |
@valerymagadeeva to make sure this isn't caused your development environment please download, launch locally, and test uploads via this app (runs on the latest meteor and meteor-files) |
@dr-dimitru I unzip the file after uploading in the other part of our system. The problem is not connected to zip file. I tried your demo app and got the same result |
@valerymagadeeva do you get a good speed when uploading at files.veliov.com ? |
@dr-dimitru nope, almost the same result (maybe 10 seconds faster). While in the old version of meteor I have uploaded the file for 45-50 seconds (vs 1m 20 - 1m30 seconds in your demo and my app with the new version of meteor) |
@valerymagadeeva loads very local, any other device to test on? |
|
|
TLTD; we need clear reproduction steps in order to identify an issue |
What info can i provide you? |
@valerymagadeeva can not come up with something specific, as I'm not sure how to localize your issue |
@dr-dimitru ok, I'll try to provide something specific to reproduce the issue. But it seems I have a poor upload speed (according to the information from the demo app). Idk why and im sure it's not connected to my internet or something |
Does anyone else experiencing this? Or have ever experienced? |
Hello! I updated my meteor application to meteor 2.7 (and meteor-files to 2.3.0) and as a result I have a strange issue - the file uploading takes too long time, it uploads extremely slow. (the difference between the old version and the new one is about 30 seconds for 40mb file).
I tried to use both of DDP and HTTP transports and nothing helps. I noticed that when I used HTTP to upload files the meteor server response took at least a second for every chunk. So I guess the problem is somewhere between the client side and the server side.
To upload file from client i use insert() method with chunkSize equals to "dynamic" value. The server side code is the FilesCollection constructor:
Client logs:
[FilesCollection] [insert()]
Server logs(last part) (do not pay attention to warning, i just need console.time for time measurements):
Thank you in advance!
The text was updated successfully, but these errors were encountered: