Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have developed a Facebook application... we launched and had over a thousand users in 12 mins. The problem is the application did not handle it and so we had to take it back offline. Where should we start to analyse it? It is PHP based with a MySQL database.

What tools can I use to find where and what was causing the slow down?

The server is dedicated linux with 4gig of ram and a core2duo chip.

share|improve this question

1 Answer 1

A Facebook application functions much like a regular website. All the same optimization techniques apply so look for other questions on website performance that include web server (apache, nginx, etc.), PHP optimizations, use of caching, database optimizations, etc. etc.

For Facebook apps there's a performance guide:

http://developers.facebook.com/docs/guides/performance

And Facebook developed XHProf to help identify performance bottlenecks:

http://pecl.php.net/package/xhprof

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.