You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2010/07/08 02:24:56 UTC

Re: Diiferences in avgRequestsPerSecond of Solr ..


: I am fectching the following details programatically :

1) you didn't tell us how you were fetching those detials programatically 
.. what URL are you using?

2) he fact that the handlerStart times are different suggests that you are 
not looking at the same handler (maybe you are looking at two differnet 
cores?) ...that value is set once on init and never changed again.

3) even if the handlerStart times were the same, and you were lokking at 
the exat same values, the avgRequestsPerSecond is  simple calculation that 
divides the number of request by the amount of time hte handler has been 
running (ie: current time - handlerStart) so the value is definitely going 
to change over time, even if you don't make a lot of requests.

frankly: the number is fairly meaningless unless you have a stead state of 
request coming in.

: 
: -------------------------------
: -----------------------------------
: Name :: /replication
: Class :: org.apache.solr.handler.ReplicationHandler
: Version :: $Revision: 829682 $
: Description :: ReplicationHandler provides replication of index and
: configuration files from Master to Slaves
: Stats :: 	handlerStart:1277797571859
: 	requests:1
: 	errors:0
: 	timeouts:0
: 	totalTime:0
: 	avgTimePerRequest:0.0
: 	avgRequestsPerSecond:16.129032
: 	indexSize:19.29 KB
: 	indexVersion:1266984293138
: 	generation:10
: 	indexPath:C:\Apache
: Solr\apache-solr-1.4.0\example\example-DIH\solr\db\data\index
: 	isMaster:true
: 	isSlave:false
: 	confFilesToReplicate:schema.xml,stopwords.txt,elevate.xml
: 	replicateAfter:[commit, startup]
: 	replicationEnabled:true
: -------------------------------
: -----------------------------------
: 
: 
: The stats.jsp page on http://localhost:8983/solr/db/admin/stats.jsp
: 
: gives the following :
: 
: 	handlerStart : 1277791396234
: requests : 2
: errors : 0
: timeouts : 0
: totalTime : 0
: avgTimePerRequest : 0.0
: avgRequestsPerSecond : 0.004224427
: indexSize : 19.29 KB
: indexVersion : 1266984293138
: generation : 10
: indexPath : C:\Apache
: Solr\apache-solr-1.4.0\example\example-DIH\solr\db\data\index
: isMaster : true
: isSlave : false
: confFilesToReplicate : schema.xml,stopwords.txt,elevate.xml
: replicateAfter : [commit, startup]
: replicationEnabled : true 
: 
: ..................
: 
: notice that the avgRequestsPerSecond varies hugely !!! why is it so?? Im not
: doing any dataimport if that is any important and neither have I  added any
: extra data ... and my solr home is set as 
: -Dsolr.solr.home="./example-DIH/solr/"
: 
: Please put in your views thanks !!!
: -- 
: View this message in context: http://lucene.472066.n3.nabble.com/Diiferences-in-avgRequestsPerSecond-of-Solr-tp930245p930245.html
: Sent from the Solr - User mailing list archive at Nabble.com.
: 



-Hoss