Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28561

Memcache - Performance issue on v2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Confirmed
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0-beta4
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
    • Environment:

      2.0.0-beta4

      Description

      Hello,

      Trying 2.0.0-beta4 I suspect an issue with Memcache

      Loading Admin UI with Memcached is way way slower than Redis or just filesystem.

      It is easily testable with Launchpad. Here is some screenshot.

      To switch from one to another I just changed the ENV vars.
      From:

                  - CACHE_POOL=cache.memcached
                  - 'CACHE_DSN=memcache:11211'
      

      to

                  - CACHE_POOL=cache.redis
                  - 'CACHE_DSN=redis:6379'
      

      As Symfony Cache seems to be used, the only reason would be that now,
      data stored in the Cache are bigger and Memcache does not really like that.

      Look the difference Memcache on the right, Redis on the left

      Also I have done a Backfire profile:
      https://blackfire.io/profiles/0ea71da7-a023-46ec-a69f-3580b8e75552/graph
      => getMulti of Memcached is slow that is the issue.

        Attachments

        1. Memcached-EmptyCache.png
          Memcached-EmptyCache.png
          654 kB
        2. Memcached-SecondLoad.png
          Memcached-SecondLoad.png
          579 kB
        3. Redis-EmptyCache.png
          Redis-EmptyCache.png
          438 kB
        4. Redis-vs-Memcached.png
          Redis-vs-Memcached.png
          1.14 MB
        5. Redis-vs-Memcached-2.png
          Redis-vs-Memcached-2.png
          829 kB
        6. Refis-SecondLoad.png
          Refis-SecondLoad.png
          393 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              s.morel Sébastien Morel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: