Data Plane
The Data Plane is the high-performance engine responsible for handling actual API traffic. It executes the logic defined by the Control Plane configuration.
Responsibilities
- Request Handling: Accepts incoming HTTP requests on configured ports.
- Routing: Matches requests to specific API endpoints defined in OpenAPI specs.
- Validation: Validates request parameters and bodies against the OpenAPI schema.
- Execution:
- SQL Generation: Converts API requests into optimized SQL queries.
- Database Interaction: Executes queries against the configured data sources.
- Response Formatting: Formats database results into JSON responses matching the schema.
Performance
The Data Plane is built in Rust for maximum performance and low latency. It uses asynchronous I/O and connection pooling to handle high concurrency.