SolrMeter

Benchmarking Solr

http://wiki.apache.org/solr/BenchmarkingSolr

 

  • SolrMeter is a stress testing / performance benchmarking tool for Apache Solr installations. It is licensed under ASL and developed using JavaSE and Swing components, connected with Solr using SolrJ. The main goal of this open source project is bring to the Apache Solr user community a tool for dealing with Solr specific issues regarding performance and stress testing like executing queries and adding documents to make sure that your Solr installation will support real world's load and demands. With SolrMeter you can simulate a work load over the Apache Solr installation and to obtain useful visual performance statistics and metrics.

  • Check the project site: http://code.google.com/p/solrmeter

  • Sample View:

 

What can youdowith SolrMeter

 

http://lucene.472066.n3.nabble.com/Stress-Test-Solr-td1016253.html
The main goal of this open source project is bring to the Apache Solr user 
community a tool for dealing with Solr specific issues regarding performance and 
stress testing like firing queries and adding documents to make sure that your 
Solr instalation will support real world's load and demands. With SolrMeter you 
can simulate a work load over the Apache Solr instalation and to obtain useful 
visual performance statistics and metrics. 
Relevant Features: 
* Execute queries against a Solr installation 
* Execute dummy updates/inserts to the Solr installation, it can be the same 
server as the queries or a different one. 
* Configure number of queries to fire in a time period interval 
* Configure the number of updates/inserts in a time period. 
* Configure commits frequency during adds 
* Monitor error counts when adding and commiting documents. 
* Perform and monitor index optimization 
* Monitor query times online and visually 
* Add filter queries into the test queries 
* Add facet abilities into the test queries 
* Import/Export test configuration 
* Query time execution histogram chart 
* Query times distribution chart 
* Online error log and browsing capabilities 
* Individual query graphical log and statistics 
* and much more.... 

 

Download SolrMeter

http://code.google.com/p/solrmeter/downloads/list

solrmeter-0.2.0-jar-with-dependencies_3_1_4_0.jar >> for solr 3.0

 

 

Queries File Configuration

http://code.google.com/p/solrmeter/wiki/queries

A simple text file, each line should be the extact text you want to put on the "q" parameter. This file is used by the FileQueryExtractor class.

Example:
car
pig
red
dog category
:animal
"solr roks"
category
:(animal OR vegetable)

 

Fields File Configuration

A simple text file, each line should be the a declared field of the schema. This fields are going to be used for faceting. (Only fields that you want to be used for faceting should be added to this file).

This file is going to be used by the FileQueryExtractor class

Example:
content
category
fileExtension
Updates / Adds file configuration

A simple text file, each line representing a document that is going to be added to solr. The format is: fieldName:fieldValue; All required fields must be on the file.

Example:
id:1;name:dog;category:animal
id
:2;name:cat;category:animal
id
:3;name:lettuce;category:vegetable

Filter Queries File Configuration

A simple text file, each line should be the extact text you want to put on the "fq" parameter. This file is used by the FileQueryExtractor class. You can put multiple filter queries on the same line if you want them all to be used as one (on the same query). You can also use blank lines if you want the query to execute some queries with no filter queries.

Example
category:animal

category
:vegetable
categoty
:vegetable price:[0 TO 10]
categoty
:vegetable price:[10 TO *]

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值