Custom Resource Group
Scenario
A retail company recently launched a promotional campaign. It wants to ensure that certain data processing tasks—such as order processing and inventory updates—complete quickly and on time. How can you guarantee that high-priority tasks are allocated dedicated scheduling resources, run without interference from other tasks, and complete on schedule?
Solution and Features
Dataphin supports custom resource groups. You can assign high-priority tasks to a dedicated resource group. This ensures that the tasks have sufficient scheduling resources during peak periods and are completed on time.
Limits
can create up to 100 resource groups (including the 's default resource group).
The limit applies regardless of resource group status.
Permissions
Custom resource groups can be created by users with system roles, such as super administrator and system administrator, or custom roles that have the Manage Resource Settings permission.
Procedure
Go to Management Hub > System Settings > Resource Settings. Under the default scheduling cluster resource group, create a custom resource group.
In the scheduling resource settings, assign CPU and memory resources to this custom resource group. Set the application scenario to Offline Task – Daily Task Scheduling. Associate the resource group with one or more projects. After the configuration is complete, go to the project configuration and set this resource group as the project's default resource group. For more information, see Create a Custom Resource Group.
Go to Development > Data Development > Compute Tasks. Open the Properties panel for the target task. In the Resource Configuration section, change the scheduling resource group for the development or production task. This ensures that the task uses dedicated scheduling resources and completes on time.