I'm trying to find the best setup for one really slow site. For education purpose.

I set with AWS CloudFront like full page cache, not only static files. Also Varnish and Redis, and performance are good now.

But I'm trying again to install one by and measure one by one and calculate what part giving more.

And I concluded that Redis does not improving at all. I tried with different pages, and nothing better. I also modified AWS Redis instance type to much stronger, and the same like the smallest one. I checked and keys are stored in database 0 and 1.

Also metrics show that hits are OK enter image description here

But when I try to test with jmeter, and hit 10 different links with 5 users, MySQL CPU load are go up to 100%. I understand that main purpose of Redis is to serve cached query results to webserver, instead for every request to contact database server.

This is htop from mysql enter image description here

Magento is app/etc/modules/Cm_RedisSession.xml is set to true And this is local.xml file regarding redis:



So questions are, what kind of improvements I can expect with using redis? And why is MySQL CPU overloaded even I call with Jmeter the same 10 pages? Or what I forgot to do :).

  • Additional information request. Post on pastebin.com and share the links. A) complete (not edited) my.cnf or my.ini Text results of: B) SHOW GLOBAL STATUS; after minimum 24 hours UPTIME C) SHOW GLOBAL VARIABLES; D) SHOW FULL PROCESSLIST; E) complete MySQLTuner report AND Optional very helpful information, if available includes - htop OR top OR mytop for most active apps, ulimit -a for a linux/unix list of limits, iostat -xm 5 3 for IOPS by device and core/cpu count, df -h for a linux/unix free space list by device, for why MySQL CPU is overloaded Answer. – Wilson Hauck Mar 2 at 1:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.