Method and equipment used for processing event by website server
A website server and event technology, applied in the computer field, can solve the problems of reducing the average response time of the system, low latency, affecting other requests, etc., to achieve the effect of improving CPU utilization and reducing average response time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The application will be described in further detail below in conjunction with the accompanying drawings.
[0023] figure 1 It shows a schematic flow chart of a method for processing an event by a website server according to one aspect of the present application. The method includes step S11, step S12, step S13 and step S14. Wherein, the step S11 runs the main thread, after the main thread creates a coroutine based on an event processing request, then suspends the main thread and switches to the coroutine; the step S12 runs the coroutine, Create a communication channel by the coroutine, and hand over the main business logic of the event to the worker thread pool for processing, then suspend the coroutine and switch to the main thread; the step S13 runs the main thread again thread, the main thread continues to process the event loop until the message that the worker thread pool sent by the communication channel is received, suspends the main thread and switches to the ...
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