by MichaelGG · 10y ago · 0 comments
They can also leverage the bulk speed to reduce the size of posting lists. Just index each term to a chunk of, say, 1-5GB. And don't even index full terms, just hash them - a 64-bit hash gives you enough room for around 10 billion unique terms without causing much problems with collisions. New data in the last hour can be brute forced while the index is being generated.
OTOH they seem successful so I suppose it's working quite fine.
Couple of terrabytes processing easy but yeah limited to only a few queries per day.
A lot of the effort goes into caching so disk reads and swap file use is minimised. Really that's where all the overhead is.
All the public stuff for that is at
The interactivity shifts quite a bit when you get close to "instant". Though I know some companies that are content with even 30s query times, but that's gotta limit flexibility.
There's a number of thresholds you can hit:
5 minutes: this is taking a while, better grab a coffee
1 minute: this is taking a while, I can let my thoughts drift a bit
10 seconds: it will be done soon, I'll just stare at the screen till it's done
1 second: it's not slow, but sluggish and interrupting my flow
200 milliseconds: that result came instantly when I pressed the button
50 milliseconds: the results update instantly when I use this slider
Hitting another of these milestones transforms the user experience and allows the dataset to be experienced in a new way, allowing more spontaneous exploration of the data