Hello everyone,
My name is Marin Bezhanov and I recently developed an algorithm that calculates average ratings faster than SELECT AVG() or any other PHP solutions based on the standard arithmetic mean equation. At this point, I'm looking for peer reviews and trying to receive as much feedback on it as I can. I'm also trying to popularize the algorithm.
The algorithm has been documented in detail here: Calculating Average Rating the Right Way using PHP and MySQL
Web-based benchmark running on my server using a 1 000 000 row data set can be ran here: Online Benchmark
Alternatively, you can download the benchmark script source and run it on your own server to compare the results. The files are available here: Benchmark Source Code
I would really appreciate your comments.
Thanks for your time!
Best regards,
Marin


