peferron commented on issue #6993: [Proposal] Dynamic prioritization and laning URL: https://github.com/apache/incubator-druid/issues/6993#issuecomment-460021365 I really like this proposal! For context: we plan to make large interactive queries more responsive by running many low-priority background queries in order to populate a remote cache such as Redis or Memcached. This works for us because many of our large interactive queries are predictable, while smaller interactive queries are less predictable but are fast anyway so don't need to be cached. Laning will ensure that these background queries don't impact interactive queries, and responding with 429 will make it much easier to throttle the submission of background queries in our caching service, so I love that. Could you perhaps elaborate a bit more about why the dynamic prioritization scheme based on `periodThreshold` makes sense, as opposed to a `durationThreshold` for example? In our case, users may issue interactive queries that have a small interval duration (e.g. one hour) but are far in the past (e.g. six months ago).
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
