Skip to content

Calculating leader board takes a long time on big servers #61

Description

@travisgroth

Hi - We've found that on servers with very large user populations, calculating 'top' can be extremely expensive as _required_exp() is built up in a loop for each level for each user. Run time with about 30k users is just under 5 minutes. We're on older code (pre-mongo) but the level->exp calculation implementation hasn't changed much from what I can tell.

Opened #60 to fix.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions