Implementasi Shared Session Dalam Klaster Server Web Menggunakan Php Dan MYSQL

Pradana, R. Moch Makruf Puja (2019) Implementasi Shared Session Dalam Klaster Server Web Menggunakan Php Dan MYSQL. Sarjana thesis, Universitas Brawijaya.

Abstract

Session, merupakan cara yang digunakan untuk menyimpan informasi pada komputer server untuk digunakan pada beberapa halaman termasuk halaman itu sendiri. Dalam penggunaan klaster web server mampu menghasilkan kinerja yang lebih baik daripada menggunakan server tunggal yang menghandle sebuah website. Namun terdapat masalah yang timbul di dalam pengembangan antara klaster web server terhadap penggunaan session itu sendiri. Pada klaster web server yang diwakilkan oleh satu node server akan berjalan secara independen, jika session awal yang dibentuk dalam aplikasi web tersebut hanya didalam satu node server saja maka node server lainnya tidak bisa mendapatkan akses session yang sama. Solusi yang bisa digunakan ialah menyimpan data session tersebut kedalam sebuah database berupa MySQL serta akses data session dapat dibagikan ke web server lainnya. Terungkap permasalahan lagi bagaimana satu klaster web server dapat berkomunikasi terhadap database dalam menyimpan dan meminta data session. Dengan permasalahan tersebut, penelitian ini mengembangkan metode Shared Session yang akan diterapkan melalui PHP. Untuk membuktikan metode tersebut dapat menjalankan sistem sesuai fungsinya dilakukan dua buah pengujian yaitu pengujian login serta logout dan pengujian black box. Pada pengujian login dan logout yang direncanakan mampu menyelesaikan fungsi utamanya dalam menyimpan dan membagikan data session walaupun terdapat kondisi satu server web yang nonaktif. Pada pengujian black box didapatkan hasil response time di masing-masing skenario, pada skenario pertama dari 100 request session menghasilkan response time sebesar 18,7 second sampai dengan 26,2 second, pada skenario kedua dari 200 request session menghasilkan response time sebesar 1 minute sampai dengan 1,38 minute, pada skenario ketiga dari 300 request session menghasilkan response time sebesar 10,07 second sampai dengan 15,25 second.

English Abstract

Session is a method that used to store information on a computer server that can be used on several pages including the page itself. In using a web server cluster, it can produce a better performance than using a single server that handles a website. But there are some problems that arise in the development between the web server cluster against the use of the session itself. In a web server cluster is a represented by a single node will run independently, if the initial session formed in the web application only have one node server, then the other server nodes can’t get the same session access. The solution that can be used is to save the data session into database with mySQL, and the access of data session can be shared to another web servers. Another problem was revealed is how one web server cluster can communicate with the database in storing dan requesting data sessions. With these problems, this study developed the Shared Session method that will be applied through PHP. To prove that the method can run the system according to function, two tests are applied, login and logout testing and black box testing. In testing the login and logout that is designed can be fulfilled in storing and sharing data sessions even though there is a condition of one disabled web server. In the black box testing the response time results obtained in each scenario, in the first scenario of 100 session requests produces a response time of 18.7 second to 26.2 second, in the second scenario of 200 session requests produces a response time of 1 minutes up to 1.38 minutes, in the third scenario of 300 session requests to produce a response time of 10.07 seconds to 15.25 seconds.

Item Type: Thesis (Sarjana)
Identification Number: SKR/FILKOM/2019/37/051902919
Uncontrolled Keywords: session, shared session, PHP, MySQL, response time
Subjects: 000 Computer science, information and general works > 005 Computer programming, programs, data > 005.7 Data in computer systems > 005.71 Data communications
Divisions: Fakultas Ilmu Komputer > Teknik Informatika
Depositing User: soegeng sugeng
Date Deposited: 09 Jun 2020 06:28
Last Modified: 19 Oct 2021 08:50
URI: http://repository.ub.ac.id/id/eprint/168872
[thumbnail of R. Moch Makruf Puja Pradana.pdf]
Preview
Text
R. Moch Makruf Puja Pradana.pdf

Download (7MB) | Preview

Actions (login required)

View Item View Item