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.

http://grails.org/quartz+plugin


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -