Current time: 11-24-2014, 09:49 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need feedback and input on TTFB
12-09-2012, 01:13 AM (This post was last modified: 12-09-2012 11:55 PM by GJC.)
Post: #1
Need feedback and input on TTFB
http://www.webpagetest.org/result/121208_58_AYR/

I've recently launched a website redesign with Drupal 7, PHP 5.13, IIS 7.5 on Windows 2008 Server.

I'm getting good scores on everything except First Byte Time - "F". I have tweaked everything I can think of over the last month.

I would be greatly appreciative of any feedback. I also would appreciate anyone taking a moment to visit the site ALSEA.Org to tell me if the real world load time is as bad as the report indicates.

Thanks, Greg
Find all posts by this user
Quote this message in a reply
12-10-2012, 11:39 AM
Post: #2
RE: Need feedback and input on TTFB
FYI I'm having similar struggles with the First Byte Time on Drupal 7, posted about it here http://www.webpagetest.org/forums/showth...tid=11933.
Find all posts by this user
Quote this message in a reply
12-11-2012, 06:20 AM
Post: #3
RE: Need feedback and input on TTFB
Is it always slow, or just if someone accesses it after a while of inactivity?

Do all pages across the site have similar TTFB issues

How many DB queries are required to build the home page?

What does the database tell you the slow queries are (are you using MySQL or SQLServer?)
Visit this user's website Find all posts by this user
Quote this message in a reply
12-11-2012, 06:50 AM
Post: #4
RE: Need feedback and input on TTFB
(12-11-2012 06:20 AM)andydavies Wrote:  Is it always slow, or just if someone accesses it after a while of inactivity?

Do all pages across the site have similar TTFB issues

How many DB queries are required to build the home page?

What does the database tell you the slow queries are (are you using MySQL or SQLServer?)

Seems to be all the time. I'm using local cache and cdn. Using MySQL and I tried to find out about the queries, but I'm lost (new to Drupal and MySQL).
Find all posts by this user
Quote this message in a reply
12-11-2012, 06:58 AM
Post: #5
RE: Need feedback and input on TTFB
Out of curiosity, any particular reason you are running PHP on IIS on Windows? How do you have php integrated (if it is running as a cgi it is pretty much guaranteed to suck) - http://blogs.iis.net/bills/archive/2006/...n-IIS.aspx

The database performance is going to be important as well but the absolute fastest PHP configuration I have experiences is using Nginx on Linux and using php-fpm for the integration (and also running the php apc opcode cache).

Try creating a really simple php page that does no database queries and just returns "It Works" or something like that and measure it's performance. That will tell you how fast the server can serve php vs the application logic itself.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-11-2012, 12:36 PM
Post: #6
RE: Need feedback and input on TTFB
(12-11-2012 06:58 AM)pmeenan Wrote:  Out of curiosity, any particular reason you are running PHP on IIS on Windows? How do you have php integrated (if it is running as a cgi it is pretty much guaranteed to suck) - http://blogs.iis.net/bills/archive/2006/...n-IIS.aspx

The database performance is going to be important as well but the absolute fastest PHP configuration I have experiences is using Nginx on Linux and using php-fpm for the integration (and also running the php apc opcode cache).

Try creating a really simple php page that does no database queries and just returns "It Works" or something like that and measure it's performance. That will tell you how fast the server can serve php vs the application logic itself.

I don't have any experience with Linux but you pointed me in the right direction! I downloaded wincache, got it working and saw an immediate improvement. Then I disabled a social share module because there was an issue with it and check it out now!

http://www.webpagetest.org/result/121211_Q5_1RZ/

Thanks again!!
Find all posts by this user
Quote this message in a reply
12-11-2012, 11:20 PM
Post: #7
RE: Need feedback and input on TTFB
oh, very nice!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)