Jump to content

[Solved] Extremely long time to first byte: 3 seconds !?!


Recommended Posts

Hi folks,

I am running PS RC1 on a regular shared Bluehost account, and my test shop with 2 dozen categories and a miserable 4 products takes 7-8 seconds to fully load.

I checked the details on http://www.webpagetest.org and it turns out that there is a 2-3 seconds latency before the first byte starts downloading. This is seriously long!

I have another website (none-PS) on the same server, and this one takes less than 66ms to load, so it looks like this is a PS issue. I have all the performance optimization options on (force compile is off) and am using Memcache.

Does anyone have the same performance issue? Or ideas on how to solve it?

Input and feedback would be much appreciated!

Thanks!

Dan

Link to comment
Share on other sites

  • 4 weeks later...
Hi folks,

I am running PS RC1 on a regular shared Bluehost account, and my test shop with 2 dozen categories and a miserable 4 products takes 7-8 seconds to fully load.

I checked the details on http://www.webpagetest.org and it turns out that there is a 2-3 seconds latency before the first byte starts downloading. This is seriously long!

I have another website (none-PS) on the same server, and this one takes less than 66ms to load, so it looks like this is a PS issue. I have all the performance optimization options on (force compile is off) and am using Memcache.

Does anyone have the same performance issue? Or ideas on how to solve it?

Input and feedback would be much appreciated!

Thanks!

Dan


I feel the same problems, It will be nice if someone helps¡¡¡
Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...

Hi folks,

 

the issue was that on a regular Bluehost Account, the Prestashop core would cause the server to throttle CPU performance in production mode (1000-1500 unique visitors per day / 750 products / 15-20 categories).

 

However, they have a Pro Account, which costs a bit more, but which has much better server performance. On that server, no more CPU throttling, and our website has now a load time between 2-3 seconds (for about 200K of data).

 

Time to first byte is still around 700ms, which is not so good, but I guess there just are too many functions being called by PS at the same time.

 

I would be interesting to know though if people who host PS on VPS or dedicated servers have better Time to First Byte results.

Link to comment
Share on other sites

  • 2 weeks later...

I was looking into this as well, as i just start finetuning the settings.. not fully CCC enabled yet, and memcached and Media servers not active yet..

Running on VPS, 2 cores available, 2gb of ram.

 

Noticed that the switch from domanin.com to domain.com/en takes 1 to 1,5 sec.

post-173-0-73376500-1317240664_thumb.png

Link to comment
Share on other sites

UPDATE: hitting the 1600-1700 unique visitors per day causes CPU throttling again with 1.4.5. - we have peeks of 227% CPU core. Basically the slow script execution causes us to have more than 15 simultaneous connections, which in turn causes our website to use approx. 2,5 server cores.

 

If we can't fine tune the SQL load and get rid of the slow queries through optimization, it looks like we'll need a VPS after all.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

I found the problem by myself

I emtpy the database which is

Connections

connections_page

connections_source

guest

 

and now http://www.saatcell.com "time to first byte" is 1 second :

 

http://www.webpagete...ZT8P/1/details/

 

i think this is important prestashop need to empty options for cleanable database on back Office

 

Hocam Selamlar,

 

Bu problemi nasıl çözdün acaba ? Benim www.saatmatik.com un yükleme süresi çok uzun, bir türlü çözemedim

Link to comment
Share on other sites

  • 6 months later...

is there any answer???

 

Here is prestashop's own demo site:

 

demo-store.prestashop.com/en/

http://www.webpagetest.org/result/120504_Y6_0f52d4a68690c35290020d9ccc46e6ef/1/performance_optimization/#first_byte_time

First Byte Time (back-end processing): 60/100

814 ms First Byte Time

423 ms Target First Byte Time

 

A featured store from the prestashop showcase

First Byte Time (back-end processing): 50/100

915 ms First Byte Time

420 ms Target First Byte Time

 

Another featured store from the prestashop showcase

First Byte Time (back-end processing): 6/100

1368 ms First Byte Time

432 ms Target First Byte Time

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...