An open API service indexing awesome lists of open source software.

https://github.com/mmattozzi/solr-timed-directory

Records I/O timing for a solr directory
https://github.com/mmattozzi/solr-timed-directory

Last synced: 2 months ago
JSON representation

Records I/O timing for a solr directory

Awesome Lists containing this project

README

        

Adds some I/O timing metrics to solr so you can evaluate your disk performance.

Only works for NIOFSDirectory (non-Windows systems).

Build project.
Add jar file to solr/lib.

Add elements to solrconfig:


Run Solr.
Open:

/dirStats

to see I/O timing information.

Open:

/dirStats?reset=true

to reset stats.

This wraps readInternal() call in NIOFSDirectory in lucene. I believe this will end up capturing all the bytes read from disk and the amount of time spent reading these bytes.