databend icon indicating copy to clipboard operation
databend copied to clipboard

feat: query forward

Open BohuTANG opened this issue 3 months ago • 4 comments

Summary

Assuming we have a Databend cluster with three nodes, each serving as a service: Node-1: Create a query ID X. If the query is sent to Node-2 but not found, forward it to Node-1.

Benefits:

  • Flexible Routing: Avoids the necessity to route queries strictly to their origin node.
  • Statelessness: Similar to k8s deployments, the system doesn't require stateful management.

BohuTANG avatar Mar 29 '24 09:03 BohuTANG