Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query performance improvements #254

Closed
4 of 7 tasks
jimmydorry opened this issue Feb 22, 2016 · 4 comments
Closed
4 of 7 tasks

Query performance improvements #254

jimmydorry opened this issue Feb 22, 2016 · 4 comments
Assignees

Comments

@jimmydorry
Copy link
Member

  • CMG - Find lower matchID bound and copy all matches up into new table before working on them... instead of doing the filter straight. code
  • CMF - Update to use new method above
  • CMGV - Update to use new method above
  • CMPV - Update to use new method above
  • Recent Games - Have separate match table with required data. Cron job that runs every five minutes. Cron job drops games older than a week from the table, and adds all of the games recorded with a matchID greater than the highest currently in the table.
  • CMPV - Grab number of fields from schema. Process a max of 20k games (example). If it's more than max number of games, only process the first (20k * 10 [assume avg 10 custom fields] / 24 [actual number of fields]) = 8333 games.
  • CMPV - Find substitute for PHP data processing. Having it all in mysql operations will be a lot faster.
@jimmydorry jimmydorry self-assigned this Feb 22, 2016
@jimmydorry
Copy link
Member Author

CMF updated to new CMG method.

@jimmydorry
Copy link
Member Author

CMGV and CMPV updated to new method.

@tianrenli92
Copy link

Would you please implement the winrate calculation asap? It's quite critical for me to balance my mod. Thanks so much! 😄

@jimmydorry
Copy link
Member Author

#280 <---- details finalised, and progress has been made... a whole new process queuing framework.

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

No branches or pull requests

2 participants