-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove localClient.mtx #5411
Comments
It's something we discussed a while back. There are certain optimizations we can do. For example, we probably don't need to hold the mutex when calling |
@melekes The issue, you mentioned, might be #2721 and the PR might be #2748, isn't it?
In my point of view, it looks like kind of micro optimization. I'm thinking more destructive way. I'm wondering why |
yeah, specifically this comment: #2748 (comment)
because there's no server?) localClient acts as both client & server |
I understand what you mean but, in my point of view, I consider ABCI implementation as a server. So I expressed |
I'm going to open a discussion on Github. This will change the current paradigm where Tendermint serialises calls to ABCI app. Let's continue discussion in #6048. |
Summary
I found that my node's overall performance is slow down when I query something concurrently.
Problem Definition
I've set up my nodes and lcd, light client daemon. I found that my node's overall performance is slow down when I query something concurrently. W/ some investigating, I suspect now the bottle neck of this issue is (ABCI)
localClient
. I found that all functions oflocalClient
is locked bylocalClient.mtx
and also almostRPC
handlers calllocalClient
's functions.Proposal
Could we remove
localClient.mtx
or revise it?For Admin Use
The text was updated successfully, but these errors were encountered: