B
B
BonBon Slick2017-07-07 20:05:45
Task Schedulers
BonBon Slick, 2017-07-07 20:05:45

Collecting statistics of your site through cron?

I was thinking, if the project is large, it will be quite gemorno to invest in each action events that will increase the statistics counters. And just as hemorrhagic, it will pull out a new one every time, I think it's too resource-consuming, that's why the counters.
How about a cron that runs constantly and updates the counters?
And then, on the page where our analytics is needed, we pull the necessary counters. Or are there other more flexible methods for collecting data on a large project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2017-07-07
@BonBonSlick

in game development there are just mountains of data, and nothing,
Clickhouse can help you now, but they did it before (look for the Badoo video from the Highload conference)
about the crown - that's right, the main indicators are recalculated daily and the already aggregated ones are saved. The
problem is that sometimes marketing comes THINKING, but to check it, we need a retrospective for 6-12 months, and here .. in short, many thanks to Yandex for Clickhouse

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question