Letractively / dataparksearch

Automatically exported from code.google.com/p/dataparksearch
GNU General Public License v2.0
0 stars 0 forks source link

Query caches #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We have multiple search engines deployed for a single index to handle the
load. A query cache is created for the query when it hits a search engine.
However, if "next" page query hits the second engine it does not benefit
from the cache and takes just as long as the original query. It will be
good if the query caches could be put on an NFS drive and shared so that
once a query has run on one search engine the cached result is available
for all.

Probably needs some simple locks while creating and reading the cache file.
Alternately - probably even more elegant would be to use memcached to cache
the results.

Original issue reported on code.google.com by amitshar...@gmail.com on 15 Jun 2009 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by dp.max...@gmail.com on 17 Jun 2009 at 10:48