two-tier.html 911 B

1234567891011121314151617181920212223242526
  1. {{ $data := $.Site.Data.best_practices.two_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. two-tier architecture may suffice. A two-tier architecture consists of:
  6. ![Image of the 2-cluster architecture: Source cluster, Compute/Transform +
  7. Serving cluster](/images/2-tier-architecture.svg)
  8. {{ partial "yaml-tables/generic-table.html" (dict "rows" $data.rows "columns"
  9. $data.columns) }}
  10. Benefits of a two-tier architecture include:
  11. - Support for [blue/green
  12. deployments](/manage/dbt/blue-green-deployments/)
  13. - More cost effective than a three-tier architecture.
  14. However, with a two-tier architecture:
  15. - Compute/transform operations and queries compete for the same cluster
  16. resources.
  17. - Cluster restarts require rehydration of the indexes on views.