Forum Moderators: phranque

Message Too Old, No Replies

Calculating stats

when using two servers

         

buksida

7:21 am on Dec 2, 2005 (gmt 0)

10+ Year Member



Having a few issues with our webstats which are essential to us for selling advertisements.

The site is served from two servers domain01.domain.com and domain02.domain.com with the site being accessed via domain.com

Uploads are all done to 01 which then auto copies to 02 which serves as a backup. In the past we have calculated stats by adding figures (vistis, uniques, page views etc) from 01 to 02.

Now I'm not sure this is correct since if we turn 02 off and everything runs from 01 only the figures (and ad revenue) drops.

Does anyone have a similar setup or any suggestion on how to get accurate stats?

zCat

8:10 am on Dec 2, 2005 (gmt 0)

10+ Year Member



Having a few issues with our webstats which are essential to us for selling advertisements.

The site is served from two servers domain01.domain.com and domain02.domain.com with the site being accessed via domain.com

Uploads are all done to 01 which then auto copies to 02 which serves as a backup. In the past we have calculated stats by adding figures (vistis, uniques, page views etc) from 01 to 02.

Now I'm not sure this is correct since if we turn 02 off and everything runs from 01 only the figures (and ad revenue) drops.

You don't say how you distribute hits between the two servers. Is it possible, that when you turn "02" off, it is still getting hits?


Does anyone have a similar setup or any suggestion on how to get accurate stats?

I have a simple cron script which makes the round of a small set of load-balanced Apaches and concatenates the logfiles into one big one, which then gets run through the usual analyzers.

buksida

6:49 am on Dec 5, 2005 (gmt 0)

10+ Year Member



You don't say how you distribute hits between the two servers. Is it possible, that when you turn "02" off, it is still getting hits?

The servers are exact copies of each other so when they're both on a load balancing system divides the traffic between the two. I'm not sure exactly how it works.

I have a simple cron script which makes the round of a small set of load-balanced Apaches and concatenates the logfiles into one big one, which then gets run through the usual analyzers.

I would have no idea how to do this, besides we're on a Windows server.

buksida

5:46 am on Dec 8, 2005 (gmt 0)

10+ Year Member



Any one else on this? I'm still no closer to a solution.