node.js - Get Bitmap from Redis in binary -
i working on user activity feature in track activity of user everyday. thinking of using bitmap, users active on day set 1.
setbit users:2015:9:30 <userid> 1
i don't want getbit each user. want retrieve entire value in binary can iterate through , find active or inactive users.
i know if approach correct , node-module use.
bit arrays in redis stored strings. entire array, regular , parse bytes result.
Comments
Post a Comment