A Python-WSGI and PHP-Apache Web Server Performance Analysis by Search Page Generator (SPG)

  • Hataw Jalal Mohammed Department of Applied Computer, College of Medicals and Applied Sciences, Charmo University, Sulaymaniyah, Iraq
  • Kamaran Hama Ali Faraj Department of Computer Science, College of Science, Cihan University, Sulaymaniyah, Iraq; Department of Computer Science, College of Science, University of Sulaimani, Sulaymaniyah, Iraq
Keywords: Python, PHP, Web Server, Web service, SPG, Performance.

Abstract

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.

Downloads

Download data is not yet available.

References

Adekotujo, A., Odumabo, A., Adedokun, A., & Aiyeniko, O. (2020). A Comparative Study of Operating Systems: Case of Windows, UNIX, Linux, Mac, Android and iOS. International Journal of Computer Applications. 176. 16-23. 10.5120/ijca2020920494
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
Published
2021-06-30
How to Cite
Mohammed, H., & Faraj, K. (2021, June 30). A Python-WSGI and PHP-Apache Web Server Performance Analysis by Search Page Generator (SPG). UKH Journal of Science and Engineering, 5(1), 132-138. https://doi.org/https://doi.org/10.25079/ukhjse.v5n1y2021.pp132-138
Section
Research Articles
Share |