Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Refactor: Unix domain sockets for abci communication #526

Closed

Conversation

daltoncoder
Copy link
Member

Why

Switches from TCP to unix sockets for faster communication between application and consensus. The ABCI client we were using before was synchronous and blocking so created async non blocking client instead.

We dont want rpc requests blocking the ABCI query client, and we want to keep the client connection alive for fast innerprocess querys so ive also added all rpc querys will spawn a new task with its own client and the query client we keep alive will only be used for innerproccess querys

What

  • switched to unix socket abci communication
  • all rpc querys will run in their own task with their own client

Checklist

  • I have made corresponding changes to the tests
  • I have made corresponding changes to the documentation
  • I have run the app using my feature and ensured that no functionality is broken

Copy link
Collaborator

@matthias-wright matthias-wright left a comment

Choose a reason for hiding this comment

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

lgtm

@qti3e qti3e closed this Jun 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants