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

Support vertex cache on storage side #1294

Merged
merged 4 commits into from Nov 24, 2019
Merged

Conversation

dangleptr
Copy link
Contributor

@dangleptr dangleptr commented Nov 19, 2019

Hope it could be helpful in your case. @CPWstatic

@nebula-community-bot
Copy link
Member

nebula-community-bot commented Nov 19, 2019

Unit testing passed.

@nebula-community-bot
Copy link
Member

nebula-community-bot commented Nov 19, 2019

Unit testing passed.

@@ -27,6 +27,9 @@
processor->process(req); \
return f;

DEFINE_int32(vertex_cache_num, 16 * 1000 * 1000, "Total keys inside the cache");
DEFINE_int32(vertex_cache_bucket_exp, 4, "Total buckets number is 1 << cache_bucket_exp");
Copy link
Contributor

@darionyaphet darionyaphet Nov 20, 2019

Choose a reason for hiding this comment

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

👍

src/common/base/ConcurrentLRUCache.h Outdated Show resolved Hide resolved
src/storage/AddVerticesProcessor.cpp Show resolved Hide resolved
@nebula-community-bot
Copy link
Member

nebula-community-bot commented Nov 22, 2019

Unit testing passed.

Copy link
Contributor

@critical27 critical27 left a comment

Well done!

Copy link
Contributor

@bright-starry-sky bright-starry-sky left a comment

Well done. Praise good work!

@nebula-community-bot
Copy link
Member

nebula-community-bot commented Nov 23, 2019

Unit testing passed.

@dangleptr dangleptr merged commit 5d18524 into vesoft-inc:master Nov 24, 2019
@dangleptr dangleptr deleted the cache branch Nov 24, 2019
tong-hao pushed a commit to tong-hao/nebula that referenced this pull request Jun 1, 2021
* Support vertex cache

* Add internal check

* Address cirtical's comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-testing PR: ready for the CI test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants