Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




563 posts

Ultimate Geek
+1 received by user: 89


Topic # 150942 8-Aug-2014 12:24
One person supports this post
Send private message

Registered users at least would be nice.

"Eventual consistency" even would be ok.

Dumb increments (counts F5) would be better than nothing (seems to work for TradeMe lol). 

Please. 

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
6464 posts

Uber Geek
+1 received by user: 2072

Trusted

  Reply # 1104823 8-Aug-2014 12:25
2 people support this post
Send private message

Lol, Good old mash F5 trademe. I setup a few VM's and let them run overnight refreshing 5 times a second and lol. had close to 2 million views by the morning.




 




563 posts

Ultimate Geek
+1 received by user: 89


  Reply # 1104827 8-Aug-2014 12:33
2 people support this post
Send private message

TimA: Lol, Good old mash F5 trademe. I setup a few VM's and let them run overnight refreshing 5 times a second and lol. had close to 2 million views by the morning.


Doh, that's not going to fill freitasm with confidence..

 
 
 
 


BDFL - Memuneh
62050 posts

Uber Geek
+1 received by user: 12662

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1104834 8-Aug-2014 12:48
Send private message

One of the reasons I removed it was for speed - less database updates, especially in very busy threads.

Not seeing it coming back yet. I am tweaking with the idea of changing something in our database to improve performance, might come back then.





gzt

10431 posts

Uber Geek
+1 received by user: 1638


  Reply # 1104837 8-Aug-2014 12:52
Send private message

I have to admit being morbidly curious about the reason for removing the feature (long ago). Was it commercial sensitivity?

Edit: Posted this prior to above post arriving. I consider it answered.

BDFL - Memuneh
62050 posts

Uber Geek
+1 received by user: 12662

Administrator
Trusted
Geekzone
Lifetime subscriber



563 posts

Ultimate Geek
+1 received by user: 89


  Reply # 1104840 8-Aug-2014 12:54
Send private message

freitasm: One of the reasons I removed it was for speed - less database updates, especially in very busy threads.

Not seeing it coming back yet. I am tweaking with the idea of changing something in our database to improve performance, might come back then.



Is it database I/O or specific row/table locking you're concerned about (hence the latter I suggested eventual consistency so don't need to queue up write locks on a single row/table)?

EDIT: Saw your post above. In that case eventual consistency by writing views to cache then lazily updating a main counter will solve this (the Youtube's etc do this).

BDFL - Memuneh
62050 posts

Uber Geek
+1 received by user: 12662

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1104846 8-Aug-2014 13:10
Send private message

Not I/O, but locking strategy. We currently have very low number of I/O interruptions because almost the entire database is in memory. Transactrion Log is the one thing that consumes I/O mostly, so not a big deal.

We did change to READ COMMITTED SNAPSHOT a while back to improve locking speed and prevent waits.





gzt

10431 posts

Uber Geek
+1 received by user: 1638


  Reply # 1104859 8-Aug-2014 13:31
Send private message

freitasm: One of the reasons I removed it was for speed - less database updates, especially in very busy threads.

Would maintaining count only for registered user views be any more feasible in that regard?

BDFL - Memuneh
62050 posts

Uber Geek
+1 received by user: 12662

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1104867 8-Aug-2014 13:43
Send private message


563 posts

Ultimate Geek
+1 received by user: 89


  Reply # 1104870 8-Aug-2014 13:45
One person supports this post
Send private message

freitasm: Would be terrible undercounted. The number of visits from non-registered or non-logged in users is much bigger.



Still useful though.

Thread XYZ (999 Registered Views, 0 Replies)

gzt

10431 posts

Uber Geek
+1 received by user: 1638


  Reply # 1104874 8-Aug-2014 13:52
Send private message

I agree, but it would give good indication of community/interest engagement. If counting the other group becomes possible that can be added also. The two figures are complementary and both give useful information.

13698 posts

Uber Geek
+1 received by user: 6433

Trusted
Subscriber

  Reply # 1104891 8-Aug-2014 14:23
Send private message

The last (big) forum I was Admin for we did away with page views as the hit on performance was such it did not justify keeping for very little benefit, we did away with it.




Mike
Retired IT Manager. 
The views stated in my posts are my personal views and not that of any other organisation.

 

 Mac user, Windows curser, Chrome OS desired.

 

A Tiger in Africa, probably escaped from the Zoo.

 

 




563 posts

Ultimate Geek
+1 received by user: 89


  Reply # 1104892 8-Aug-2014 14:27
Send private message

KiwiNZ: The last (big) forum I was Admin for we did away with page views as the hit on performance was such it did not justify keeping for very little benefit, we did away with it.


Cool story, neither assumption applies here

13698 posts

Uber Geek
+1 received by user: 6433

Trusted
Subscriber

  Reply # 1104912 8-Aug-2014 14:48
Send private message

kenkeniff:
KiwiNZ: The last (big) forum I was Admin for we did away with page views as the hit on performance was such it did not justify keeping for very little benefit, we did away with it.


Cool story, neither assumption applies here


It doesn't ?




Mike
Retired IT Manager. 
The views stated in my posts are my personal views and not that of any other organisation.

 

 Mac user, Windows curser, Chrome OS desired.

 

A Tiger in Africa, probably escaped from the Zoo.

 

 


gzt

10431 posts

Uber Geek
+1 received by user: 1638


  Reply # 1104923 8-Aug-2014 15:05
Send private message

KiwiNZ:
kenkeniff:
KiwiNZ: The last (big) forum I was Admin for we did away with page views as the hit on performance was such it did not justify keeping for very little benefit, we did away with it.


Cool story, neither assumption applies here


It doesn't ?

It was exactly the reason freitasm removed it, so it seems a similar performance experience applies.

Please guys don't start a he said/i said and derail the thread. Just leave it there please.

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Geekzone Live »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.