[Rails] Re: Calculate Page views efficiently

2009-01-28 Thread deepu
sullivan, thanks for the reply. But the very act of inserting into any table means i cannot use page caching which will be aserious performance penalty to pay. i will explore the logs option though. thanks Cheers, Deepu. On Jan 28, 11:15 pm, "sullivan.t" wrote: > Maybe with a d

[Rails] Re: Calculate Page views efficiently

2009-01-28 Thread sullivan.t
Maybe with a distinct insert into a history table? thread_views (thread_id int, view_count) outside of the before_filter... somewhere else? Or parsing of the logs? On Jan 28, 1:03 pm, deepu wrote: > Hi, >      I am coding forum software in rails. In forum software how many > times a thread is