Current time: 12-16-2017, 12:14 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Improving First Byte Time
08-08-2017, 04:15 PM
Post: #11
RE: Improving First Byte Time
(07-19-2017 04:29 PM)GreenGecko Wrote:  All this rubbish spouted about Magento - it's not brilliant, but at least it uses the Zend Framework. Just because you don't have the knowledge to tune it, doesn't mean it's not possible.

Just to prove my point, here's a demo. FYI this is running on an old blade server ( E5440 with a current load average of 2 ) *in a VPS* running off it - 2 vCPUs, 1GB memory - so you're talking in the region of $10/mo for an equivalent commercial VPS.

The poor disks are a bit hammered too (:

https://www.webpagetest.org/result/170719_SH_G4A/
( best run Time to First Byte: 179 ms )

As with all CMSes, you use the same principles to tune it. Monitor, address bottlenecks, rinse, repeat.

EDIT: FYI Magento no longer uses APC cache.

The worst one I've ever come across was running on a windows server, with a default WAMP install. Now someone really should have been shot for that...

As you're already running nginx, install php in php-fpm mode, and throw apache away completely. APC runs far, far better across php-fpm than it does with apache modules ( eAcellerator seems to be king over there ), and I find the resultant chain ( nginx -> php-fpm -> mysql ) far simpler to understand and tune. Once this is up and running, you'll need to start tuning up php resources ( high timeouts for admin services, plenty of mem again - 384 - 512MB per process ).
Find all posts by this user
Quote this message in a reply
10-04-2017, 07:54 AM
Post: #12
RE: Improving First Byte Time
First you need to identify the problem and since WP and forum run OK it is barely the hardware or server software.

Do this:

1. Download and install a fresh copy of Magento (the same version) on the server.
2. Compare its performance to the website - does it run faster?
3. I am 90% sure a clean copy will perform way better. If it does then you have either 3rd party extension or theme file slowing you down.
4. Disable extensions one by one to identify a performance hog and then try a different theme to see if it makes the difference.

Here I talk about it in details: https://www.goivvy.com/blog/magento-speed-boost

Konstantin Gerasimov
Magento Certified Developer
https://www.goivvy.com
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)