grails - What is the best method to generating ranking lists for my website homepage? -
what best way generate , maintain several ranking lists home page of website/webapp? e.g. hot posts, recent posts, comments, consecutive wins etc.
currently, i'm thinking using cron job scheduler run queries gather statistics, run algorithm on statistics , generate ranking lists saved temporary table in mysql.
however, i'm not sure if efficient way go this. i'd imagine use of caching well.
note: i'm using grails web application framework.
thanks.
you might want consider using quartz plugin schedule tasks.
Comments
Post a Comment