concept ssd in category solr

appears as: SSDs
Solr in Action

This is an excerpt from Manning's book Solr in Action.

Because Solr’s job is to access the same large chunks of data (the data in the Solr index) over and over, this makes the OS filesystem cache extremely important to the overall performance of your Solr server. Although many Solr indexes can be hundreds of gigabytes and beyond the realm of how much RAM it’s practical to put in a server today, it’s nevertheless true that if you can manage to ensure your Solr index size is always less than the total amount of RAM in your system, you will essentially never have to seek to disk in order to execute a Solr query once all files have been initially loaded into memory. In this scenario, you effectively have an in-memory search engine, which enables considerably faster indexing throughput and faster query times. The takeaway from this section should be that, although SSDs are good, RAM is usually better, and you should consider adding enough RAM to your server to fit your entire index (plus whatever memory you allocate the JVM to run Solr) if you require the fastest speeds.