Better HN
topnewbestaskshowjobs
Log inSign up

kiran_kulkarni

3 karma · joined Jun 11, 2014 (12y ago) · 1 submissions

Submissions

comment 12y ago · link · parent

Technically HyperLogLog works on bitmaps, this library leverages this fact and uses Redis bitmaps instead of an in-memory implementation.

Although we are fans of Redis, if you implement it natively you can avoid network latency. Implementing it natively is not a problem because of the commutative nature of HyperLogLog

Further, If one is planning to use Redis it will be better to use built-in HyperLogLog datastructure provided by Redis 2.8.9 as documented here http://antirez.com/news/75