Showing #views on a page without getting into the database all the time

More and more sites display the number of views (and clicks on dzone.com) that get certain pages. What is the best practice for tracking view # without loading the database on each load?

I have a bunch of potential ideas on how to do this in my head, but none of them seem viable.

Thanks, first user.

+3
source share
5 answers

- , . , , .

, . webapp , db webapp.

+3

- .

, , , .

+2

- memcached . , . yyyymmddhhmm 15 30 ( , ), get .

memcache .

+1

. , .

, - Google Analytics piwik. , , . , ajax , . Piwik - open source, , , - .

0

, . , reset, , , .

-1

Source: https://habr.com/ru/post/1702775/


All Articles