hquxmu / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 0 forks source link

Cache the main rankings table #100

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The rankings table is already getting slow and will only get worse as we get 
bigger. We should make update_rankings.sh pregenerate the HTML tables for each 
page of the rankings table and have rankings_widget.php just use those instead 
of performing database queries an rebuilding the table for every request.

Original issue reported on code.google.com by Jake.McA...@gmail.com on 10 Sep 2010 at 5:58

GoogleCodeExporter commented 9 years ago
At this point this is not a problem, because the rankings are stored 
precaclucated in the database - it's almost effortless to get them.

Original comment by danie...@gmail.com on 20 Sep 2010 at 12:27