Flink Engine Endpoint Overview
What Is an Endpoint?
In AI DataLake, an endpoint is the entry point for interacting with engines and compute resources. It associates compute engines with compute resources, so that submitted jobs can access the engines and use the compute resources of AI DataLake.
Advantages of endpoints:
- Automatic binding of engines and compute resource pools: When you create an endpoint, AI DataLake automatically binds engines to compute resource pools. When submitting jobs, you do not need to configure mappings between jobs, engines, and resources.
- Flexible configuration of compute resources allocated to endpoints: When creating an endpoint, you can configure compute specifications for the resource pool based on service requirements. You can set the minimum and maximum resource quotas allocated to the endpoint.
Figure 1 illustrates how AI DataLake endpoints work.
- Jobs interact exclusively with endpoints, hiding the complexity of underlying engines and resources.
- Each endpoint is automatically associated with a compute engine (Aura, Ray, Spark, or Flink) and compute resources (CPUs, GPUs, and NPUs).
- Compute resource specifications for endpoints can be flexibly configured without restarting or reconfiguring running jobs.
Flink Engine Endpoint Types
The Flink engine supports FlinkJob endpoints.
FlinkJob is a stream processing endpoint type provided by the Flink engine. These endpoints are suitable for continuous stream processing scenarios such as real-time data processing, streaming ETL, and event-driven applications. FlinkJob endpoints use agencies to access LakeFormation resources. These endpoints support stateful computations and checkpoint fault tolerance, and let you view submission logs. They support three resource allocation modes: reserved, hybrid, and on-demand.
Resource Allocation Modes for the Flink Engine
The Flink engine supports three resource allocation modes: reserved, hybrid, and on-demand. You can select the optimal mode based on your workload characteristics to optimize costs and balance resource performance.
| Endpoint Type | Resource Allocation | Description | Reference |
|---|---|---|---|
| FlinkJob | Reserved | Provides exclusive performance and optimal cost-effectiveness. Reserved resources with the lowest unit prices ensure stable baseline performance. This mode is best for steady workloads. | |
| Hybrid | Provides baseline stability and automatic scaling. Reserved resources are used first, and auto scaling is triggered automatically during peak hours. This mode is best for workloads with predictable fluctuations. | ||
| On-demand | Charges you based on the actual time taken to execute each task. No costs are incurred when no tasks are running. This mode is well-suited for short-term or ad-hoc tasks, including development, testing, and temporary projects. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
