I
I
Ilya Beloborodov2015-10-28 18:09:42
MySQL
Ilya Beloborodov, 2015-10-28 18:09:42

The number of page views. How best to implement?

There is a project.
25,000 hosts per day.
It is necessary to record in the database the number of views of the article for the last 7 days.
There is an option to enter a separate table in which each view with time will be recorded.
But as you understand - the load on the database.
Perhaps there are other options?
Perhaps google analytics or Yandex.metrics allow you to receive such information?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Sokolov, 2015-10-28
@kowap

Yandex.Metrica allows .
And Google Analytics can .
Did you search?

M
Mikhail Osher, 2015-10-28
@miraage

What do you think the purpose of these tools was?
Of course they will help.

A
Andrew, 2015-10-28
@R0dger

Analysis of nginx or apache logs
as a Redis option and already with Redis in the database.

Y
yesworld, 2015-12-01
@yesworld

Here is a similar question: How to make a counter of article views?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question