Code running method and device, computer equipment, storage medium and product
By introducing a container instance pool in the low-code platform, and running custom codes based on the user's concurrent task information and identity information allocated instances, the problem that the operation of custom code in the low-code platform affects resource utilization is solved, and the operation efficiency and resource utilization are improved.
Patent Information
- Application Number
- CN202411719956.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-18
AI Technical Summary
In low-code business systems, the operation of user-defined code snippets may affect the low-code runtime process, resulting in reduced resource utilization and low running efficiency.
By receiving the running instructions of the target user, obtaining concurrent task information and identity information, determining whether the custom code to be run meets the instance allocation conditions, and allocating the instance from the container instance pool based on the instance occupancy information to run the code.
It is implemented to isolate the running thread of the code running platform and the running thread of the custom code, improve the efficiency of running custom code, and improve the resource utilization of the container instance pool by reasonably allocating instances.