Skip to content

Load test SQL scripts for ranking #35

Description

@RodionGork

User ranking recalculation is currently implemented like this:

we have tables taskstats and userstats and their corresponding views, from which they are filled. See
here for sql and here for update invocation.

It is very interesting (crucial) to know how this will work when we have many users and tasks.

So. Create some script to populate database with about 1000 tasks and 100000 users. Make each user solve at least 10 random tasks. Then invoke ranking recalculation. Check how much time it will take.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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