Hi there,
I developed a PHP code calculating the number of visits of a web site based on the more-or-less common 30-minutes approach. But meanwhile, the log-database got so huge, that it takes hours and hours to go through the log. I am sure this is due to an inefficient way to program the code.
Does anyone have a nice piece of code at hand or know where to look for that algorythm/code?
Thanks for any advice.
I developed a PHP code calculating the number of visits of a web site based on the more-or-less common 30-minutes approach. But meanwhile, the log-database got so huge, that it takes hours and hours to go through the log. I am sure this is due to an inefficient way to program the code.
Does anyone have a nice piece of code at hand or know where to look for that algorythm/code?
Thanks for any advice.
Comment