One of the main requirements is to have people upload MRI scans to the website. We have implemented a form using SvelteKit form actions to send the binary data to the server and write it to the filesystem.
This form is working perfectly for small size files (up to 200MB), but anything bigger than that starts slowing down the system. Even more so when we have multiple people uploading files at the same time. We are expecting NIfTI files to be 400MB or larger. Storage space is not an issue here.
What do you think is causing this issue? How would you approach a solution to improve the performance of uploading files?