Erlang process timeout management method
A management method and process technology, applied in the computer field, can solve problems such as not supporting process execution setting time limit, and achieve the effect of avoiding devastating impact, avoiding performance loss, and avoiding single-point performance bottlenecks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0026] Such as figure 1 Shown, a kind of Erlang process overtime management method comprises the steps:
[0027] After S1, the Erlang node is started, create N overtime supervisory processes equal to the number of cores of the CPU;
[0028] The timeout monitoring process here is consistent with the number of CPU cores, making full use of the performance of modern multi-core CPUs.
[0029] S2, when each overtime supervisory process starts, an ordered ets table is created;
[0030] The ets table can be accessed by other processes and is used to store process timeout information, and the primary key of the ets table is {end-time, pid}, wherein end-time represents the expiration time of the process execution, and pid represents the process identity; The ets table adopts the type of ordered grouping, that is, the ets table is sorted according to the primary key from small to large. Create an ets table of the ordered-set type, which is an ordered grouping type, sorted by the prim...
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