15 ms·
Uh, cheating? "Cheating - Know How to Fake Data Awesome technique. The fastest function call is the one that doesn’t happen. When you have a monotonically inc
by tbsdy 14y ago
Uh, cheating?
"Cheating - Know How to Fake Data
Awesome technique. The fastest function call is the one that doesn’t happen. When you have a monotonically increasing counter, like movie view counts or profile view counts, you could do a transaction every update. Or you could do a transaction every once in awhile and update by a random amount and as long as it changes from odd to even people would probably believe it’s real. Know how to fake data."
So all those people who buy views are kinda screwed now :-) I suspect this is a bad example. I HOPE this is a bad example, if only for the KONY2012 campaign :P
- henrikschroder 14y agoNo no, the correct amount of views will be recorded for a specific video, it's just that each webserver doesn't know the exact number all the time. You make each webserver fetch the correct value perhaps every hour, and fake it inbetween. You'll get an ok approximation, users can't tell the difference, and you don't have to fetch the actual number every single pageview.
- tbsdy 14y agoSir, thank you :-) I appreciate you clarifying this!