Re:Show HN: PageFish search algorithm
by rjmunro on Tuesday July 17, 2018 @10:19AM
(#17549894)
Why not just have one file per city name? Or use e.g. the first 2 characters of the city name as the hash, so that certain near misses later in the city name appear in the downloaded files.
[ Parent
| on HN ]
Re:Show HN: PageFish search algorithm
by peterburkimsher on Tuesday July 17, 2018 @10:46AM
(#17550035)
Good idea! Even take it to the extreme: a subfolder for every character in the string.
Re:Show HN: PageFish search algorithm
by peterburkimsher on Tuesday July 17, 2018 @11:37AM
(#17550422)
I realised why numbers are important, rather than characters! It scales to datacenter size.
Assign IP ranges to 255 servers or VMs, and hash to base 255 (not 65536 like this example).
Then let the router do the search.