1. Home
  2. Docs
  3. MiStats
  4. Description

Description

MiStats — is a subscriber statistics module integrated into Smarty. Its main component — is Clickhouse database, which allows optimally in terms of speed and performance to collect, store and perform calculations with a large amount of data.

The MiStats architecture was designed to:

  • statistical calculations did not affect the performance of the main functionality of Smarty — Smarty and MiStats instances are isolated and interact only via API;
  • tV viewing data previously stored in MongoDB was seamlessly transferred to Clickhouse without loss;
  • in addition to data from Smarty, MiStats is able to receive and use data from other systems.

Starting with the version of Smarty 2.0, all calculations for graphs from the section «Statistics» are carried out by MiStats.

Also, with the help of this module, the collection and sorting commands described in the section work statistics.

At the moment, MiStats does not have its own UI and the results of its work can be seen only in the admin Smarty, but in its roadmap are already:

  • a new separate user interface;
  • statistics on TV viewing VOD;
  • new types of schedules at the junction of tv viewing and billing activity of subscribers.