javascript - Best way to upload several thousand files? -
so need able consistently have users uploading 3,000 4,000 images @ time. using dropzonejs, works fine around 1,000-2,000 images, higher , start have issues. images ~2mb in size, resized client side ~300kb, sent server. resizing server side not option, i'm not sure else can do. ideas?
edit: okay seem have found may factoring in issue such high memory usage when adding large amount of files. issue seems caused few simple div statements using bootstrap classes.
every 1000 photos added (before starting upload), causing increase of ~400mb in memory. here seems causing huge increases in memory usage:
<div> <div class="col-xs-6"> <span class="name" data-dz-name></span> </div> <div class="col-xs-6"> <span class="size" data-dz-size></span> </div> </div>
if remove bootstrap column classes divs, increase of ~3mb per 1000 photos added. going wrong bootstrap classes cause 400mb increases in memory usage...
Comments
Post a Comment