Laporkan Masalah

TINJAUAN IMPLEMENTASI FRAGMENTASI ELASTIS PADA DATABASE NON-RELASIONAL UNTUK WEBSITE FORUM DISKUSI

ARDIAN PRIMA ATMAJA, Dr.techn. Khabib Mustofa, S.Si, M.Kom

2013 | Tesis | S2 Ilmu Komputer

Keberadaan Web 2.0 membuat semakin meningkatnya pengguna yang menggunakan. Hal ini membuat penyedia layanan web menerapkan sebuah scalable system yang dapat membagi data ke beberapa mesin server. Di sisi yang sama, sistem manajemen basis data relasional dirasa sulit untuk membuat fragmentasi data secara elastis karena adanya tuntutan untuk menjaga konsistensi data yang dikelola. Penelitian ini mengimplementasikan sebuah website forum diskusi menggunakan sistem fragmentasi elastis yang terdiri dari dua server pecahan (shard) untuk melayani meningkatnya pertumbuhan jumlah dokumen yang tersimpan. Database yang digunakan untuk membangun sistem tersebut berjenis non-relasional berorientasi dokumen yang bersifat open source yaitu MongoDB. Sistem akan mempartisi database MongoDB secara horizontal (sharding) dan mendistribusikannya ke node-node yang ada. Pada bagian akhir dilakukan tinjauan perbandingan jumlah pengguna konkuren terhadap ketersediaan sistem (availability) dan waktu pemrosesan query (response time) antara sistem terpusat dan sistem fragmentasi dua shard. Hasilnya, pada sistem fragmentasi dua shard tercatat adanya peningkatan jumlah pengguna konkuren pada availability dan response time yang diizinkan, dibanding sistem terpusat. Peningkatan jumlah pengguna konkuren pada penambahan sebuah shard dapat mencapai hingga 100 % untuk unit-unit menampilkan document atau tag dan input topik baru, serta hingga 21,5 % untuk unit pencarian document. Response time juga meningkat hingga 12,5 %.

The existence of Web 2.0 increases the number of its user. This makes the web Provider implement a scalable system that can split the data into multiple server machines. At the same time, a relational database management system finds difficulty to create a elastic fragmentation system due to the demands of maintaining the data consistently. A website discussion forum that use an elastic fragmentation system consisting of two servers fragments (shard) to serve the growth of the number of documents stored is implemented in this research. The type of database used to construct the system is an open source non-relational documents oriented called MongoDB. The system will put partitions to the MongoDB database horizontally (sharding) and distributes them to nodes. In the final section, we will have comparative review about the number of concurrent users on the system availability and response time between a centralized system and two-shard fragmentation system. The result of this research, we find an increase in the number of concurrent users on intolerable availability and response time, on the two-shard fragmentation system rather than a centralized system. Increasing the number of concurrent users on the addition of a shard can reach up to 100% for document display units or tag and a new topic input, as well as up to 21.5% for document search unit. Response time is also increased to 12.5%.

Kata Kunci : fragmentasi elastis, partisi horizontal, database, non-relasional, database berorientasi dokumen, mongodb


    Tidak tersedia file untuk ditampilkan ke publik.