Load Distribution

  • Last update: November 23, 2026
  • Overview

    Version

    FineDataLink VersionFunctional Change
    4.1.4/
    4.2.1.4Supported concurrency configuration for Data Check.
    4.2.4.3Merged Real-Time Task and Real-Time Pipeline into Real-Time Module.
    4.2.8.2Added the Scheduled Pipeline module.
    4.2.21.2 & 5.0.14.2Changed the memory usage logic for real-time pipeline tasks.

    Application Scenario

    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.

    Function Description

    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.

    iconNote:

    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.

    Task TypeSetting ItemSetting LogicDescription
    Scheduled Task

    Memory AllocationSpecifies the maximum proportion of memory allocated to the Scheduled Task module.Controls the number of concurrent tasks.
    Concurrency ControlSpecifies the maximum concurrency.Controls the number of concurrent tasks.
    Spark Memory LimitSpecifies the proportion of memory allocated to Spark.
    iconNote:

    By default, Spark uses 75% of the memory reserved for the system and components.

    Affects the complexity of computations Spark can handle and their execution speed.
    Real-Time Module
    Controls the memory and concurrency allocated to real-time tasks and real-time pipeline tasks.

    Memory AllocationSpecifies the maximum proportion of memory allocated to the module. The default memory limit for real-time tasks is 256 MB. In FineDataLink of V4.1.13.4 and later versions, you can adjust this limit by changing the FineDB configuration. For details about how to contact technical support, see Technical Support Channel Introduction.
    Concurrency ControlSpecifies the maximum concurrency. The default concurrency limit for real-time tasks is 4.
    Data ServiceMemory Allocation
    iconNote:

    This setting currently has no effect and is pending optimization.

    Specifies the maximum proportion of memory allocated to the Data Service module.Controls concurrency and the amount of data returned per request.
    Data checkConcurrency ControlSpecifies the maximum concurrency.Controls the number of concurrent tasks.
    Scheduled Pipeline
    Memory AllocationSpecifies the maximum proportion of memory allocated to the module.
    Concurrency ControlSpecifies the maximum concurrency. Each scheduled pipeline task requires 4 of the available concurrency.

    1.3.png

    Compatibility Notes

    Memory Allocation

    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.

    Concurrency Control

    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.

    Memory Allocation

    Function Description

    You can adjust the memory proportion of each module in Memory Allocation.

    3.1-1.png

    No.Description
    11. Displays the total memory in a standalone environment. Total memory is related to Tomcat memory: The more memory allocated to Tomcat, the greater the total memory. You can view Tomcat memory under System Management > Intelligent O&M > Load Management > Load Surveillance.

    3.1-2.png

    For details about how to modify Tomcat Memory, see Modifying Tomcat Memory.

     2. Displays the memory available for Data Development, Data Pipeline, and Data Service.
    iconNote:

    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.

    2Displays the memory allocated to scheduled tasks.
    During the full synchronization phase, a real-time pipeline task uses memory allocated to scheduled tasks.
    3Displays the memory allocated to real-time tasks and real-time pipeline tasks.

    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.

    Starting with FineDataLink V4.2.21.2 and V5.0.14.2, memory usage for real-time pipeline tasks is no longer fixed. You can set a memory limit for each real-time pipeline task in Task Control.
    4Displays the memory allocated to scheduled pipeline tasks.
    5Displays the memory allocated to APIs in Data Service.
    6Displays the public space memory, which is represented by the green bar. If a module exceeds its configured memory limit, it can use available public space memory, which is shared among modules.
    710% to 60% of the total memory can be allocated. Another 40% of the total memory is reserved for the system and components.
    iconNote:

    By default, 75% of the reserved memory is allocated to Spark for scheduled tasks.

    8
    iconNote:

    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.

    iconNote:

    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.

    3.1-3.png

    Use Case

    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.

    3.2-2.png

    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.

    3.2-4.png

    Concurrency Control

    Function Description

    You can adjust the number of concurrent tasks for Scheduled Task, Real-Time Module, Scheduled Pipeline, and Quality Monitoring in Concurrency Control.

    4.1.png

    No.Description
    1

    Displays the CPU core count and total configurable concurrency in FineDataLink. The more CPU cores available, the greater the total concurrency.

    iconNote:
    Total configurable concurrency = CPU core count × N, where N defaults to 10.

    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.

    2

    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 count
    In 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


    Real-Time Module concurrency includes concurrency for real-time pipeline tasks and real-time tasks.
    Real-time pipeline concurrency: By default, the write thread pool of real-time pipeline tasks uses 25% of the total pipeline concurrency, with a minimum of 8. The remaining concurrency is available for pipeline tasks, each requiring 4 of the available concurrency.
    Available concurrency = Allocated concurrency − concurrency used by the write thread pool.
    For example, if the total real-time pipeline concurrency is 30, the write thread pool uses 8 by default, leaving 22 available for real-time pipeline tasks. Since each task requires 4, you can configure 5 real-time pipeline tasks.
    Real-time task concurrency: Before a real-time task starts, the system checks whether the available concurrency is at least 4. Ensure that sufficient concurrency is allocated in Load Distribution.

    Data check concurrency: The concurrency limit defaults to 0 and must be adjusted manually. Each data check task consumes 1 of the total allocated concurrency.

    Scheduled Pipeline 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.

    4.1-2.png

    Use Case

    If a pipeline task exceeds the concurrency limit, a prompt appears when the task starts, as shown in the following figure.

    iconNote:

    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.

    4.2.png

    iconNote:

    If a scheduled task exceeds the concurrency limit, a message is recorded in the log, as shown in the following figure.

    附件列表


    主题: System Management
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy