JohnD
10-02-2005, 02:17 AM
Hi,
I’m looking for a simple page hits script. I don’t know how to write scripts otherwise I would have written one myself.
The purpose of this script is to count how many times a visitor visited a single page, in this case how many times the page was viewed.
The result should be visible on that same page. It’s like those tutorial sites that show you how many times a tutorial was viewed.
I used a script called csCounter, but that one was too slow.
I need a script that can handle 20,000-40,000 visitors on a single page on peak day with ease. The script I used couldn’t, it would almost send the server into a meltdown. The reason why it couldn’t handle it (in my opinion) was the large IP list, a text file of 1,7MB.
I’ve searched for 3 days all over the internet, but couldn’t find anything useful. Either the scripts don’t check for unique visitors, they are too slow or they count a lot of other things that I really don’t need.
Requirements of the script:
- It should be really fast; on peak days days it should be able to handle 20,000-40,000 page hits on the same page
- It should be reliable (my old script would reset a counter once in a while)
- It should have a simple check for unique visitors
My Unix server supports Perl, PHP and MySQL.
Does anyone know of such a script that can meet these requirements? Whether it’s a CGI, PHP script pr MySQL or Text file based, as long as it does what I want it to do.
I appreciate your help.
John.
I’m looking for a simple page hits script. I don’t know how to write scripts otherwise I would have written one myself.
The purpose of this script is to count how many times a visitor visited a single page, in this case how many times the page was viewed.
The result should be visible on that same page. It’s like those tutorial sites that show you how many times a tutorial was viewed.
I used a script called csCounter, but that one was too slow.
I need a script that can handle 20,000-40,000 visitors on a single page on peak day with ease. The script I used couldn’t, it would almost send the server into a meltdown. The reason why it couldn’t handle it (in my opinion) was the large IP list, a text file of 1,7MB.
I’ve searched for 3 days all over the internet, but couldn’t find anything useful. Either the scripts don’t check for unique visitors, they are too slow or they count a lot of other things that I really don’t need.
Requirements of the script:
- It should be really fast; on peak days days it should be able to handle 20,000-40,000 page hits on the same page
- It should be reliable (my old script would reset a counter once in a while)
- It should have a simple check for unique visitors
My Unix server supports Perl, PHP and MySQL.
Does anyone know of such a script that can meet these requirements? Whether it’s a CGI, PHP script pr MySQL or Text file based, as long as it does what I want it to do.
I appreciate your help.
John.