You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "AmatyaAvadhanula (via GitHub)" <gi...@apache.org> on 2023/06/26 06:21:44 UTC
[GitHub] [druid] AmatyaAvadhanula commented on pull request #14484: Improve CostBalancerStrategy, deprecate cachingCost
AmatyaAvadhanula commented on PR #14484:
URL: https://github.com/apache/druid/pull/14484#issuecomment-1606729905
@kfaraz This is a really neat idea.
One other improvement that can borrowed from cachingCost could be to have two kinds of maps
1. Datasource -> Interval -> count (`datasourceMap`)
2. Interval -> count (`globalMap`)
Total cost computed would then be the sum of the cost using the globalMap + cost computed using the datasource's subMap. This could be a simple, yet effective optimization when there are a lot of datasources in the cluster
--
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-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org