Skip to content

Commit

Permalink
add clarity around sensors on bikes
Browse files Browse the repository at this point in the history
  • Loading branch information
sav-norem authored Nov 15, 2023
1 parent 86a81af commit 03ac85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/data-types/bitmaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ See the [complete list of bitmap commands](https://redis.io/commands/?group=bitm

## Example

Suppose you have 1000 cyclists racing through the country-side, labeled 0-999.
You want to quickly determine whether a given rider has pinged a tracking server within the hour.
Suppose you have 1000 cyclists racing through the country-side, with sensors on their bikes labeled 0-999.
You want to quickly determine whether a given sensor has pinged a tracking server within the hour to check in on a rider.

You can represent this scenario using a bitmap whose key references the current hour.

Expand Down

0 comments on commit 03ac85d

Please sign in to comment.