Sunday, 15 July 2012

javascript - Best way to upload several thousand files? -


That's why I should be able to upload between 3,000 to 4,000 images at a time. Currently using dropjones, which works well for approximately 1,000-2,000 images, but more than that and I started having problems. Images are in ~ 2 MB size, changed the client side to ~ 300 KB Goes to the server, then it is sent to the server. Changing the size of the server is not currently an option, so I'm not sure what I can do. Any ideas?

EDIT: OK, we think factoring in problem with such high memory usage when adding files in large amounts might be due to some simple div details due to this issue some bootstrap classes Seems to be doing.

Every 1000 photos have been added (before uploading), there has been an increase of ~ 400MB in memory due to the large increase in memory usage:

  & Lt; Div & gt; & Lt; Div class = "col-xs-6" & gt; & Lt; Span class = "name" data-dz-name & gt; & Lt; / Span & gt; & Lt; / Div & gt; & Lt; Div class = "col-xs-6" & gt; & Lt; Span class = "size" data-size-size & gt; & Lt; / Span & gt; & Lt; / Div & gt; & Lt; / Div & gt;  

If I remove the bootstrap column classes from the divs, then I have an increment of ~ 1000mb for only 1000 images. What is going wrong in bootstrap classes, which will increase the usage of 400 megawatts ...


No comments:

Post a Comment