in reply to Data store and threads
Is 2kk+ a typo or do you mean 2M+ entries? I guess the second, because 2k doesn't sound like "lots".
Generally if you can keep the data in memory it will be a lot faster than anything you can read from disk. But depending on what searches you need to perform (for example searches for single words without wildcards) it might make more sense to store the data to disk and have a suitable search index (for example as a simple hash) in memory instead
Fuzzy searches with wildcards and finding 'mile' when you type in 'miles' need more effort, there are packages that allow this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Data store and threads
by Kirche (Sexton) on Feb 11, 2010 at 16:36 UTC | |
by BrowserUk (Patriarch) on Feb 11, 2010 at 18:52 UTC |