Consider using channels (e.g. tokio, futures, async-std) instead of SmallVec to pass messages

Open
#131 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Start by locating the InputStorage component and tracing how its SmallVec passes messages between operations. Build careful benchmarks comparing SmallVec with the mentioned channel-based strategies, including tokio, futures, and async-std. Done means the throughput results are clear and support a justified implementation choice.

Written by the indexing model from the issue text.

Description

Currently our InputStorage component uses a SmallVec to hold messages as they pass from one operation to another. This has been okay for performance, but it's possible that a channel-based approach could be superior. We should do some careful benchmarking and try out different message passing strategies to see what can achieve the best throughput.

Dominant language
Rust
Stars
75
Forks
18
Avg merge
12d 12h
Merged PRs (30d)
3

Getting set up

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.

More from open-rmf/crossflow

All issues in open-rmf/crossflow

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.