Skip to content

how much memory is used per item / false positive percentage? #90

@kolinfluence

Description

@kolinfluence
  1. lower false positive rates = higher memory used. is there a vague guide on the number of bytes?
    filter := bloom.NewWithEstimates(1000000, 0.01) 
  1. for a cdn deployment with 100 million items, what's a good number for the bloom item count and false positive rate?
    also how much memory is needed for this bloom filter?

  2. i was thinking if it's using a lot of memory, would it be advisable to use roaring bitmaps as "replacement" to bloom filter as suggested by chatgpt here:
    Regarding memory use of maximum size and removal of bit number RoaringBitmap/roaring#388

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions