Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions topics/bloomfilters.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Example of default bloom filter information:

```bash
127.0.0.1:6379> BF.ADD default_filter item
1
(integer) 1
127.0.0.1:6379> BF.INFO default_filter
1) Capacity
2) (integer) 100
Expand Down Expand Up @@ -231,10 +231,15 @@ You can modify these default values using the CONFIG SET command. However, note
Example usage of changing all the different properties:
```bash
127.0.0.1:6379> CONFIG SET bf.bloom-fp-rate 0.001
OK
127.0.0.1:6379> CONFIG SET bf.bloom-capacity 1000
OK
127.0.0.1:6379> CONFIG SET bf.bloom-expansion 4
OK
127.0.0.1:6379> CONFIG SET bf.bloom-tightening-ratio 0.6
127.0.0.1:6379> CONFIG SET bf.bloom-use-random-seed false
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a bool config and the value should be yes or no

OK
127.0.0.1:6379> CONFIG SET bf.bloom-use-random-seed no
OK
```

### Memory usage limit
Expand All @@ -244,6 +249,7 @@ The `bf.bloom-memory-usage-limit` configuration (default 128MB) controls the max
Example usage of increasing the limit:
```bash
127.0.0.1:6379> CONFIG SET bf.bloom-memory-usage-limit 268435456
OK
```

Having a limit on the max memory per bloom object prevents them from growing unbounded, thus maintaining server performance during serialization.
Expand Down