madrob commented on a change in pull request #230:
URL: https://github.com/apache/solr/pull/230#discussion_r706349788



##########
File path: solr/solr-ref-guide/src/caches-warming.adoc
##########
@@ -79,6 +79,9 @@ Reasonable values, depending on the query volume and 
patterns, may lie somewhere
 The `maxRamMB` attribute limits the maximum amount of memory a cache may 
consume.
 When both `size` and `maxRamMB` limits are specified the `maxRamMB` limit will 
take precedence and the `size` limit will be ignored.
 
+The `async` attribute determines whether the cache stores direct results 
(`async=false`, the default) or whether it will store indirect references to 
the computation (`async=true`). Enabling `async` will use more slightly more 
memory per cache entry, but may result in reduced CPU cycles generating results 
or doing garbage collection. The most noticable improvements will be seen when 
there are many queries racing to compute the same results before they are 
inserted into the cache. In some use cases, increasing autowarming may be a 
better alternative to enabling an async cache. Additionally, an async cache 
will not prevent a data race for time-limited queries, as those may return 
differing sets of partial results.

Review comment:
       This already has
   
   > The most noticable improvements will be seen when there are many queries 
racing to compute the same results before they are inserted into the cache.
   
   Not sure what else you mean I should add?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to