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

Execute RPC in a separate thread #425

Closed
kogeler opened this issue Jul 5, 2020 · 0 comments
Closed

Execute RPC in a separate thread #425

kogeler opened this issue Jul 5, 2020 · 0 comments

Comments

@kogeler
Copy link
Contributor

kogeler commented Jul 5, 2020

Now when we call some RPC method there is a delay of its execution because Kagome is being executed in a single thread.

Other operations (block production, consensus, p2p) should work in another single thread.

Same resources between these two threads should be thread safe. In particular TransactionPool should be thread safe

Aha! Link: https://soramitsucoltd.aha.io/requirements/PRE-44-11

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