Compare Memcached and Redis

If you have the following situations, please choose Memcached:

  • You need to make the model as simple as possible.

  • You need to run a large node with multiple cores or threads.

  • You need to have the ability to scale with the increase and decrease system requirements to add and remove nodes.

  • You need to cache objects, such as databases.

  • Memcached, Redis (disabled cluster mode) and Redis (enabled cluster mode) Comparison Summary

      Memcached Redis (disabled cluster mode) Redis (enabled cluster mode)
    Engine Version 1.4.x 2.8.x and later 3.2.x and later
    type of data Easy ‡ 2.8.x - Complex * 3.2.x and later - Complex
    complex
    Data partition Yes no Yes
    Clusters are modifiable Yes Yes 3.2.10 and later - Limited
    Online re-fragmentation no no 3.2.10 and later
    encryption no 3.2.6,4.0.10 and later 3.2.6,4.0.10 and later
    Compliance Certification
    Compliance Certification

        FedRAMP

        HIPAA

        PCI DSS

     

    no

    no

    no

     

    3.2.6,4.0.10 and later

    3.2.6,4.0.10 and later

    3.2.6,4.0.10 and later

     

    3.2.6,4.0.10 and later

    3.2.6,4.0.10 and later

    3.2.6,4.0.10 and later

    Multithreading Yes no no
    Node Type Upgrade no Yes no
    Engine upgrade Yes Yes Yes
    High Availability (copy) no Yes Yes
    Automatic failover no Optional essential
    Publish / Subscribe feature no Yes Yes
    Sort Set no Yes Yes
    Backup and Recovery no Yes Yes
    Geospatial Index no 2.8.x - No Yes
    3.2.x and later - is
    Remarks:
    ‡ strings, objects (e.g., database)
    * String set, ordered sets, lists, hash, bitmap, hyperloglog
    Strings, set, sorted sets, lists, hash, bitmap, hyperloglog, geospatial index

Guess you like

Origin www.cnblogs.com/cloudrivers/p/11620727.html