Skip to content

← All questions

Shard 3 finishes four minutes after shard 1 — is there anything smarter than i/n?

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

We run the regression across eight shards. The wall-clock time of the job is set by the slowest shard, and ours are consistently uneven — shard 3 carries two long visual features and lands about four minutes after shard 1, which has been idle that whole time.

--shard i/n splits by test count as far as I can tell, not by duration. We have per-scenario p95 durations sitting in the database from every previous run, so the information to do better exists.

Has anyone built anything on top of this? I am thinking of generating the shard assignment myself and passing explicit --feature lists per machine, but that is a lot of moving parts to maintain for four minutes. Curious whether anyone has gone down that road and regretted it.

No answers yet

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related