Re:Cryptographers Solve Decades-Old Privacy Problem
by jengels_ on Saturday November 18, 2023 @02:26PM
(#38323385)
Pretty efficient! E.g. a recent paper describes a system to do fully private search over the common crawl (360 million web pages) with an end to end latency of 2.7 seconds: https://dl.acm.org/doi/10.1145/3600006.3613134
[ Parent
| on HN ]
Re:Cryptographers Solve Decades-Old Privacy Problem
by vlovich123 on Saturday November 18, 2023 @02:42PM
(#38323540)
Yeah, but that’s 1 request using 100% capacity of a 45 machine cluster. Relatively efficient but cost prohibitive.
Re:Cryptographers Solve Decades-Old Privacy Problem
by avmich on Saturday November 18, 2023 @04:07PM
(#38324444)
How does it compare to the search done without any encryption?
Re:Cryptographers Solve Decades-Old Privacy Problem
by seeknotfind on Saturday November 18, 2023 @05:43PM
(#38325473)
Many many orders of magnitude. It really depends on the search algorithm. If you're looking up a single term, there are many standard ways to index this, but for instance using a trie or hash table, the lookup cost would be a number of operations proportional to the search term length (e.g. for "foo", it's a of length 3, times some small number of operations for each letter). Plus then if you want to combine the results and sort by frequency, to estimate the cost of this, add up the number of pages from each term, p_1 + p_2 + ... = P. Then the number of operations might be P*log(P). This dominates the cost. So if your search terms appear in 1,000,000 of these pages, you're talking about on the order of ~6,000,000 small operations. An implementation would be able to execute this many operations on a single CPU in 10s or 100s of milliseconds maybe, for an elementary unoptimized algorithm.
Re:Cryptographers Solve Decades-Old Privacy Problem
by deadfece on Sunday November 19, 2023 @01:44AM
(#38329841)
It used 145 core-seconds of compute, according to the paper. That's not 100% unless they were mostly 1 core servers.
However, the search used almost 50MiB of traffic before the query was even sent by the client. I imagine that will add up fast.
Re:Cryptographers Solve Decades-Old Privacy Problem
by vlovich123 on Sunday November 19, 2023 @09:57AM
(#38333198)
You’re right, I did my math with 1 core assumption. Still, it’s 800ms of 100% utilization of all 4 vCPUs across the entire cluster. That’s 40% capacity if the 2s latency was purely CPU bound and the current was next to the server, but we know the initial phase involves some round trips to communicate that 50mib so the 40% is a floor. My point remains that this is several orders of magnitude off in terms of cost still (as you mention network bandwidth required is off by similar orders of magnitude as cpu).