Apache Presto is a distributed query engine that follows a master-slave architecture where the coordinator is the master daemon and the workers are slave daemons. The following diagram shows the Presto architecture:
Let's discuss each component in detail:
- Coordinator: The Coordinator is the master daemon that accepts the request from the Presto Client. It has three main components, namely the Parser, Planner, and Scheduler. The Parser is responsible for parsing queries submitted by clients and detects syntax errors, if any. The Planner makes the execution plan for a query and passes the information to the Scheduler for ...