doris-architecture-advisor
Apache Doris Architecture Advisor
Workload-aware architecture design for Apache Doris. 8 decision rules, 3 worked examples. Complements
doris-best-practiceswith sizing-first workflow.
Workflow
Follow these 5 steps in order:
-
DDL validation — The
doris-best-practicesskill handles DDL correctness. Its Pre-Flight Checklist and DDL Gotchas apply to every CREATE TABLE. This advisor focuses on architecture decisions (which model, which partition strategy, which indexes), not DDL syntax. Always calculate explicit bucket counts. If volume is unknown, choose a conservative default: 3 for small dimensions, 8 for medium tables, 16-32 for large daily fact tables. -
Classify workload — Read
references/decision-workload-classification.md. Match user's scenario to one or more of the 6 workload types. Composite workloads (e.g., IoT = time-series + device state + logs + dashboards) decompose into multiple sub-tables. -
Size the cluster — Read
references/decision-sizing-matrix.md. Estimate write throughput, query QPS, latency target, and hot data volume. Output sizing as total vCPU and total cache only — never break down into per-node specs (in cloud / storage-compute mode, node count is typically managed by the platform). Also readreferences/decision-deployment-mode.mdif user hasn't specified cloud vs on-prem. -
Design architecture — Based on workload classification, read the relevant decision rules: