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

Use in-memory buffer instead of using a file while getting an object from AWS S3 #69

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

supercaracal
Copy link
Contributor

@supercaracal supercaracal commented Jan 31, 2025

We should store an entire bytes of an image to memory in the end. The allocation size is the same as is.

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/feature/s3/manager#WriteAtBuffer

@supercaracal supercaracal marked this pull request as ready for review January 31, 2025 05:39
@supercaracal supercaracal requested a review from etsxxx January 31, 2025 05:39
@supercaracal supercaracal merged commit a734725 into master Jan 31, 2025
2 checks passed
@supercaracal supercaracal deleted the prevent-disk-access branch January 31, 2025 07:42
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 this pull request may close these issues.

2 participants