mysql - Best practices, PHP, tracking millions of impressions per day -


What else do I have to do to insert 20k mysql (During the peak hour around 1k / sec during slow time )? I am doing some research and I wrote "INSERT DELAYED" suggestion in a flat file, "FOPAN (file, 'A)', and then running a chain job to dump" essential "data to mysql, etc. . I have heard that you need many servers and "load balancers" which I have never heard of, to do something like this work. I'm looking at these "cloud server" things - one-ma-jigs, and their automatic scalability, but not really about scalable.

The app is just a tracker script, so if I have 100 websites that load 3 million pages daily, there will be 300 million inserts in a day. The data will be taken through a script which will run for every 15-30 minutes which will make the data normal and put it in any other MySQL table.

What do the big dogs do? What do small dogs do? I can not take a big server anymore, so any intuitive way, if there are many ways to go to it, then you can think smart people .. Please tell me :)

< P>

How do large dogs?

Multiple server load balancing.

How do small dogs do this?

Multiple server load balancing.

You really want to save inserts and bulk them into the database. 20k individual inserts are a fanatic on top of each other, and the simplicity in each second eliminates most of it in order to put a large bottom.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -