Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

New index driver based on https://github.com/RoaringBitmap/roaring #645

Open
@kuba--

Description

@kuba--

Pilosa uses https://github.com/RoaringBitmap/roaring to implement bitmap index, but in our case pilosa comes with huge overhead (we've already got rid of server part).
Moreover, lot of syscalls in pilosa implementation caused some portability problems, e.g.: for mounted volumes in docker.
Last but not least, pilosa comes with long hierarchy of directories:
/index/field/view/fragment/storage,cache which has to be opened/closed/synced.
Maybe we can go down to the lower level and implement own bitmaps using https://github.com/RoaringBitmap/roaring
We don't use many pilosa features (which are mainly server oriented).
If we directly call roaring we can even get better performance, control parallel index creation and make all operations (And, Or, ...) also parallel (something what pilosa doesn't give us - roaring.ParAnd(nworkers, bmp1, bmp2))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions