View Single Post
Old 06-11-2004, 03:08 PM  
Nathan
Confirmed User
 
Industry Role:
Join Date: Jul 2003
Posts: 3,108
Quote:
Originally posted by AnalProbe
Hey man,

I LOVE php, really.

I write almost all my webapps in PHP, sometimes Perl or Python.

But my stats app and OS like stuff I write in 100% C.

Nothing beats the speed, my stats server (seperate) counts millions of hits a day with an average serverload of 21 - 23 %.

Every hit gets stored in a SQLite DB, storing 92 fields / hit.

BTW, did you like the benchmark link ?
Yeah, cool link, I'd love to see the speed change if you use Zend Accelerator though in terms of PHP.

And yes, like I said in my reply to aiken, very few things need C, but big stats systems definately do. We had 80 million hits a day, server load at 70% (dual system), collecting over 100 static fields and path, referrer, multi page, browser and os dynamic data. dynamic as in, they were not just count-increases, its shit that had to be sorted and so on and searched for to add up.
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right."
- Charlie Munger
Nathan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote