https://bz.apache.org/bugzilla/show_bug.cgi?id=61541

            Bug ID: 61541
           Summary: Manipulation of web pages code
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Hello,

This is partial bug + partial performance issue. Did not find a feature request
site or contact.

The Apache Server seems to be parsing codes of PHP, Perl, or other FastCGI/CGI
JIT. Here are some thoughts over the potential problems that are generated:

1. If a code is changed then the new code is parsed. This might be advantageous
since we wont need restart of server. However, a potential problem is code
hacks due to internal or external threats will lead to wrong code being parsed.
2. If a code is parsed everytime there is a request then there is potential lag
for reading code by server even if minimal. This can be avoided.

Probable Solution by change in Code Parsing:

* Server start will load the entire web application in the memory. This will
avoid/reduce above two problems.
* This mode is present in Java app servers and NodeJS already and can be a real
benefit.

Potential Disadvantages of the Solution:

* Server restart will be needed everytime there is a code base change and a
mere FTP push will not enable the new code in the web app. This disadvantage
can be resolved by providing it as an option to load web app to memory through
the http.conf file. The default may be one that is chosen by the community.

Regards,
Ganesh B

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to