" /> Close Statistics - Genesys CTI User Forum

Author Topic: Close Statistics  (Read 2560 times)

Offline Elango

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Close Statistics
« on: February 22, 2016, 06:48:17 PM »
Advertisement
Hi,

If we need to stop some receiving statistics, will this affect the server performance ?
For Example Lets assume, I will be closing the request by "[b]RequestCloseStatistic[/b]" for almost 30 statistics.

Thanks in advance

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Close Statistics
« Reply #1 on: February 22, 2016, 07:01:03 PM »
Stat Server will continue to compute all statistics that are somehow opened - and even the closed ones for the duration of old-stats-remove-interval option value (in minutes).

For instance, if client "A" requests to open statistic "1", and then client "B" requests to open the same statistic "1", and then client "A" requests to close statistic "1", the statistic is still open because "B" hasn't closed it yet. Once "B" closes the statistic "1", it will continue in Stat Server memory (and processing) until "old-stats-remove-interval" expires.

A statistic, on the perspective of stat server, is the combination of the Object + Statistical Type + Time Range (when applicable) + Filter + Time Profile. So, if you request to open the exact combination twice of those properties, it is in fact one statistic.

Hope this helps.

Offline Elango

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
Re: Close Statistics
« Reply #2 on: February 22, 2016, 07:07:11 PM »
Thanks for your reply hsujdik,
If Client "A" is opening 10 statistics and Client "B" is also opening the same set of statistics,it is working fine. But when Client "A" and "B" is trying to close all the open statistics, will it affect the performance of the Stat Server ? i Am clear about opening the stat, bt not exactly about the closing...

Offline hsujdik

  • Hero Member
  • *****
  • Posts: 541
  • Karma: 30
Re: Close Statistics
« Reply #3 on: February 22, 2016, 07:16:12 PM »
If it is affecting, it shouldn't. In fact, Stat Server will remain computing those statistic until the old-stats-remove-interval expires. And, after that period, the performance is expected to change for better.

I have experienced memory leak on older versions of Stat Server, but lately it seems to be working ok for that matter.