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.

link|improve this question

0% accept rate
feedback

1 Answer

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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