one-tier.html 1.1 KB

123456789101112131415161718192021222324252627282930
  1. {{ $data := $.Site.Data.best_practices.one_tier_architecture }}
  2. If the [recommended three-tier
  3. architecture](/manage/operational-guidelines/#three-tier-architecture)
  4. is infeasible or unnecessary due to low volume or a **non**-production setup, a
  5. one-tier architecture may suffice for your sources, compute objects,
  6. and query serving needs.
  7. ![Image of the 1-cluster-architecture
  8. architecture](/images/1-tier-architecture.svg)
  9. {{ partial "yaml-tables/generic-table.html" (dict "rows" $data.rows "columns"
  10. $data.columns) }}
  11. **Benefits of a one-tier architecture** include:
  12. - Cost effective
  13. **Limitations of a one-tier architecture** include:
  14. - Sources, compute objects, and queries compete for cluster resources.
  15. - [Blue/green
  16. deployment](/manage/dbt/blue-green-deployments/) is
  17. unsupported since sources would need to be dropped and recreated, putting strain on your upstream system during source recreation.
  18. To support blue/green deployments, use a two-tier architecture by moving
  19. compute objects to a new cluster (i.e., recreating compute objects in a new cluster).
  20. - Cluster restarts require rehydration of the indexes on views.