Jump to content

loading ads from .txt files or mysql ?


TEENFRONT

Recommended Posts

Hey.. little explanation..

 

I have a large site...serving around 6million ad impressions per day.

 

Now a few months back mysql was getting hammered with all the mysql calls to the db and dragging out a random ad code to display... so... i switched it over to pulling the ad codes from .txt files instead and this greatly helped the mysql issues.

 

Now it seems its the other way round, Apache is taking a beating but im unsure if its related to these ad calls from txt files. so im thinking of swapping back over to mysql... whats the load difference from loading things from txt files, to loading things from mysql?

 

Obviously mysql is faster but from a "load" point of view, is it better? i dont wanna free up apache...then feck up mysql... :(

Link to comment
Share on other sites

Thanks for your suggestion - Thing is, i have 3 dedicated servers.

 

2 Apache servers and 1 mysql server. Its a meaty setup. Its just recently, in busy times, apache has been taking a real beating and reaching its max_connections then bombing out.

 

We really do have a LARGE site and the meaty server setup made me lazy with things like optimizing queries etc as the setup just coped fine. now with it lagging a little im looking for the best option.

 

Im also tempted to get the sites php code entirely rewritten by a Guru... hmmmmm lol. Any fancy some work? :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.