This topic describes the architecture of Presto.

The following figure shows the architecture of Presto.Architecture of Presto
Presto has a typical mobile/server architecture that comprises a coordinator node and multiple worker nodes. The coordinator node provides the following functions:
  • Receives and parses query requests, generates an execution plan, and delivers the execution plan to worker nodes for execution.
  • Monitors the running status of worker nodes. Each worker node maintains a heartbeat connection with the coordinator node.
  • Maintains metastore data.

Worker nodes run the tasks that are assigned by the coordinator node, use connectors to read data from external storage systems, process the data, and send processing results to the coordinator node.