Redis does not improving performanceProblems flushing Magento Redis Cache on an installation with a separate...

Does diversity provide anything that meritocracy does not?

Why do all the books in Game of Thrones library have their covers facing the back of the shelf?

Boss asked me to sign a resignation paper without a date on it along with my new contract

Plausible reason for gold-digging ant

Count repetitions of an array

What game did these black and yellow dice come from?

Why is the "Domain users" group missing from this PowerShell AD query?

Current across a wire with zero potential difference

Possible issue with my W4 and tax return

How can I play a serial killer in a party of good PCs?

What species should be used for storage of human minds?

Why did Luke use his left hand to shoot?

Why does magnet wire need to be insulated?

Cat is tipping over bed-side lamps during the night

Memory usage: #define vs. static const for uint8_t

I have trouble understanding this fallacy: "If A, then B. Therefore if not-B, then not-A."

How to politely refuse in-office gym instructor for steroids and protein

What is the difference between "...", '...', $'...', and $"..." quotes?

Are the positive and negative planes inner or outer planes in the Great Wheel cosmology model?

If angels and devils are the same species, why would their mortal offspring appear physically different?

A fantasy book with seven white haired women on the cover

Why is a temp table a more efficient solution to the Halloween Problem than an eager spool?

Does the ditching switch allow an A320 to float indefinitely?

Equivalent of "illegal" for violating civil law



Redis does not improving performance


Problems flushing Magento Redis Cache on an installation with a separate backend serverMagento, Full Page Cache , Memcache and RedisPoor Magento Performance with AWS EC2Magento 1.8.1 can't connec to Redis server 2.8.19-1Magento Enterprise - Ongoing Redis Connection ErrorsWhy Can't Magento Turn Off The Cache When Redis FailsMagento site is frequently getting CACHE issue and failing to serve CSS, site is getting broken pagePermission issues with Magento MySql hosted on RDS on AWS“Redis 'server' not specified.” in Cm_Cache_Backend_Redis codeRedis sessions and Redis cache failure













2















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 1.9.3.8
app/etc/modules/Cm_RedisSession.xml is set to true
And this is local.xml file regarding redis:



     <cache>
<backend>Mage_Cache_Backend_Redis</backend>
<backend_options>
<server>xxxx.tapkyx.0001.euc1.cache.amazonaws.com</server>
<port>6379</port>
<persistent>cache-db0</persistent>
<database>0</database>
<password></password>
<force_standalone>0</force_standalone>
<connect_retries>1</connect_retries>
<read_timeout>10</read_timeout>
<automatic_cleaning_factor>0</automatic_cleaning_factor>
<compress_data>1</compress_data>
<compress_tags>1</compress_tags>
<compress_threshold>20480</compress_threshold>
<compression_lib>gzip</compression_lib>
</backend_options>
</cache>

<session_save>db</session_save>
<redis_session>
<host>xxxx.tapkyx.0001.euc1.cache.amazonaws.com</host>
<port>6379</port>
<password></password>
<timeout>2.5</timeout>
<persistent>cache-db1</persistent>
<db>1</db>
<compression_threshold>2048</compression_threshold>
<compression_lib>gzip</compression_lib>
<log_level>4</log_level>
<max_concurrency>6</max_concurrency>
<break_after_frontend>5</break_after_frontend>
<break_after_adminhtml>30</break_after_adminhtml>
<bot_lifetime>7200</bot_lifetime>
</redis_session>


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 :).










