GenderLife Forum: The Information Exchange

 
 
   
Page 4 of 4 < 1 2 3 4
Topic Options
Rate This Topic
Hop to:
#296176 - 10/03/08 09:58 PM Re: What happend to the post counter? [Re: xkcd]
Deena Offline
Supreme Oracle

Registered: 05/11/06
Originally Posted By: xkcd
I would venture to say that the post counter was dynamic and calculating each poster's post count was computationally expensive and significantly slowed down page loading.

I think you are probably correct. Now you might want to propose a solution that circumvents the performance issue. Maybe a dynamic query as part of the drop down menu that appears when you click on a user's name and an update trigger to increment posting totals by user stored in a separate table?
_________________________
.

Top
#296229 - 10/04/08 11:40 AM Re: What happend to the post counter? [Re: Deena]
xkcd Offline
Esse quam videri

Registered: 06/05/04
No, I like it better this way. I think that there is a tendency to lend more credence to an individual's postings because of their post count, which is complete and total BS. The playing field is more level this way.
_________________________



Top
#296234 - 10/04/08 01:04 PM Re: What happend to the post counter? [Re: xkcd]
Deena Offline
Supreme Oracle

Registered: 05/11/06
I like it better too but for entirely different reasons.
_________________________
.

Top
#296386 - 10/05/08 07:02 PM Re: What happend to the post counter? [Re: xkcd]
Leanne Offline
morning sunshine

Registered: 02/06/07
Loc: Saint John NB Canada
Originally Posted By: xkcd
No, I like it better this way. I think that there is a tendency to lend more credence to an individual's postings because of their post count, which is complete and total BS. The playing field is more level this way.


I agree totally !!
_________________________
Ad Astra


Top
#296408 - 10/05/08 09:54 PM Re: What happend to beginning life? [Re: xkcd]
Vexing Offline
Frequent Flyer

Registered: 04/01/08
Originally Posted By: xkcd
I would venture to say that the post counter was dynamic and calculating each poster's post count was computationally expensive and significantly slowed down page loading.


The post counter is also inaccurate; the user_posts integer in the php database (MySQL I suspect) simply ticks up on each user post. There isn't a function to -1 post from a user if a post has been deleted.
So if a user posts 30 times to a thread that gets deleted, those 30 posts are still counted, even though they no longer exist.
So no, it's not dynamic as such, it's a static value that is pulled from the db. The only query made to the db is "What's this user's user_post count?" not "Search for all posts by this user and return a value equal to the number of posts" (which would be much more accurate but would chug the site horribly).

Top
Page 4 of 4 < 1 2 3 4


Who's Online
1 Registered (1 invisible), 6 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Gallery Latest
My stage makeup final exam
New Years Eve
Dyss, December 2008
Jus' me...
Mary Craving Dead Bird meat for K. Roivas on Xmas