meilisearch / meilisearch/heed

Implementing parallel read iterators

Open
#333 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
914
Forks
82
PR merge metrics
No merged PRs in 30d

Description

I would really like a way to be able to iterate over a heed RoIter or RoPrefix in parallel. I think the way is to make an iterator of iterators where each iterator in the main iterator is consumed on its own thread. It would be good to see an idiomatic way to approach this if nothing exists in the library to help with this already!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing RoIter and RoPrefix implementations and the surrounding iterator API in heed. Check whether the library already provides an idiomatic way to consume iterators in parallel. Done means a supported approach or API for parallel iteration is clearly defined and usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.