Server Cluster / Load Balancing issues.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
StingRay
Forum Newbie
Posts: 2
Joined: Tue May 28, 2002 12:40 am

Server Cluster / Load Balancing issues.

Post by StingRay »

I looked through the serveral forums searching for a solution to this problem, and have not found one yet...

The problem.
-- no mySQL.
-- site is on a server cluster.
-- file downloads are recorded in a text file.
-- No access to server or those who run the server.

The download counter is not accurate because there is a counter file for every server in cluster.
There shouldn't be, but there is. For some reason the cluster does not immediately copy over the file to every server in cluster.
So depending on which server you happened to be on, the download counter will give you a different value.

Question.
How do I record and display an accurate download log?

I have thought about using an external file on another website but, that's not ideal because it is a high traffic site and I do not want to eat up bandwidth at another site. If I have to I will.. then I would need some hints about doing that ;)

I'm a beginner to intermediate level PHP programmer (been using for 6 months part time).

Thanks for any ideas or help.
StingRay
Post Reply