Web Connection
'Hits' count is stored where?
Gravatar is a globally recognized avatar based on your email address. 'Hits' count is stored where?
  Scott R
  All
  May 26, 2022 @ 11:21am

Hi,

We're trying to figure out where the 'Hits' count is stored at on the web connect server that you can view from the admin/ModuleAmdinistration page?

We currently run 15 comm servers on a server and are trying to see if we need a new server brought up to help with traffic. Since the comm servers process based on loadbased instead of round robin we can tell if com server #15 is getting hit a lot we're getting more traffic on the server than expected and need a new server to help with the traffic. Our app pool recycles a few times a day and so we lose the 'hits' when the comm servers are destroyed and are trying to find a way to store the hit count out so we can analyze the data a little better. Just trying to figure out where the count for 'Hits' is stored?

Gravatar is a globally recognized avatar based on your email address. re: 'Hits' count is stored where?
  Rick Strahl
  Scott R
  May 26, 2022 @ 11:48am

These values are calculated in memory and not stored. It's not a log but a real time status display that shows live data until the server instance is shut down or restarted...

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: 'Hits' count is stored where?
  Scott R
  Rick Strahl
  May 26, 2022 @ 12:22pm

Hey Rick,

Thanks for the reply. I guess we'll have to try to track down another way of monitoring it.

Gravatar is a globally recognized avatar based on your email address. re: 'Hits' count is stored where?
  Rick Strahl
  Scott R
  May 26, 2022 @ 12:46pm

There's a JSON link in recent versions that lets you get at the data easily enough, but it's just a snapshot.

Using that (or even the HTML result in older versions) you can use an Http Client (wwHttp for Fox) and parse out the data you need to track and store it in a database that you can run reports on later. You can build a small app that just sits in a loop and every 30 seconds or so gets the data and saves it.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: 'Hits' count is stored where?
  Scott R
  Rick Strahl
  May 26, 2022 @ 12:57pm

Awesome. Thanks!

© 1996-2022