Comment on How Hacker News ranking algorithm worksparentComments−jshen15yvisit count is not trivial. A db write for every page view is heavy.−seabee15yPersist it in memory, you only need periodical writes for something like that. We're not running on a $5 powweb account here.−jshen15yRight, but then it's not trivial which was my point. It can. Be trivial and not scale, or scale and not be trivial.I'm not sure why I get down voted for this.
Comments
visit count is not trivial. A db write for every page view is heavy.
Persist it in memory, you only need periodical writes for something like that. We're not running on a $5 powweb account here.
Right, but then it's not trivial which was my point. It can. Be trivial and not scale, or scale and not be trivial.
I'm not sure why I get down voted for this.