08-08-2017, 04:15 PM
(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 (:
( 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 ).