Global Feed Post Login
Replying to Avatar ben

> The Problem

Imagine you have 10,000 files and want to determine which ones already exist on a Blossom server before uploading.

the bloom filter (& friends) approach works well if clients actually use them. i worked on an api that exposed offers/coupons to apps like foursquare/groupon/etc back in the day. given a course location, we’d return a promotion at a nearby merchant, if available. that calculation wasn’t cheap and you can imagine the amount of traffic given the clients. we mitigated much of the load by generating and shipping bloom filters to the clients. if there definitely wasn’t a promotion available, they’d skip the request.

Avatar
Max 1mo ago

Exactly.

And FUSE seems to be super cheap to compute, rather small in size. The server can choose how frequently he recomputes the filter (could be once a day or so) and filter generation is done in milliseconds on a single core CPU.

Reply to this note

Please Login to reply.

Discussion

Avatar
ben 1mo ago

TIL about binary fuse filters. thanks!

Avatar
Max 1mo ago

Yeah they are new to me to, beautiful tech!

Thread collapsed
Thread collapsed