Skip to content

Unix Socket listener for S3 server#4621

Merged
chrislusf merged 1 commit into
seaweedfs:masterfrom
yeganemehr:s3-unix-socket
Jun 26, 2023
Merged

Unix Socket listener for S3 server#4621
chrislusf merged 1 commit into
seaweedfs:masterfrom
yeganemehr:s3-unix-socket

Conversation

@yeganemehr

Copy link
Copy Markdown
Contributor

What problem are we solving?

As it suggested by wiki, S3 servers commonly running behind a reverse-proxy server like nginx and currently the connection between the two established using OS loop-back.
Unix socket are proven to be more efficient and robust than lo and using them alongside tcp port listening can help busy servers.

How are we solving the problem?

Basically I copy-pasted your previous commit about adding Unix domain sockets to filer server with required changes.

How is the PR tested?

I built the project and spin up an instance and test the connection between nginx & s3 server.
Unix socket listening on /tmp/seaweedfs-s3-%port%.sock by default.

Checks

  • I have added unit tests if possible.
  • I will add related wiki document changes and link to this PR after merging.

@chrislusf chrislusf merged commit f0d3c87 into seaweedfs:master Jun 26, 2023
kmlebedev pushed a commit to kmlebedev/seaweedfs that referenced this pull request Dec 22, 2023
Add localSocket option to s3 server
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