News for hackers. Stuff that matters.
Re:The Periodic Table of Data Structures [pdf] by the8472 on Saturday October 27, 2018 @01:25PM (#18316726)
One way to do this is to send a bloom filter as index and then return the elements that are not part of the bloom filter.
Re:The Periodic Table of Data Structures [pdf] by jpitz on Saturday October 27, 2018 @01:30PM (#18316753)
But what about the false positives?
Re:The Periodic Table of Data Structures [pdf] by jwhitlark on Saturday October 27, 2018 @02:00PM (#18316875)
Well, I would assume the receiving node would verify that each entry was actually needed.
Re:The Periodic Table of Data Structures [pdf] by jpitz on Saturday October 27, 2018 @02:32PM (#18317019)
Aren't the false positives in this situation representative of set elements that node b thinks that node a has but really does not?
Re:The Periodic Table of Data Structures [pdf] by the8472 on Saturday October 27, 2018 @03:37PM (#18317337)
Right, the solution I remembered was a bit more complex, it required counting bloom filters and a subtraction operation to get a filter for the set difference. But the paper mentioned in a sibling comment claims to have even less overhead.