Counting can be achieved in a number of ways with Redis. The most obvious is INCR and friends (INCRBY, INCRBYFLOAT, HINCRBY, HINCRBYFLOAT, ZINCRBY) which have very obvious uses and use-cases by simply reading the documentation. Some of the non-obvious ways are with BITCOUNT and PFADD.
By continuing to use this site, you consent to our updated privacy agreement. You can change your cookie settings at any time but parts of our site will not function correctly without them.