Project

General

Profile

Feature #19070

Handle statistics more efficiently

Added by Richard Neswold over 1 year ago.

Status:
New
Priority:
Normal
Category:
Data Pool Manager
Target version:
-
Start date:
02/21/2018
Due date:
% Done:

0%

Estimated time:
Duration:

Description

From the Erlang shell, we have fe_registery:report/0, fe_registry:report_efficiency/0, and dpm:get_jobs_info/0 to get some insight to what's going on in the DPM. These functions use a brute-force, query-every-process approach, which can be fairly expensive when there are thousands of requests. This issue proposes we use a different approach.

A process can be launched which accepts messages describing changes in internal state. This process can keep accumulated results so asking for these reports would be very fast. So fast we can entertain the idea that a web page could should you the changing, internal statistics of all the DPMs!

The process would keep track of:

  • number of ACNET clients
  • number of DI/PI/FTD combinations (and how many clients asked for the same set)
  • number of FE/FTD processes


Also available in: Atom PDF