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 Unix Domain Sockets in RPCChainVM #1949

Open
joshua-kim opened this issue Aug 30, 2023 · 2 comments
Open

Use Unix Domain Sockets in RPCChainVM #1949

joshua-kim opened this issue Aug 30, 2023 · 2 comments
Labels
enhancement New feature or request lifecycle/stale networking This involves networking

Comments

@joshua-kim
Copy link
Contributor

VMs currently only work over the same host, so there isn't a reason to use TCP sockets over domain sockets. Domain sockets can have performance benefits over the current approach as there isn't any overhead of TCP as domain sockets already have ordered and reliable properties as they are implemented over files.

@joshua-kim joshua-kim added enhancement New feature or request networking This involves networking labels Aug 30, 2023
@hexfusion
Copy link
Contributor

The original plan that @StephenButtolph and I talked about was to use unix abstract sockets. The issue was lack of support from Rust.[1] There does seem to be a workaround which I will create an issue for in avalanche-rs to track.

[1] tokio-rs/tokio#4610

Copy link

github-actions bot commented Nov 5, 2023

This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen label will cause this issue to ignore lifecycle events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lifecycle/stale networking This involves networking
Projects
Archived in project
Status: Backlog 🗄
Development

No branches or pull requests

2 participants