caiconghui commented on issue #6477:
URL: 
https://github.com/apache/incubator-doris/issues/6477#issuecomment-904430361


   > > I think that it is needed to speed up caculating, but in most case, we 
need to know the real time cluster replica statistic, cache may be confused 
when we need to track some cluster problems
   > 
   > The cache is configurable, maybe set cache timeout 0 to disable. The cache 
is mostly to prevent high frequency query in a short time that may cause high 
calculation cost and heavy lock competitions, maybe 1s is close enough from 
real-time refreshing.
   > 
   > The cache is easy to implement, the state is restored in the previous 
version and may cause concurrent issue, so the cache is kind of fixing a 
concurrent bug rather than a new feature.
   
   may we can provide two choice, sync or async, so that for high frequency 
query we can use async model, for other normal user, just speed up caculating 
and use sync model, what do you think about it? 


-- 
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: commits-unsubscr...@doris.apache.org

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



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

Reply via email to