question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add example script showing use of Hyperloglog commands.

See original GitHub issue

Add an example script that shows the use of the PFADD and PFCOUNT and optionally PFMERGE commands (see Redis Hyperloglog Commands.

Make sure to use a real world example of the need to approximately count something, for example cars passing by a traffic monitoring camera perhaps. Check out our Hyperloglog video for examples.

Name your file hyperloglog.js. Pay attention to the guidelines for adding an example to ensure that your contribution can be merged.

This is part of our participation in Hacktoberfest 2022. Learn how to complete this issue here: https://redis.io/community/hacktoberfest/

Need help or want to talk to us? Join us on Discord where we have a dedicated Hacktoberfest channel: https://discord.gg/ueQwKUh5Z3

If you’re interested in taking this issue on, please mention @simonprickett and @SuzeShardlow in the comments and ask to be assigned.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ade1705commented, Oct 10, 2022

@SuzeShardlow I have created a PR for it. Please have a look here

1reaction
ade1705commented, Oct 10, 2022

@SuzeShardlow almost done. Apologies for the delay

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redis new data structure: the HyperLogLog - <antirez>
The command returns 1 if the underlying HyperLogLog was modified, otherwise 0 is returned. This is interesting for the user since as we...
Read more >
Redis - HyperLogLog - Tutorialspoint
Redis HyperLogLog Commands​​ Following table lists some basic commands related to Redis HyperLogLog. Adds the specified elements to the specified HyperLogLog. ...
Read more >
HyperLogLogs in Redis - Thoughtbot
A HyperLogLog is a probabilistic data structure used to count unique values — or as it's referred to in mathematics: calculating the cardinality ......
Read more >
Counting Distinct Values With HyperLogLog | Cloudbees Blog
The interface for adding and counting values is extremely simple. Here we'll define a simple Ruby script that will download a sample of ......
Read more >
HyperLogLog | Redis
There are three HyperLogLog commands in Redis: PFADD, PFCOUNT and PFMERGE. Let's say you're building a web crawler and you want to estimate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found