php - the better method to store page hits in crowded site

Solution:
To avoid further load on the server, use external services like Google Analytics and Statcounter.
Answer
Solution:
If you don't want use external services, best option is NoSQL database.
Answer
Solution:
I would not use a file.
If the server is already under high load it would get even worse if you add that additonal concurrent file (read/write) access
I'm confirm with @Antonys answer. It will delegate the work for stats to the clients and not to the server.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: npm err! code 1
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.