I am using a very simple implementation of redis HLL
PFADD to add the elements and PFCOUNT ( something with PFMERGE ) to get the count
Is there a way I can tune the efficiency of redis HLL , by increasing memory allocated etc
I am using a very simple implementation of redis HLL
PFADD to add the elements and PFCOUNT ( something with PFMERGE ) to get the count
Is there a way I can tune the efficiency of redis HLL , by increasing memory allocated etc
NO, you CANNOT. The size of a hyperloglog is hard coded, and you cannot change it by configuration or compile-time options. If you do need to change it, you have to modify the source code and build it by yourself.
// hyperloglog.c
#define HLL_P 14 /* The greater is P, the smaller the error. */
Also, the greater is P, the more memory it costs.