A Python-WSGI and PHP-Apache Web Server Performance Analysis by Search Page Generator (SPG)
The web servers (WSGI-Python) and (PHP-Apache) are in middleware tier architecture. Middleware architecture is between frontend tier and backend tier, otherwise it’s a connection between frontend tier and backend tier for three tier architecture. The ELearning systems are designed by two different dynamic web technologies. First is by Python-WSGI and the second is by Personal Home Page (PHP-Apache). The two websites were designed with different open source and cross platform web technologies programming language namely; Python and PHP in the same structure and weight will evaluate perform over two different operating systems (OSs): 1) Windows-16 and 2) Linux-Ubuntu 20.4. Both systems run over the same computer architecture (64bit) as a server side with a common backend MySQL web database for both of them. Nevertheless, the middleware for PHP is a cross Apache MySQL PHP Perl (XAMPP), but the middleware for Python is Pycharm and the web server gateway interface (WSGI). WSGI and Apache are both web servers and this paper will show which of them has a better response time (RT). On the one hand, the experimental results demonstrate that the Python-WSGI is even weightier in Mbyte than PHP-Apache, on the other hand Python is still faster and more accurate than PHP. The designed SPG is by handwriting codes: one time designed the SPG by PHP source code and the other time designed by Python source code. Both Python-WSGI and PHP-Apache results are targeted to compare by the least time in milliseconds and take in to account enhanced performance.
Faraj, K. H.A, Kanbar, A. B., Mohammed, J.G., Hammed, W., & Karim, S. F. (2020). Cloud Computing Loading Time over Different Operating Systems. Science Journal of University of Zakho, 8, 154– 159.
Faraj, K. H.A., Najeb, N. M., Nooruldeen, B. S., & Anwar, S. A. (2017). Distances wired Relation for different connected of Server-Computer to Client Computers Packet sizes relation for different Distances wired connected of Server-Computer to Client Computers. The Scientific Journal of Cihan University – Sulaimanyia, 1(1), 38-47. doi: http://dx.doi.org/10.25098/1.1.4
Kochhar, P. S., Wijedasa, D., & Lo D. (2016). A Large Scale Study of Multiple Programming Languages and Code Quality. IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER), 2016, 1, 563-573. doi: 10.1109/SANER.2016.112
Marshall, S. & Sankey, M. (2017). The ACODE Benchmarks for Technology Enhanced Learning. Conference: THETA 2017: Conference, Connecting Minds. Creating The Future.At: Auckland, New Zealand.
Maul, A., Mari, L., Irribarra, D. T., Wilson, M. (2020). The quality of measurement results in terms of the structural features of the measurement process, Measurement, 116.
Nooruldeen, B. S. (2017). Benchmarking Dependability of Web Servers for E-System Applications (Unpublished thesis). University of Sulaimani,. Sulaymaniyah, Iraq.
Othman, H., Faraj, K., Ahmed, K. H., Al Attar, T. N. A., Hameed, W. M., & Kanbar, A. B. (2020). Response Time analysis for XAMPP Server based on Different Versions of Linux Operating System. The Scientific Journal of Cihan University – Sulaimaniya, 4(2), 102-114. doi: http://dx.doi.org/10.25098/4.2.23
Ramakrishnan, R. & Kaur, A. (2019). Performance Evaluation of Web Service Response Time Probability Distribution Models for Business Process Cycle Time Simulation. Journal of Systems and Software, 161. doi: https://doi.org/10.1016/j.jss.2019.110480
Reitz, K., Schlusser, T., et al. (2016). The Hitchhiker’s Guide to Python: Best Practices for Development. 1st ed.. O’Reilly Media.
Samad, H., Hanizan, S. H., Din, R., Murad, R., & Tahir, A. (2017). Performance Evaluation of Web Application Server based on Request Bit per Second and Transfer Rate Parameters. Journal of Physics: Conference Series. 1018, 1st International Conference on Big Data and Cloud Computing (ICoBiC). doi :10.1088/1742-6596/1018/1/012007
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License [CC BY-NC-ND 4.0] that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).