开发者

Apache Solr caching <-> stress test

I want to do a quick&dirt load testing - but all my results are cached. I commented out all the Solr caches - but still everything is cached.

  • Can the caching come from the 'Field Collapsing Cache'. -- although I don't see this element in my config file. ( As the system now jumps from 1GB to 7 GB of RAM when I do a load test with lots of queries ).

  • Can it be a Lucence cache?

+------开发者_如何学JAVA-----------------------------------------------+ I want to lower the caches so they cache only some 100 or 1000 documents. ( Right now - when I do 50 000 unique queries Solr will use 7 GB of RAM and everything fits in some cache! )

Any suggestions how I could proper stress test my Solr - with a small number of queries (some 100 0000 - not in the millions as some testers have)?


this is not a recommended praxis. your results won't be realistic. it is even very important to tune the cache settings!

Try to hit solr with queries build from log files. I'm using fastbench for that kind of testing but you can use jmeter, a bash script or sth. similar

Can it be a Lucence cache?

yes

Field Collapsing Cache

no, you'll need the patch + config for that

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