Scheduled tasks, pipeline tasks, and APIs in Data Service consume memory and concurrency resources. You can adjust the resources allocated to them based on actual usage.
FineDataLink allows you to configure resource limits separately for Scheduled Task, Real-Time Task, Scheduled Pipeline, Real-Time Pipeline, and Data Service.
You can configure resource limits under System Management > Intelligent O&M > Load Management > Load Distribution.
1. Scheduled tasks, real-time tasks, scheduled pipeline tasks, and real-time pipeline tasks are subject to both memory and concurrency limits. If either requirement is not met, an error or prompt is displayed.
2. To access Load Management, you need the Use permission for Intelligent O&M under System Management. For details, see Load Management Use Permission.
By default, Spark uses 75% of the memory reserved for the system and components.
This setting currently has no effect and is pending optimization.
For standalone deployment, if you configured a memory limit before upgrading FineDataLink to V4.1.4, the previous setting no longer applies after the upgrade. To change the limit, you can contact FanRuan technical support.
If you changed the concurrency setting before upgrading FineDataLink to V4.1.4, the previous setting no longer applies after the upgrade. You need to reconfigure it under System Management > Intelligent O&M > Load Distribution > Concurrency Control.
You can adjust the memory proportion of each module in Memory Allocation.
For details about how to modify Tomcat Memory, see Modifying Tomcat Memory.
You can allocate 10% to 60% of the total memory to these modules. For example, if the total memory is 2 GB, the configurable amount ranges from 0.2 GB to 1.2 GB.
Before FineDataLink V4.2.21.2 and V5.0.14.2, the default upper limit for estimated memory usage during the incremental phase of a real-time pipeline is 1 GB. Estimates exceeding 1 GB are calculated as 1 GB.
By default, 75% of the reserved memory is allocated to Spark for scheduled tasks.
In a cluster environment, the available memory for all nodes is displayed.
Click Edit in the upper-right corner, then drag the sliders to adjust memory allocation, as shown in the following figure.
When you drag the Public Space slider, the memory allocations for all four modules decrease proportionally, to a minimum of 1% per module. When you drag the slider for the other four modules, only the allocations of the two adjacent modules change.
If a scheduled task exceeds its memory limit, the following error appears.
In this case, increase the memory allocation for Scheduled Task, as shown in the following figure.
If a pipeline task exceeds its memory limit during startup, the following prompt appears.
In this case, increase the memory allocation for Real-Time Module in Memory Allocation.
You can adjust the number of concurrent tasks for Scheduled Task, Real-Time Module, Scheduled Pipeline, and Quality Monitoring in Concurrency Control.
Displays the CPU core count and total configurable concurrency in FineDataLink. The more CPU cores available, the greater the total concurrency.
In a cluster, the maximum concurrency for each node is displayed. For example, the maximum concurrency for node 1 is Y, and the maximum concurrency for node 2 is Y.
You can drag the slider to adjust the concurrency limit for each module. The adjustable range is:0.5 × CPU core count ≤ pipeline task and scheduled task concurrency ≤ 9.5 × CPU core countIn a cluster, the CPU core count is displayed for each node, but all nodes must use the same configuration.Scheduled Task concurrency:Scheduled task nodes are subject to different concurrency controls depending on their type:
Data Synchronization, Data Transformation, and Parameter Assignment nodes: Actual concurrency is limited by both the thread pool and the concurrency limit. The lower of the two limits applies.
Other nodes (SQL Script, Shell Script, Bat Script, and Python Script): Concurrency is limited only by their respective thread pools, not directly by the concurrency limit configured in Concurrency Control.
Default thread pool limits:
The default thread pool limits are calculated based on total Data Development concurrency:
Data Synchronization / Data Transformation: 1 × total Data Development concurrency
Shell Script / Bat Script: 1 × total Data Development concurrency
SQL Script: 4 × total Data Development concurrency
Each scheduled pipeline task consumes 4 of the total allocated concurrency. The number of tasks and synchronized tables that can run simultaneously is calculated as follows:
Maximum concurrent scheduled pipeline tasks = Scheduled Pipeline concurrency ÷ 4
Maximum concurrent synchronized tables across all scheduled pipeline tasks in the project = Maximum concurrent scheduled pipeline tasks × 5.
Click Edit in the upper-right corner, and drag the sliders to adjust the concurrency limit, as shown in the following figure.
If a pipeline task exceeds the concurrency limit, a prompt appears when the task starts, as shown in the following figure.
High concurrency in FineDataLink means that multiple tasks run simultaneously. You also need to consider database concurrency.
In this case, increase the concurrency allocated to Real-Time Module in Concurrency Control, as shown in the following figure.
If a scheduled task exceeds the concurrency limit, a message is recorded in the log, as shown in the following figure.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy