Method and device for improving performance of Codegitizer framework

A framework and performance technology, applied in the field of improving the performance of Codeigniter framework based on Swoole, can solve problems such as web application performance problems, and achieve the effect of speeding up processing speed and improving concurrent performance

Active Publication Date: 2021-04-06
INFORMATION2 SOFTWARE SHANGHAI
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the deficiencies in the above-mentioned prior art, the purpose of the present invention is to provide a method and device for improving the performance of the Codeigniter framework, so as to solve the performance problems existing in the web application developed based on the PHP Codeigniter framework in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for improving performance of Codegitizer framework
  • Method and device for improving performance of Codegitizer framework
  • Method and device for improving performance of Codegitizer framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The implementation of the present invention is described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0051] figure 1 It is a flow chart of the steps of a method for improving the performance of the Codeigniter framework of the present invention, figure 2 It is a flow chart of improving the performance of the Codeigniter framework in a specific embodiment of the present invention. like figure 1 and figure 2 Shown, a kind of method of the present invention promotes Codeigniter framework...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for improving the performance of a Codegitizer framework, and the method comprises the steps: S1, adjusting a code of the Codegitizer framework, splitting a framework entrance and a core file, and adjusting a code, which is not compatible with Swool, in the framework entrance and the core file; S2, creating a Server, generating a Master process, a Worker process, a Task process and a Manager process which contain a Reactor thread, and starting one-key coroutinization; S3, after the Server receives the service request, enabling the Master to forward the service request to the Worker based on an event driver; S4, enabling the Worker to call a Codegner framework to process a service request delivered by a Reactor thread of the Master, and send response data to the Reactor; and S5, enabling the Reactor to send the obtained response data to a client.

Description

technical field [0001] The invention relates to the technical field of Web application development, in particular to a method and device for improving the performance of a Codeigniter framework based on Swoole. Background technique [0002] At present, most web applications using PHP (Hypertext Preprocessor, hypertext preprocessing language) as the development language use Apache (server software) or Nginx (HTTP and reverse proxy web server) through SAPI (Server Application Programming Interface, server application Program programming interface) and PHP exchange data to provide HTTP services externally. Common SAPI deployment methods include APACHE2HANDLER mode (prefork MPM under Apache), CGI / FastCGI mode (worker MPM, event MPM and Nginx under Apache). Regardless of the mode, the final request processing is done by PHP. [0003] Although the concurrent performance in FastCGI mode has been improved, its processing capacity still depends on the number of CGI processes; the s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/06G06F9/448G06F9/48
CPCG06F3/061G06F3/0676G06F9/449G06F9/4494G06F9/4881
Inventor 甘磊连恒郭政周华胡军擎
Owner INFORMATION2 SOFTWARE SHANGHAI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products