Quote:
|
Originally Posted by teknomage1
Isn't a database overkill for a hit counter? That's equivalent to driving across the street.
|
Not entirely.
Say the file has 1 million entries.
Which will be faster to load: the file or a single SQL query result ?
Which will use less memory: the full file or a single SQL query result ?
Quote:
|
Originally Posted by teknomage1
|
i already explained flock here:
Hitcounter problem
The MySQL example is just a follow up to an already available solution.