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

Use solely Pilosa roaring bitmaps in m3ninx to avoid expensive unmarshalling #1196

Conversation

robskillington
Copy link
Collaborator

@robskillington robskillington commented Nov 23, 2018

Unmarshalling Pilosa bitmaps into the other RoaringBitmap library's bitmap was causing a ton of allocations.

Now that we solely use Pilosa bitmaps we entirely avoid the large allocations of copying the postings lists when searching FST segments with MatchTerm, MatchRegexp, etc.

Fixes #1192.

@codecov
Copy link

codecov bot commented Nov 24, 2018

Codecov Report

Merging #1196 into r/concurrent-index-block-queries will decrease coverage by <.1%.
The diff coverage is 69%.

Impacted file tree graph

@@                        Coverage Diff                         @@
##           r/concurrent-index-block-queries   #1196     +/-   ##
==================================================================
- Coverage                                71%     71%   -0.1%     
==================================================================
  Files                                   739     739             
  Lines                                 62117   62135     +18     
==================================================================
  Hits                                  44142   44142             
- Misses                                15121   15135     +14     
- Partials                               2854    2858      +4
Flag Coverage Δ
#aggregator 81.6% <ø> (-0.1%) ⬇️
#cluster 85.6% <ø> (-0.1%) ⬇️
#collector 78.1% <ø> (ø) ⬆️
#dbnode 80.8% <ø> (ø) ⬆️
#m3em 73.2% <ø> (ø) ⬆️
#m3ninx 74.5% <69%> (-0.7%) ⬇️
#m3nsch 51.1% <ø> (ø) ⬆️
#metrics 18.3% <ø> (ø) ⬆️
#msg 74.9% <ø> (ø) ⬆️
#query 61.4% <ø> (ø) ⬆️
#x 74.4% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96dfeab...de84d20. Read the comment docs.

@robskillington robskillington force-pushed the r/use-pilosa-roaring-bitmaps branch from 7ecc724 to ef8471b Compare November 24, 2018 00:28
@richardartoul
Copy link
Contributor

Abandoned in favor of: #1238

@justinjc justinjc deleted the r/use-pilosa-roaring-bitmaps branch June 17, 2019 21:57
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