Nginx VS Apache: Difference between revisions
Created page with "Dua server web (Sumber) open-source paling populer yang mendukung Internet saat ini adalah server HTTP Apache dan NGINX. Lebih dari 50% situs web di dunia berjalan di dua server web ini. Selama hampir dua dekade, server Web Apache melayani sekitar 60 persen situs web dunia hingga pesaingnya NGINX (diucapkan sebagai "engine-x") muncul. Karena pertumbuhan eksplosif dalam volume lalu lintas data dan jumlah pengguna web di seluruh dunia, NGINX diperkenalkan untuk mengatasi k..." |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 59: | Line 59: | ||
==Nginx vs Apache: Perbandingan Head to Head== | ==Nginx vs Apache: Perbandingan Head to Head== | ||
Untuk meringkas, berikut adalah tampilan tabular dari set fitur antara Nginx vs Apache: | Untuk meringkas, berikut adalah tampilan tabular dari set fitur antara Nginx vs Apache: | ||
{| class="wikitable" | |||
|+ | |||
|- | |||
! Fitur !! Apache !! Nginx | |||
|- | |||
| Simplicity || Easy to develop and innovate because of its one-connection-per-process model || Complex to develop as it has a sophisticated architecture to handle multiple connections concurrently. | |||
|- | |||
| Performance – Static Content || Slow in displaying static content || 2.5 times faster than Apache and consumes less memory | |||
|- | |||
| Performance –Dynamic Content || Excellent Performance for dynamic content || Excellent Performance for dynamic content | |||
|- | |||
| Operating system support || Supports all OS – Unix like and Windows || Supports all OS – Unix like and windows however performance on Windows is comparatively less stable. | |||
|- | |||
| [[Security]] || Is a secure web server. Understanding and configuring the security features are important || Is a secure web server. Understanding and configuring the security features are important | |||
|- | |||
| Flexibility || It can be customized by adding modules. Apache had dynamic module loading for the longest time. || NGINX version 1.11.5 and NGINX Plus Release R11 introduced compatibility for dynamic modules. | |||
|- | |||
| Support and Documentation || Excellent support and documentation are available as it has been in the market for a very long time. || Though there was a weak start for support and documentation for NGINX, it has grown rapidly hence now it has excellent resource support and documentation available. | |||
|} | |||
==NGINX dan Apache – Bekerja sama== | |||
Untuk banyak aplikasi, NGINX dan Apache saling melengkapi dengan baik. Pola awal yang sangat umum adalah menerapkan perangkat lunak NGINX open-source sebagai proxy (atau NGINX Plus sebagai platform pengiriman aplikasi) di depan aplikasi web berbasis Apache. NGINX melakukan tugas berat terkait HTTP – menyajikan file statis, menyimpan konten, dan membongkar koneksi HTTP yang lambat – sehingga server Apache dapat menjalankan kode aplikasi di lingkungan yang aman dan terlindungi. | |||
==Terkait== | |||
*[[Nginx]] | |||
*[[Apache]] | |||
==Source== | |||
*[https://hackr.io/blog/nginx-vs-apache hackr.io] | |||
[[Category:Server]] | |||
[[Category:Security]] | |||
[[Category:Website]] | |||