share|improve this question





























    2















    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 1.9.3.8
    app/etc/modules/Cm_RedisSession.xml is set to true
    And this is local.xml file regarding redis:



         <cache>
    <backend>Mage_Cache_Backend_Redis</backend>
    <backend_options>
    <server>xxxx.tapkyx.0001.euc1.cache.amazonaws.com</server>
    <port>6379</port>
    <persistent>cache-db0</persistent>
    <database>0</database>
    <password></password>
    <force_standalone>0</force_standalone>
    <connect_retries>1</connect_retries>
    <read_timeout>10</read_timeout>
    <automatic_cleaning_factor>0</automatic_cleaning_factor>
    <compress_data>1</compress_data>
    <compress_tags>1</compress_tags>
    <compress_threshold>20480</compress_threshold>
    <compression_lib>gzip</compression_lib>
    </backend_options>
    </cache>

    <session_save>db</session_save>
    <redis_session>
    <host>xxxx.tapkyx.0001.euc1.cache.amazonaws.com</host>
    <port>6379</port>
    <password></password>
    <timeout>2.5</timeout>
    <persistent>cache-db1</persistent>
    <db>1</db>
    <compression_threshold>2048</compression_threshold>
    <compression_lib>gzip</compression_lib>
    <log_level>4</log_level>
    <max_concurrency>6</max_concurrency>
    <break_after_frontend>5</break_after_frontend>
    <break_after_adminhtml>30</break_after_adminhtml>
    <bot_lifetime>7200</bot_lifetime>
    </redis_session>


    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 :).










    share|improve this question



























      2












      2








      2








      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 1.9.3.8
      app/etc/modules/Cm_RedisSession.xml is set to true
      And this is local.xml file regarding redis:



           <cache>
      <backend>Mage_Cache_Backend_Redis</backend>
      <backend_options>
      <server>xxxx.tapkyx.0001.euc1.cache.amazonaws.com</server>
      <port>6379</port>
      <persistent>cache-db0</persistent>
      <database>0</database>
      <password></password>
      <force_standalone>0</force_standalone>
      <connect_retries>1</connect_retries>
      <read_timeout>10</read_timeout>
      <automatic_cleaning_factor>0</automatic_cleaning_factor>
      <compress_data>1</compress_data>
      <compress_tags>1</compress_tags>
      <compress_threshold>20480</compress_threshold>
      <compression_lib>gzip</compression_lib>
      </backend_options>
      </cache>

      <session_save>db</session_save>
      <redis_session>
      <host>xxxx.tapkyx.0001.euc1.cache.amazonaws.com</host>
      <port>6379</port>
      <password></password>
      <timeout>2.5</timeout>
      <persistent>cache-db1</persistent>
      <db>1</db>
      <compression_threshold>2048</compression_threshold>
      <compression_lib>gzip</compression_lib>
      <log_level>4</log_level>
      <max_concurrency>6</max_concurrency>
      <break_after_frontend>5</break_after_frontend>
      <break_after_adminhtml>30</break_after_adminhtml>
      <bot_lifetime>7200</bot_lifetime>
      </redis_session>


      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 :).










      share|improve this question
















      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 1.9.3.8
      app/etc/modules/Cm_RedisSession.xml is set to true
      And this is local.xml file regarding redis:



           <cache>
      <backend>Mage_Cache_Backend_Redis</backend>
      <backend_options>
      <server>xxxx.tapkyx.0001.euc1.cache.amazonaws.com</server>
      <port>6379</port>
      <persistent>cache-db0</persistent>
      <database>0</database>
      <password></password>
      <force_standalone>0</force_standalone>
      <connect_retries>1</connect_retries>
      <read_timeout>10</read_timeout>
      <automatic_cleaning_factor>0</automatic_cleaning_factor>
      <compress_data>1</compress_data>
      <compress_tags>1</compress_tags>
      <compress_threshold>20480</compress_threshold>
      <compression_lib>gzip</compression_lib>
      </backend_options>
      </cache>

      <session_save>db</session_save>
      <redis_session>
      <host>xxxx.tapkyx.0001.euc1.cache.amazonaws.com</host>
      <port>6379</port>
      <password></password>
      <timeout>2.5</timeout>
      <persistent>cache-db1</persistent>
      <db>1</db>
      <compression_threshold>2048</compression_threshold>
      <compression_lib>gzip</compression_lib>
      <log_level>4</log_level>
      <max_concurrency>6</max_concurrency>
      <break_after_frontend>5</break_after_frontend>
      <break_after_adminhtml>30</break_after_adminhtml>
      <bot_lifetime>7200</bot_lifetime>
      </redis_session>


      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 :).







      magento-1.9 database redis aws jmeter






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 6 hours ago









      Muhammad Hasham

      1,8411424




      1,8411424










      asked 13 hours ago









      CoyoteKGCoyoteKG

      161




      161






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263362%2fredis-does-not-improving-performance%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263362%2fredis-does-not-improving-performance%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          迭戈·戈丁...

          A phrase ”follow into" in a context The 2019 Stack Overflow Developer Survey Results Are...

          1960s short story making fun of James Bond-style spy fiction The 2019 Stack Overflow Developer...