Server process scheduling method, system and device based on node.js
A technology of server process and scheduling method, which is applied in the field of node.js-based server process scheduling method and system, can solve problems such as deficiencies, unstable software performance, etc., achieve low cost, strengthen network data processing capabilities, improve flexibility and The effect of usability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] attached figure 1 It is a schematic diagram of the steps of the node.js-based server process scheduling method disclosed in this embodiment. This method can be used to solve software instability and performance problems caused by single-instance background processing modules in software projects. By providing a general and A less costly solution, allowing the backend module to expand freely according to needs. This method can be widely used in various software, such as electronic batch recording software. The electronic batch software is used to solve the management and control specifications and records of various processes in the pharmaceutical production environment, manage the pharmaceutical production with electronic computers, and reduce errors caused by human factors, and accidents caused by mistakes in the production process. The software has a background processing module, which is used to process each workflow instance generated in the software business. The ...
Embodiment 2
[0049] attached figure 2 It is a schematic flowchart of a node.js-based server process scheduling method disclosed in another embodiment, in which the scheduling process is developed and implemented by node.js, and the business process is developed and implemented by C++. Utilize the cross-platform characteristics of node's native module, and combine it with C++ module to achieve the purpose of improving performance and fast scheduling. Specifically, the logic of the business process can be implemented with C++ code first, and then compiled into a dynamic link library file with a compiler. When the node scheduling process is running, it first calls the uv_dlopen() method to open the dynamic link library, and then calls the uv_dlsym() method to find The method address defined by the NODE_MODULE macro in the dynamic link library is mapped to the node_module_struct structure, and then the imported exports object is run as an actual parameter, and the method defined in C++ is mou...
Embodiment 3
[0069] attached image 3 Another node.js-based server process scheduling method disclosed in the embodiment may specifically include the following steps:
[0070] Step S301, the scheduling process obtains the front-end business request, and selects and allocates the business request to the mounted first logical process according to the preset allocation strategy for the mounted multiple logical processes, wherein the scheduling process is Node .js process. Wherein the service request is allocated to the mounted first logic process according to a preset random allocation policy or a minimum allocation policy. Specifically, the scheduling process is developed and implemented by node.js, and the business process is developed and implemented by C++. Utilize the cross-platform characteristics of node's native module, and combine it with C++ module to achieve the purpose of improving performance and fast scheduling. Specifically, the logic of the business process can be implement...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com