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

connect rqlite over unix sockets #1737

Open
tolgaulas opened this issue Mar 21, 2024 · 2 comments
Open

connect rqlite over unix sockets #1737

tolgaulas opened this issue Mar 21, 2024 · 2 comments

Comments

@tolgaulas
Copy link

This may be seem a bit out of context feature request but If we can connect to rqlite over unix sockets additionally, this may save a lot of tcp bandwidth for those clients residing on the host of the node.

@otoolep
Copy link
Member

otoolep commented Mar 21, 2024

This was requested before, it's a reasonable request, but I consider it low priority. Why? For a few reasons -- one, you cannot write at high rates to rqlite due to the nature of Raft. You will be limited by disk IO long before you hit network limits writing over localhost.

Reading is different, you can read at a high rate from rqlite, especially if you use None Read consistency. But that means that this feature would only benefit reads. This reduces the potential impact of this feature.

@tolgaulas
Copy link
Author

tolgaulas commented Mar 22, 2024

Reading is different, you can read at a high rate from rqlite, especially if you use None Read consistency. But that means that this feature would only benefit reads. This reduces the potential impact of this feature.

Yes this was mainly proposed for read only. It has benefits on distributed implementations. Pls don't burry it and keep in the backlog, if you can.

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

No branches or pull requests

2 participants