The app seems to perform quite good with 1000 users on a low-end server, however it could be easily optimized.
Make score_table a materialized view. It only needs to be updated whenever new match results are put in on the admin page and when a new user registers (also G+/FB)
Make past_matches_table a materialized view. Use the same update strategy.
The app seems to perform quite good with 1000 users on a low-end server, however it could be easily optimized.
score_table
a materialized view. It only needs to be updated whenever new match results are put in on the admin page and when a new user registers (also G+/FB)past_matches_table
a materialized view. Use the same update strategy.