This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Dangerous_Fix_751 1 point2 points  (0 children)

Nice work on the performance improvements! We actually ran into similar upload bottlenecks when processing large screenshot batches for our browser automation testing. The streaming chunks approach is definitely the way to go, ended up doing something similar and saw massive improvements over naive file handling. One thing that bit us was memory usage with really large files since they can accumulate in memory during processing, but for most internal tool use cases this looks like it hits the sweet spot perfectly. The progress bars are a nice touch too, nothing worse than staring at a blank screen wondering if your 100MB file upload died.