Is it planned to support concatenation on tus-node-server ? Is ETA for that thing known?
Background: I’m migrating from custom solution which supported concurrent chunk upload. That feature speeded up the uploads by a lot. I’d like to know whether it makes sense to wait for the feature or port it from tusd on my fork
Hi, there is no ETA. Did you compare the speed of your custom solution to tus-node-server already? Depending on your use case the difference might not be that big.
Haven’t done any tests yet. I will do so in next hours/days.
We were doing quite a lot of tests on a custom solution - obviously for tiny files the difference in upload speed is negligible or even it gets slower when chunked. For larger files (say a 20 MB and more) this was a game changer. Our strategy was to keep the chunk size fixed e.g. 5mb, so 20mb file gets 4 chunks uploaded concurrently. On top of that we cap the server connections from single client to N e.g. 50.
In js we were using this for capping:
2 more cents… on server, our custom solution was accepting the chunks and combining them with last chunk posted. Problem with that is last call takes more time.
As a solution we were considering to predeclare the file on disk with first call. Then each chunk that arrives to server fills the byte array on disk. Is that maybe something that you were already experimenting with?
We haven’t experimented with reserving space on the disk when an upload is started, but also haven’t seen the need for it so far. I can recommend you to test tusd for now, which implements the concatenation extension.