Tag:Get prefix

  • Redis gets a key script instance of a prefix


    1. background In peacetime maintenance, we often encounter the number of keys to count a prefix. In redis with more requests, keys * will directly lead to blocking.Incremental iteration can be carried out in the form of scan, and pipeline can be used to reduce interaction and improve efficiency. 2. Advantages and disadvantages of scan […]