formidable icon indicating copy to clipboard operation
formidable copied to clipboard

Progress bar... browser status lags the server status by about 30% for big files???

Open n-samir opened this issue 10 years ago • 1 comments

This may be more of a socket.io issue. I have implemented a simple progress bar. When I log the data from the form.on('progress'... event, I get a display of certain percentages which stops at 100. Fine. I am passing this through a socket to the browser to be displayed as a progress bar. The progress bar lags behind... for example, when the percentage displayed on the server is, say 65%, the percentage displayed in the browser is 35%. This is over a very high-speed local area network so I cannot attribute it to network latency for a file upload of 1GB+. Any thoughts on how to get over this or what is possibly contributing to this latency? Is there a way to change the "incoming chunk of data size" parameter used so that the number of times the event is fired can be controlled?

n-samir avatar Dec 05 '15 12:12 n-samir

This issue is pretty outdated, but it seems more like a socket.io transporting problem to me too.

I'll close this, but let us know if it is still happening using latest versions of both.

tunnckoCore avatar Jan 16 '17 14:01 tunnckoCore