Tag:Bo Dian

  • Common application scenarios of redis

    Time:2020-5-31

    String store Click count function, incr key:001 Self increasing, such as link hits Distributed lock set key value NX PX 1000 / / set random value and set expiration time through setnx. If the value is written successfully, the lock is added successfully. Session sharing in cluster environment List store Often used in queues, stacks, […]