# COMPUTE Reference Documentation The areas of the database architecture that belong to COMPUTE are depicted in the diagram below. ![Environment high-level architecture - COMPUTE components](../assets/environment-high-level-architecture-compute.png) The COMPUTE layer is responsible for: - Dataflow execution - Optimization - Horizontal scaling - [Active replication](active-replication.md)