{"id":2705,"date":"2023-08-16T11:45:01","date_gmt":"2023-08-16T04:45:01","guid":{"rendered":"https:\/\/www.goldenfast.net\/blog\/?p=2705"},"modified":"2024-01-04T16:28:39","modified_gmt":"2024-01-04T09:28:39","slug":"cara-benchmark-server-dengan-apache-bench","status":"publish","type":"post","link":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/","title":{"rendered":"Cara Benchmark Server dengan Apache Bench"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Ketika memilih server atau VPS, biasanya Anda akan melihat dari spesifikasi <\/span><i><span style=\"font-weight: 400;\">resource<\/span><\/i><span style=\"font-weight: 400;\"> yang tertulis, bukan? Anda tentunya ingin mencari yang paling sesuai nih dengan kebutuhan website supaya jangan sampai kurang atau malah boros.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Tapi, meski spesifikasi yang tertera <\/span><b><i>kayaknya <\/i><\/b><span style=\"font-weight: 400;\">sesuai dengan kebutuhan Anda, belum tentu performanya sesuai harapan, lho. Padahal, performa server jelas <\/span><b><i>bakal <\/i><\/b><span style=\"font-weight: 400;\">mempengaruhi performa website maupun aplikasi Anda.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Untungnya, ada kabar baik nih untuk Anda para pengguna web server Apache. Anda bisa cek server dengan cara <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\"> menggunakan Apache Bench.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Nah, supaya Anda bisa lebih <\/span><b><i>gampang<\/i><\/b><span style=\"font-weight: 400;\">, kami akan membagikan cara <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\"> server dengan Apache Bench yang bisa Anda ikuti. Kalau begitu, simak hingga tuntas penjelasan berikut ini, ya!<\/span><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Daftar isi :<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2bf1f1ee829\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2bf1f1ee829\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#Apa_Itu_Apache_Bench\" >Apa Itu Apache Bench?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#Cara_Benchmark_Server_dengan_Apache_Bench\" >Cara Benchmark Server dengan Apache Bench<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#Langkah_1_%E2%80%93_Install_Apache_Bench\" >Langkah 1 \u2013 Install Apache Bench<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#Langkah_2_%E2%80%93_Benchmark_Server_dengan_Apache_Bench\" >Langkah 2 \u2013 Benchmark Server dengan Apache Bench<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#Yuk_Rutin_Cek_Performa_Supaya_Server_Tetap_Optimal\" >Yuk, Rutin Cek Performa Supaya Server Tetap Optimal!<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Apa_Itu_Apache_Bench\"><\/span><b>Apa Itu Apache Bench?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Seperti yang sudah disinggung di awal nih, meski tampaknya server Anda memiliki spesifikasi yang <\/span><b><i>oke<\/i><\/b><span style=\"font-weight: 400;\">, belum tentu performanya baik.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Nah, di sini lah Apache Bench ini berperan untuk membantu Anda melihat seberapa baik sih performa dari web server yang Anda gunakan.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/httpd.apache.org\/docs\/2.4\/programs\/ab.html\">Apache Bench<\/a> atau sering disebut dengan <\/span><b>ab<\/b><span style=\"font-weight: 400;\"> merupakan salah satu <\/span><i><span style=\"font-weight: 400;\">tool<\/span><\/i><span style=\"font-weight: 400;\"> dari Apache HTTP Server yang berfungsi untuk mengukur performa website server.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Lebih tepatnya, Apache Bench bisa Anda gunakan untuk mengecek kapabilitas web server dalam menerima banyak <\/span><i><span style=\"font-weight: 400;\">request<\/span><\/i><span style=\"font-weight: 400;\"> HTTP dari klien dalam satu waktu. Mulai dari spesifikasinya sampai kecepatan dari I\/O <\/span><i><span style=\"font-weight: 400;\">harddisk<\/span><\/i><span style=\"font-weight: 400;\"> server Anda.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Tidak hanya itu, Anda juga bisa menggunakan Apache Bench ini untuk melakukan <\/span><i><span style=\"font-weight: 400;\">stress testing<\/span><\/i><span style=\"font-weight: 400;\">. Yaitu memberikan tekanan yang semakin besar nih pada lingkungan server dengan cara mengatur <\/span><i><span style=\"font-weight: 400;\">request<\/span><\/i><span style=\"font-weight: 400;\"> untuk tetap terbuka.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Dengan begitu, Anda jadi bisa mengetahui nih berapa lama kira-kira waktu yang dibutuhkan oleh server untuk merespon <\/span><i><span style=\"font-weight: 400;\">request<\/span><\/i><span style=\"font-weight: 400;\"> tersebut. Jika ternyata dari hasil menunjukkan butuh waktu yang cukup lama, artinya Anda harus <\/span><i><span style=\"font-weight: 400;\">upgrade<\/span><\/i><span style=\"font-weight: 400;\"> server.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Nah, di Apache Bench sendiri, ada beberapa <\/span><i><span style=\"font-weight: 400;\">tools<\/span><\/i><span style=\"font-weight: 400;\"> nih yang bisa Anda gunakan, seperti:<\/span><\/p>\n<ul>\n<li aria-level=\"1\"><b>ab<\/b><span style=\"font-weight: 400;\"> untuk melakukan <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\"> pada web server.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>htpasswd <\/b><span style=\"font-weight: 400;\">untuk menyimpan <\/span><i><span style=\"font-weight: 400;\">username<\/span><\/i><span style=\"font-weight: 400;\"> dan <\/span><i><span style=\"font-weight: 400;\">password<\/span><\/i><span style=\"font-weight: 400;\"> sebagai autentikasi dasar <\/span><i><span style=\"font-weight: 400;\">user<\/span><\/i><span style=\"font-weight: 400;\"> HTTP.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>htdigest <\/b><span style=\"font-weight: 400;\">untuk membuat dan <\/span><i><span style=\"font-weight: 400;\">update <\/span><\/i><span style=\"font-weight: 400;\">file <\/span><i><span style=\"font-weight: 400;\">password<\/span><\/i><span style=\"font-weight: 400;\"> yang digunakan oleh autentikasi Apache HTTPD <\/span><i><span style=\"font-weight: 400;\">digest<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>htdbm <\/b><span style=\"font-weight: 400;\">untuk memanipulasi format file DBM yang digunakan untuk menyimpan <\/span><i><span style=\"font-weight: 400;\">username <\/span><\/i><span style=\"font-weight: 400;\">dan <\/span><i><span style=\"font-weight: 400;\">password<\/span><\/i><span style=\"font-weight: 400;\"> sebagai autentikasi dasar <\/span><i><span style=\"font-weight: 400;\">user<\/span><\/i><span style=\"font-weight: 400;\"> HTTP.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>fcgistarter <\/b><span style=\"font-weight: 400;\">untuk memulai program FastCGI.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><span style=\"font-weight: 400;\">Dan sebagainya.\u00a0<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Cara_Benchmark_Server_dengan_Apache_Bench\"><\/span><b>Cara Benchmark Server dengan Apache Bench<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-2712\" src=\"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench.jpeg\" alt=\"cara benchmark server dengan apache bench\" width=\"486\" height=\"486\" srcset=\"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench.jpeg 2560w, https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench-300x300.jpeg 300w, https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench-1024x1024.jpeg 1024w, https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench-150x150.jpeg 150w, https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench-768x768.jpeg 768w, https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench-1536x1536.jpeg 1536w, https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench-2048x2048.jpeg 2048w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Nah, setelah mengetahui tentang Apache Bench ini, mungkin Anda bertanya-tanya, <\/span><b><i>gimana sih cara benchmark pake Apache Bench?<\/i><\/b><\/p>\n<p><span style=\"font-weight: 400;\">Sebetulnya, cara <\/span><i><span style=\"font-weight: 400;\">benchmark <\/span><\/i><span style=\"font-weight: 400;\">server dengan Apache Bench ini cukup mudah, kok. Anda hanya perlu menjalankan perintah singkat, baik secara langsung di server maupun <\/span><i><span style=\"font-weight: 400;\">local desktop<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Namun, sebaiknya sih ini dilakukan pada server yang berbeda dengan yang ingin Anda <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\">, ya. Supaya jangan sampai nanti malah mengganggu proses <\/span><i><span style=\"font-weight: 400;\">testing<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Nah, untuk melakukannya, Anda bisa mengikuti langkah-langkah berikut ini, ya!<\/span><\/p>\n<blockquote><p><strong>Baca juga:\u00a0<a href=\"https:\/\/www.goldenfast.net\/blog\/cara-optimasi-vps\/\">Cara Optimasi VPS yang Tepat Supaya Performa Makin Cepat<\/a><\/strong><\/p><\/blockquote>\n<h3><b>Langkah 1 \u2013 Install Apache Bench<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Untuk melakukan <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\"> menggunakan Apache Bench, tentu Anda harus meng-<\/span><i><span style=\"font-weight: 400;\">install<\/span><\/i> <b>apache2<\/b> <b>utility<\/b> <i><span style=\"font-weight: 400;\">package<\/span><\/i><span style=\"font-weight: 400;\"> di server.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Nah, Anda bisa meng-<\/span><i><span style=\"font-weight: 400;\">install<\/span><\/i><span style=\"font-weight: 400;\">-nya pada server atau <\/span><i><span style=\"font-weight: 400;\">local desktop<\/span><\/i><span style=\"font-weight: 400;\">, ya. Anda bisa sesuaikan saja dengan keinginan ingin melakukan tes di <\/span><i><span style=\"font-weight: 400;\">local desktop <\/span><\/i><span style=\"font-weight: 400;\">atau server.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Namun, kalau Anda sudah melakukan instalasi sebelumnya, tahapan ini bisa diabaikan saja, ya. Yuk, ikuti cara berikut ini!<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Buka <\/span><b>Terminal <\/b><span style=\"font-weight: 400;\">atau <\/span><b>Shell<\/b><span style=\"font-weight: 400;\"> pada perangkat Anda.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Jalankan <\/span><b>perintah <\/b><span style=\"font-weight: 400;\">berikut ini: <\/span><b>apt-get install apache2-utils -y<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Jika instalasi sudah selesai, verifikasi Apache Bench dengan menjalankan <\/span><b>perintah<\/b><span style=\"font-weight: 400;\">: <\/span><b>ab -V<\/b><\/li>\n<\/ol>\n<h3><b>Langkah 2 \u2013 Benchmark Server dengan Apache Bench<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Setelah Apache Bench ter-<\/span><i><span style=\"font-weight: 400;\">install<\/span><\/i><span style=\"font-weight: 400;\"> pada server maupun <\/span><i><span style=\"font-weight: 400;\">local desktop<\/span><\/i><span style=\"font-weight: 400;\"> yang Anda gunakan, sekarang Anda bisa berlanjut ke cara <\/span><i><span style=\"font-weight: 400;\">benchmark <\/span><\/i><span style=\"font-weight: 400;\">server nih.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Untuk melakukan <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\">, caranya cukup mudah, kok. Anda hanya perlu menjalankan perintah berikut ini pada Shell atau Terminal.<\/span><\/p>\n<p><b>~$ ab -n 1000 -c 1000 <\/b><a href=\"http:\/\/abcdefg.com\/\"><b>http:\/\/abcdefg.com\/<\/b><\/a><b>\u00a0\u00a0<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Jangan lupa untuk mengganti URL yang ada dengan URL website Anda, ya. Nah, jika Anda lihat dalam perintah tersebut ada parameter <\/span><b>-n <\/b><span style=\"font-weight: 400;\">dan <\/span><b>-c<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Kedua parameter ini menunjukkan berapa banyak permintaan konten yang akan diterima oleh web server (<\/span><b>-n<\/b><span style=\"font-weight: 400;\">) dan banyaknya koneksi (pengunjung) yang datang secara bersamaan (<\/span><b>-c<\/b><span style=\"font-weight: 400;\">).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Selain <\/span><b>-n <\/b><span style=\"font-weight: 400;\">dan <\/span><b>-c<\/b><span style=\"font-weight: 400;\">, ada parameter lain yang juga bisa Anda gunakan nih, seperti:<\/span><\/p>\n<ul>\n<li aria-level=\"1\"><b>-t <\/b><span style=\"font-weight: 400;\">untuk menunjukkan jumlah detik maksimum yang dihabiskan untuk melakukan <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>-r <\/b><span style=\"font-weight: 400;\">untuk menunjukkan supaya jangan keluar dari <\/span><i><span style=\"font-weight: 400;\">socket receive errors<\/span><\/i><span style=\"font-weight: 400;\">.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>-k <\/b><span style=\"font-weight: 400;\">untuk melakukan beberapa <\/span><i><span style=\"font-weight: 400;\">request<\/span><\/i><span style=\"font-weight: 400;\"> dalam satu sesi HTTP.<\/span><\/li>\n<\/ul>\n<ul>\n<li aria-level=\"1\"><b>-A <\/b><span style=\"font-weight: 400;\">untuk menggunakan kredensial autentikasi untuk menguji web server target (autentikasi HTTP dasar).<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Nah, setelah perintah tersebut dijalankan, nantinya akan muncul hasil seperti berikut ini. <img decoding=\"async\" class=\"aligncenter size-full wp-image-2713\" src=\"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/hasil-benchmark-server-dengan-apache-bench.png\" alt=\"hasil benchmark server dengan apache bench\" width=\"662\" height=\"1002\" srcset=\"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/hasil-benchmark-server-dengan-apache-bench.png 662w, https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/hasil-benchmark-server-dengan-apache-bench-198x300.png 198w\" sizes=\"(max-width: 662px) 100vw, 662px\" \/>\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Kalau Anda perhatikan hasil di atas, ada banyak komponen nih yang muncul. Seperti <\/span><b>Time taken for tests<\/b><span style=\"font-weight: 400;\">, <\/span><b>Requests per second<\/b><span style=\"font-weight: 400;\"> dan sebagainya.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Namun, yang harus Anda perhatikan dari hasil tersebut banyak <\/span><b>Time per request<\/b><span style=\"font-weight: 400;\"> dan <\/span><b>HTML transferred<\/b><span style=\"font-weight: 400;\">. Yang mana, dari hasil terlihat bahwa server mampu melayani sebanyak <\/span><b>331.42 <\/b><b><i>request<\/i><\/b> <span style=\"font-weight: 400;\">per detik untuk <\/span><b>227000 <\/b><b><i>bytes<\/i><\/b> <span style=\"font-weight: 400;\">HTML transferred dari website tersebut.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Yuk_Rutin_Cek_Performa_Supaya_Server_Tetap_Optimal\"><\/span><b>Yuk, Rutin Cek Performa Supaya Server Tetap Optimal!<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Memilih server dengan spesifikasi yang terbaik dan paling sesuai dengan kebutuhan memang penting. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Namun, ini tidak menjamin bahwa performa servernya sudah sesuai dengan harapan kita, lho.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Terkadang, meski spesifikasi server tampaknya sudah sesuai dengan kebutuhan website maupun aplikasi, pada prakteknya seringkali tidak sesuai nih.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Inilah mengapa penting untuk Anda mengecek performa server dengan cara <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\"> menggunakan Apache Bench.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Dengan melakukan <\/span><i><span style=\"font-weight: 400;\">benchmark<\/span><\/i><span style=\"font-weight: 400;\">, Anda jadi tahu nih performa sesungguhnya dari server Anda. Apakah betul-betul bisa menampung <\/span><i><span style=\"font-weight: 400;\">request<\/span><\/i><span style=\"font-weight: 400;\"> dalam jumlah banyak secara bersamaan?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Jika ternyata hasilnya tidak sesuai harapan, sudah pasti solusi yang bisa Anda lakukan adalah dengan meng-<\/span><i><span style=\"font-weight: 400;\">upgrade<\/span><\/i><span style=\"font-weight: 400;\"> web server.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Tidak hanya itu, kualitas server dari segi keamanan dan <\/span><i><span style=\"font-weight: 400;\">downtime<\/span><\/i><span style=\"font-weight: 400;\"> pun penting nih untuk Anda perhatikan. Supaya jangan sampai ini mengganggu website maupun aplikasi yang sedang Anda jalankan.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Namun, Anda tidak perlu khawatir jika menggunakan server dari<a href=\"https:\/\/www.goldenfast.net\/\" target=\"_blank\" rel=\"noopener\">Goldenfast.net<\/a> karena sudah pasti terjamin kualitas dan keamanannya.<\/span><\/p>\n<p style=\"text-align: center;\"><a class=\"wp-block-button__link has-luminous-vivid-amber-background-color has-background\" href=\"https:\/\/www.goldenfast.net\/dedicated-server\/?utm_source=website&utm_medium=artikel&utm_campaign=artikel+GFN+cara+benchmark+server+dengan+apache+bench\" target=\"_blank\" rel=\"nofollow noopener\">Mau Server Kualitas Oke<\/a><\/p>\n<p><span style=\"font-weight: 400;\">Nah, semoga pembahasan kami kali ini bisa membantu Anda untuk memilih server dengan performa yang terbaik, ya. <\/span><span style=\"font-weight: 400;\">Jika ada pertanyaan atau ingin berdiskusi, jangan ragu buat <\/span><i><span style=\"font-weight: 400;\">drop<\/span><\/i><span style=\"font-weight: 400;\"> lewat kolom komentar di bawah ini!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ketika memilih server atau VPS, biasanya Anda akan melihat dari spesifikasi resource yang tertulis, bukan? Anda tentunya ingin mencari yang paling sesuai nih dengan kebutuhan website supaya jangan sampai kurang atau malah boros. Tapi, meski spesifikasi yang tertera kayaknya sesuai dengan kebutuhan Anda, belum tentu performanya sesuai harapan, lho. Padahal, performa server jelas bakal mempengaruhi [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":2722,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[645,4,1],"tags":[664,662,663],"class_list":["post-2705","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","category-tutorial","category-uncategorized","tag-apache-bench","tag-benchmarking-server","tag-cara-benchmark-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cara Benchmark Server dengan Apache Bench - GFN Blog<\/title>\n<meta name=\"description\" content=\"Sudah cek performa server bulan ini? Yuk, cek performa server sekarang dengan cara benchmark menggunakan Apache Bench!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cara Benchmark Server dengan Apache Bench - GFN Blog\" \/>\n<meta property=\"og:description\" content=\"Sudah cek performa server bulan ini? Yuk, cek performa server sekarang dengan cara benchmark menggunakan Apache Bench!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/\" \/>\n<meta property=\"og:site_name\" content=\"GFN Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-16T04:45:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-04T09:28:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1333\" \/>\n\t<meta property=\"og:image:height\" content=\"992\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Severina Ratih\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Severina Ratih\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/\"},\"author\":{\"name\":\"Severina Ratih\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#\\\/schema\\\/person\\\/a8b88125cee613096c8aa25b5baa3129\"},\"headline\":\"Cara Benchmark Server dengan Apache Bench\",\"datePublished\":\"2023-08-16T04:45:01+00:00\",\"dateModified\":\"2024-01-04T09:28:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/\"},\"wordCount\":953,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/wp-content\\\/uploads\\\/cara-benchmark-server-dengan-apache-bench.jpg\",\"keywords\":[\"Apache Bench\",\"benchmarking server\",\"cara benchmark server\"],\"articleSection\":[\"Server\",\"Tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/\",\"url\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/\",\"name\":\"Cara Benchmark Server dengan Apache Bench - GFN Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/wp-content\\\/uploads\\\/cara-benchmark-server-dengan-apache-bench.jpg\",\"datePublished\":\"2023-08-16T04:45:01+00:00\",\"dateModified\":\"2024-01-04T09:28:39+00:00\",\"description\":\"Sudah cek performa server bulan ini? Yuk, cek performa server sekarang dengan cara benchmark menggunakan Apache Bench!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/wp-content\\\/uploads\\\/cara-benchmark-server-dengan-apache-bench.jpg\",\"contentUrl\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/wp-content\\\/uploads\\\/cara-benchmark-server-dengan-apache-bench.jpg\",\"width\":1333,\"height\":992,\"caption\":\"cara benchmark server dengan apache bench\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/cara-benchmark-server-dengan-apache-bench\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cara Benchmark Server dengan Apache Bench\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/\",\"name\":\"GFN Blog\",\"description\":\"Blog | GoldenFast Network\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#organization\",\"name\":\"Goldenfast Network\",\"url\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/logogoldenfast.png\",\"contentUrl\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/04\\\/logogoldenfast.png\",\"width\":232,\"height\":80,\"caption\":\"Goldenfast Network\"},\"image\":{\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/#\\\/schema\\\/person\\\/a8b88125cee613096c8aa25b5baa3129\",\"name\":\"Severina Ratih\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9411c8b4eb3fe830f4c8f9a82aa3fad4efc9579f53fddb86a462773e9d63796b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9411c8b4eb3fe830f4c8f9a82aa3fad4efc9579f53fddb86a462773e9d63796b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9411c8b4eb3fe830f4c8f9a82aa3fad4efc9579f53fddb86a462773e9d63796b?s=96&d=mm&r=g\",\"caption\":\"Severina Ratih\"},\"url\":\"https:\\\/\\\/www.goldenfast.net\\\/blog\\\/author\\\/ratih\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cara Benchmark Server dengan Apache Bench - GFN Blog","description":"Sudah cek performa server bulan ini? Yuk, cek performa server sekarang dengan cara benchmark menggunakan Apache Bench!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/","og_locale":"en_US","og_type":"article","og_title":"Cara Benchmark Server dengan Apache Bench - GFN Blog","og_description":"Sudah cek performa server bulan ini? Yuk, cek performa server sekarang dengan cara benchmark menggunakan Apache Bench!","og_url":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/","og_site_name":"GFN Blog","article_published_time":"2023-08-16T04:45:01+00:00","article_modified_time":"2024-01-04T09:28:39+00:00","og_image":[{"width":1333,"height":992,"url":"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench.jpg","type":"image\/jpeg"}],"author":"Severina Ratih","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Severina Ratih","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#article","isPartOf":{"@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/"},"author":{"name":"Severina Ratih","@id":"https:\/\/www.goldenfast.net\/blog\/#\/schema\/person\/a8b88125cee613096c8aa25b5baa3129"},"headline":"Cara Benchmark Server dengan Apache Bench","datePublished":"2023-08-16T04:45:01+00:00","dateModified":"2024-01-04T09:28:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/"},"wordCount":953,"commentCount":0,"publisher":{"@id":"https:\/\/www.goldenfast.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#primaryimage"},"thumbnailUrl":"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench.jpg","keywords":["Apache Bench","benchmarking server","cara benchmark server"],"articleSection":["Server","Tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/","url":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/","name":"Cara Benchmark Server dengan Apache Bench - GFN Blog","isPartOf":{"@id":"https:\/\/www.goldenfast.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#primaryimage"},"image":{"@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#primaryimage"},"thumbnailUrl":"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench.jpg","datePublished":"2023-08-16T04:45:01+00:00","dateModified":"2024-01-04T09:28:39+00:00","description":"Sudah cek performa server bulan ini? Yuk, cek performa server sekarang dengan cara benchmark menggunakan Apache Bench!","breadcrumb":{"@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#primaryimage","url":"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench.jpg","contentUrl":"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/cara-benchmark-server-dengan-apache-bench.jpg","width":1333,"height":992,"caption":"cara benchmark server dengan apache bench"},{"@type":"BreadcrumbList","@id":"https:\/\/www.goldenfast.net\/blog\/cara-benchmark-server-dengan-apache-bench\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.goldenfast.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Cara Benchmark Server dengan Apache Bench"}]},{"@type":"WebSite","@id":"https:\/\/www.goldenfast.net\/blog\/#website","url":"https:\/\/www.goldenfast.net\/blog\/","name":"GFN Blog","description":"Blog | GoldenFast Network","publisher":{"@id":"https:\/\/www.goldenfast.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.goldenfast.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.goldenfast.net\/blog\/#organization","name":"Goldenfast Network","url":"https:\/\/www.goldenfast.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.goldenfast.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/2021\/04\/logogoldenfast.png","contentUrl":"https:\/\/www.goldenfast.net\/blog\/wp-content\/uploads\/2021\/04\/logogoldenfast.png","width":232,"height":80,"caption":"Goldenfast Network"},"image":{"@id":"https:\/\/www.goldenfast.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.goldenfast.net\/blog\/#\/schema\/person\/a8b88125cee613096c8aa25b5baa3129","name":"Severina Ratih","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9411c8b4eb3fe830f4c8f9a82aa3fad4efc9579f53fddb86a462773e9d63796b?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9411c8b4eb3fe830f4c8f9a82aa3fad4efc9579f53fddb86a462773e9d63796b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9411c8b4eb3fe830f4c8f9a82aa3fad4efc9579f53fddb86a462773e9d63796b?s=96&d=mm&r=g","caption":"Severina Ratih"},"url":"https:\/\/www.goldenfast.net\/blog\/author\/ratih\/"}]}},"_links":{"self":[{"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/posts\/2705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/comments?post=2705"}],"version-history":[{"count":6,"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/posts\/2705\/revisions"}],"predecessor-version":[{"id":3478,"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/posts\/2705\/revisions\/3478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/media\/2722"}],"wp:attachment":[{"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/media?parent=2705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/categories?post=2705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.goldenfast.net\/blog\/wp-json\/wp\/v2\/tags?post=2705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}