-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 spinlock in MetaClient #2786
Comments
Writing will still block reading when using threadlocal, RCU may be a better choice.And using RCU with doublebuffer may further improve performance by reducing cache line invalidation. |
Talked offline. It is ok to use a threadlocal variable in this case. We only need to block when cache need to update, which is rare case. |
We had a threadlocal implementation in nebula1.0. |
It seems it is a great bottleneck when rebuild index. Wait vesoft-inc/nebula-common#440 move to nebula |
@critical27 Will it be resolved in v2.6.0? |
addressed in 3.0 |
Change the check period back Co-authored-by: Sophie <[email protected]>
Bottleneck when compaction.
getTagSchema/getEdgeSchema
. Use either threadlocal or rcu will be fine.The text was updated successfully, but these errors were encountered: