Book Image

Apache Solr High Performance

By : Surendra Mohan
Book Image

Apache Solr High Performance

By: Surendra Mohan

Overview of this book

Table of Contents (14 chapters)

Solr performance factors


In this section, we will understand the factors and metrics that impact Solr's performance. The following are the metrics and the parameters that you should look into in order to see the impact of the changes you have performed:

  • Transactions Per Second (TPS): This denotes the number of search queries and document updates you are able to perform in a second. To have a better understanding, you may navigate to the statistics page and look at the avgTimePerRequest and avgRequestsPerSecond parameters of your request handler.

  • Memory usage: While tweaking components to manage the memory usage, you need to ensure that the memory used by Solr doesn't increase day-by-day, though a slight increase in this may be acceptable. However, if this usage keeps increasing without any constraint, you will be prone to receive out-of-memory errors. In such a situation, TPS increases significantly, and extra care needs to be taken so as to debug and stabilize memory usage. You need to...