The following figure shows the architecture of Presto:
Presto system composition
Presto has a typical mobile/server architecture comprising a coordinator node and multiple worker nodes. Coordinator is responsible for the following:
  • Receiving and parsing your query requests, generating execution plans, and sending the execution plans to the worker nodes for execution.
  • Monitoring the running status of the worker nodes. Each worker node maintains a heartbeat connection with the coordinator node, reporting the node statuses.
  • Maintaining the metastore data

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