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

Move S3 code to worker package and use worker instead of worker client #1158

Merged
merged 18 commits into from
Apr 16, 2024

Conversation

ChrisSchinnerl
Copy link
Member

The S3 and worker API are already quite coupled and this PR refactors the code a bit to make sure the S3 API uses the worker directly instead of going through a http client. That way we don't push all traffic through the TCP/IP stack and therefore avoid any overhead the S3 API currently has over the native API and remove one potential layer of bugs from our codebase.

@ChrisSchinnerl ChrisSchinnerl self-assigned this Apr 4, 2024
@ChrisSchinnerl ChrisSchinnerl marked this pull request as ready for review April 5, 2024 13:52
Copy link
Member

@peterjan peterjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice little cleanup 👍

api/worker.go Outdated Show resolved Hide resolved
api/worker.go Outdated Show resolved Hide resolved
worker/worker.go Outdated Show resolved Hide resolved
worker/worker.go Outdated Show resolved Hide resolved
worker/worker_test.go Outdated Show resolved Hide resolved
@ChrisSchinnerl ChrisSchinnerl added this pull request to the merge queue Apr 16, 2024
Merged via the queue into dev with commit 6ae5adb Apr 16, 2024
8 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the chris/s3-worker branch April 16, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants