Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Server over load because of Mysql

which cache to use

1:02 am on Jul 28, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 22, 2004
votes: 0


i have a website use php and mysql with lots of dynamic pages.

My server over loads in busy hours.

I want to use cache for dynamic pages. But dont know to much about it.

I made some search i see some scripts as

phpcache lite

php APC


which is better any suggestions?


3:21 am on July 28, 2007 (gmt 0)

New User

10+ Year Member

joined:July 18, 2007
votes: 0


I've used eAccelerator with success for busy sites - the one downside to this cache system is that its directory apparently needs to be deleted of all cached files before restarting Apache. This is one step that is easily forgotten without a special script to do it automatically and can be cumbersome.

The first thing that you would want to do before adding any cache system is to see if/how you can optimize your database queries. Use MySQL's EXPLAIN function to see how well a query is performing:


Usually, adding indexes on fields that are queried often helps in the overall performance of the MySQL-based web site, but the queries themselves may be able to be rewritten for better performance.

Hope this helps,


[edited by: coopster at 9:32 pm (utc) on July 28, 2007]
[edit reason] changed link to authoritative domain [/edit]


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members