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
5738 posts

Uber Geek
+1 received by user: 1695

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.




Steam: Coil (Same photos as profile here)
Origin: Scranax
Currently playing on PC: Rust, Subnautica, CS:GO, AOE2 HD, BeamNG Drive, BF1.




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
60327 posts

Uber Geek
+1 received by user: 11359

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

9740 posts

Uber Geek
+1 received by user: 1452


  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
60327 posts

Uber Geek
+1 received by user: 11359

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
60327 posts

Uber Geek
+1 received by user: 11359

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

9740 posts

Uber Geek
+1 received by user: 1452


  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
60327 posts

Uber Geek
+1 received by user: 11359

Administrator
Trusted
Geekzone
Lifetime subscriber

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

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







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

9740 posts

Uber Geek
+1 received by user: 1452


  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.

12234 posts

Uber Geek
+1 received by user: 5724

Trusted

  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.

 

 It's our only home, lets clean it up then...

 

Take My Advice, Pull Down Your Pants And Slide On The Ice!

 

 




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

12234 posts

Uber Geek
+1 received by user: 5724

Trusted

  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.

 

 It's our only home, lets clean it up then...

 

Take My Advice, Pull Down Your Pants And Slide On The Ice!

 

 


gzt

9740 posts

Uber Geek
+1 received by user: 1452


  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:





News »

IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41


Exhibition to showcase digital artwork from across the globe
Posted 23-May-2018 16:44


Auckland tops list of most vulnerable cities in a zombie apocalypse
Posted 23-May-2018 12:52


ASB first bank in New Zealand to step out with Garmin Pay
Posted 23-May-2018 00:10


Umbrellar becomes Microsoft Cloud Solution Provider
Posted 22-May-2018 15:43


Three New Zealand projects shortlisted in IDC Asia Pacific Smart Cities Awards
Posted 22-May-2018 15:14


UpStarters - the New Zealand tech and innovation story
Posted 21-May-2018 09:55


Lightbox updates platform with new streaming options
Posted 17-May-2018 13:09


Norton Core router launches with high-performance, IoT security in New Zealand
Posted 16-May-2018 02:00


D-Link ANZ launches new 4G LTE Dual SIM M2M VPN Router
Posted 15-May-2018 19:30


New Panasonic LUMIX FT7 ideal for outdoor: waterproof, dustproof
Posted 15-May-2018 19:17


Ryanair Goes All-In on AWS
Posted 15-May-2018 19:14


Te Papa and EQC Minecraft Mod shakes up earthquake education
Posted 15-May-2018 19:12



Geekzone Live »

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



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.