Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POC: Direct upload to S3 (Uppy + Minio) #2

Closed
phwissmann opened this issue Jan 29, 2024 · 3 comments · Fixed by #8
Closed

POC: Direct upload to S3 (Uppy + Minio) #2

phwissmann opened this issue Jan 29, 2024 · 3 comments · Fixed by #8
Assignees
Milestone

Comments

@phwissmann
Copy link
Collaborator

An alternative to having a tus backend, Uppy allows writing directly to an S3 backend (Minio) https://uppy.io/docs/guides/choosing-uploader/#i-want-to-upload-to-aws-s3-or-s3-compatible-storage-directly
The AWS API seems to mandate md5 checksum verification, see https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html. This is also the case for Minio, see https://min.io/docs/minio/linux/developers/dotnet/API.html#putobjectasync-putobjectargs-args
This would simplify the setup and additionally ensure the data integrity. Questions regarding performance remain.
Goal:

Create a POC with Uppy, Companion and Minio and measure performance. Compare with tusd upload.

@phwissmann phwissmann self-assigned this Jan 29, 2024
@phwissmann
Copy link
Collaborator Author

Stability issues have been resolved

Source -> Target Rate
VM -> NAS 3.5 Gb/s
Transfer Computer -> VM (S3) 1.5 Gb/s
Transfer Computer -> VM (tusd) ?
Transfer Computer -> NAS 3.5 Gb/s

@phwissmann
Copy link
Collaborator Author

First Observations:

  • Upload from Transfer Computer to Minio with storage local to the VM:
    • peak of 1.4 Gb/s reached, but unstable.
    • Network interface crashes from time to time
    • Limited by the VMs network speed (not in the 10Gb/s network)
    • Enabling checksum reduces the speed potentially
  • Upload from Transfer Computer to Minio with NAS mounted storage: 800 Mb/s
    • Unclear what limits the data transfer
    • rsync from VM local storage to NAS mounted storage at 3.5 Gb/s
  • Copying via Windows explorer reaches rates of 3.5Gb/s, i.e 440 MB/s

@phwissmann
Copy link
Collaborator Author

Currently blocked until further tests with 10Gbit connection can be done

@phwissmann phwissmann linked a pull request Feb 12, 2024 that will close this issue
@phwissmann phwissmann added this to the v1.0-alpha milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant