Welcome Guest, Not a member yet? Register   Sign In
Today's most popular
#1

[eluser]gullah[/eluser]
I'm looking to have a feature on my site with the functionality of Today's most popular X.

Maybe I'm just being uncreative but the only way I can see doing this is to have a db field and increment it on views or actions and then have a cron/stored procedure reset that field at midnight or some other arbitrary time.

Is the database going to be able to quickly handle a large stored procedure that resets everything to zero without interrupting operations? Is there a better way?


Messages In This Thread
Today's most popular - by El Forum - 01-04-2009, 07:31 PM
Today's most popular - by El Forum - 01-04-2009, 09:00 PM
Today's most popular - by El Forum - 01-04-2009, 09:10 PM
Today's most popular - by El Forum - 01-04-2009, 09:23 PM
Today's most popular - by El Forum - 01-04-2009, 10:46 PM
Today's most popular - by El Forum - 01-04-2009, 11:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB