Skip to content

Parallelize and optimize recalculating rankings #585

@otargowski

Description

@otargowski

For a typical contest, one judged submission triggers recalculation of 6 rankings (3 access levels * (per round ranking + whole contest ranking)), so it sometimes takes a while for the changes to appear.

That may partly be caused by the recalculation cooldowns (as intended), but those could be made less aggressive if rankingsd is able to recalculate e.g. 3 rankings in parallel.

There are also some places in recalculation logic where db queries could be optimized.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions