cowprotocol / cowprotocol/services

chore(driver): parallelize without_unsupported_orders execution

Open
#3,516 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tech-debt track:maintenance
Dominant language
Rust
Stars
318
Forks
189
Avg merge
2d 2h
Merged PRs (30d)
121

Description

Background

As a follow up task from the driver parallelization improvements (https://github.com/cowprotocol/services/pull/3450), the without_unsupported_orders function could be adjusted to also run in parallel from the start. It would take a shared reference and return a set of indices or order uids to discard from the fully built auction.

See https://github.com/cowprotocol/services/pull/3450#discussion_r2192662925 for more context.

Contributor guide

Open the contributing guide

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 with the without_unsupported_orders function and read the parallelization changes and discussion in pull request 3450. Determine how it can use a shared reference from the start, then verify that it returns indices or order UIDs that discard unsupported orders from the fully built auction.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.