Search posts, tags, users, and pages
Vũ Nguyễn
Fullstack Developer
Cho em hỏi tại sao không dùng BloomFilter.approximateElementCount mà lại dùng HyperLogLog vậy ạ.
guava.dev/releases/33.4.8-android/api/docs/com/go…
nguyen nam
Be the change you wish to see in the world
Vũ Nguyễn do guava lưu mem không lưu vào disk, pod off là mất
Vậy nếu write stream guava vào disk/redis và rebuild lúc restart thì có tốt hơn dùng HLL không anh, đỡ phải dùng nhiều tầng
Mỗi lần start 1 pod lại rebuild thì nặng nếu bloom filter lớn, client phải chờ pod rebuild xong mới query được