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

KVGraph optimization #161

Merged
merged 24 commits into from
Oct 22, 2018
Merged

KVGraph optimization #161

merged 24 commits into from
Oct 22, 2018

Conversation

kellrott
Copy link
Member

  • Updating badger link
  • parallelizing bulk load serialization
  • reusing badger iterator (rather then rebuilding it every seek)
  • Turning off badger seek value preload
  • Adding command line program to profile key/value graph query performance

kvgraph/graph.go Outdated Show resolved Hide resolved
@kellrott kellrott mentioned this pull request Oct 20, 2018
kvgraph/graph.go Outdated
if err := tx.Set(kv.key, kv.value); err != nil {
anyErr = err
} else {
kgdb.kvg.idx.AddDocTx(tx, kv.vertex.Gid, kv.doc)
Copy link
Contributor

Choose a reason for hiding this comment

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

Check the error returned by this method as well.

Also since we aren't breaking the loop on error, maybe they should be logged?

@adamstruck adamstruck merged commit 89011f6 into master Oct 22, 2018
@kellrott kellrott deleted the kv-index-opt branch October 26, 2018 00:03
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

Successfully merging this pull request may close these issues.

2 participants