git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: test-tool: bloom: generate_filter for multiple string?

From
Derrick Stolee <stolee@gmail.com>
Date
Jan 13, 2021, 12:06 UTC
Message-ID
<31aec25c-07ef-b3b7-2759-494ad47bcfb1@gmail.com>
In-Reply-To
<X/7guF05a/Bb/VNp@danh.dev>
On 1/13/2021 6:59 AM, Đoàn Trần Công Danh wrote:
Show 14 quoted lines
> On 2021-01-12 14:53:32-0500, Taylor Blau <me@ttaylorr.com> wrote:
>> On Thu, Dec 31, 2020 at 10:54:38AM +0700, Đoàn Trần Công Danh wrote:
>>> I'm reading the code for Bloom Filter to see if arXiv:2012.00472
>>> could be an improvement.
>>
>> I'm late to the party, but I'm curious to hear which part of this
>> article you think would help out the Bloom filter implementation.
> 
> Uhm, no. The article doesn't help the Bloom filter implementation.
> The article was suggesting using Bloom filter to speed-up the
> negotiation in fetch-pack and upload-pack. Which, in my own quick
> experience, doesn't help much. Maybe it's me not understand the
> article idea or I have made a naive implementation. However, I'm not
> convinced to pursued further.

I saw that idea, and was immediately skeptical. Bloom filters still have size linear to the size of the set. By using a Bloom filter to describe "these are ALL the objects I have" instead of "these are the TIPS I have" the size will explode to be much larger than our current negotiation algorithm.

Thanks, -Stolee

Previous: Đoàn Trần Công DanhNext: Đoàn Trần Công Danh
Message 6 of 8 in “test-tool: bloom: generate_filter for multiple string?”
  1. Đoàn Trần Công DanhDec 31, 2020
  2. Derrick StoleeDec 31, 2020
  3. Đoàn Trần Công DanhJan 5, 2021
  4. Taylor BlauJan 12, 2021
  5. Đoàn Trần Công DanhJan 13, 2021
  6. Derrick StoleeJan 13, 2021
  7. Đoàn Trần Công DanhJan 13, 2021
  8. Taylor BlauJan 13, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.