Kompresi Data dengan Algoritma LZW pada REST Web Service
1) Ardy Mathias Jadera
,
2) Magdalena A. Ineke PakerengFakultas Teknologi Informasi Universitas Kristen Satya Wacana Jl. Diponegoro 52-60, Salatiga 50711, Indonesia
Email: 1)
ardymeland@gmail.com,
2) inekep200472@yahoo.comAbstract
REST Web Service is becoming more popular is used as a medium of exchange of data between the mobile device with the server. Mobile devices such as phones based on Android to Windows-based tablets even have a data plan or WiFi internet paid for access to the service from the server. The larger the data transmitted, the longer the process for sending and receiving. It would also make the network becomes busy, and also the amount of toll charges incurred, if the data packet internet use. The data transmitted can be reduced in size without losing the meaning of information in it, using compression algorithms. In this study, the LZW compression algorithm implemented on a REST Web Service. In this study analyzed the advantages and disadvantages in terms of the implementation of this compression. The results showed that compression can reduce the size of the text data up to 11% of actual size. So that can directly save the use of data packets on the mobile device. The larger the file, the smaller the percentage of added time due to the process of compression / decompression. Deficiencies found is the presence of extra time compression and decompression processes that can affect the total time.
Keywords: Data Compression, LZW, REST Web Service
Abstrak
REST Web Service semakin popular digunakan sebagai media pertukaran data antara perangkat
mobile dengan server. Perangkat mobile seperti ponsel berbasis Android sampai bahkan tablet berbasis
Windows menggunakan paket data internet yang berbayar atau WiFi untuk dapat mengakses layanan dari
server. Semakin besar data yang ditransmisikan, semakin lama proses untuk mengirim dan menerima. Hal
ini juga akan mengakibatkan jaringan menjadi lebih sibuk, dan juga banyaknya biaya pulsa yang dikeluarkan, jika paket data internet digunakan. Data yang dikirimkan dapat diperkecil ukurannya tanpa menghilangkan makna informasi di dalamnya, dengan menggunakan algoritma kompresi. Pada penelitian ini diimplementasikan algoritma kompresi LZW pada REST Web Service. Pada penelitian ini dianalisis keuntungan dan kerugian dalam hal implementasi kompresi ini. Hasil penelitian menunjukkan bahwa kompresi dapat memperkecil ukuran data teks sampai dengan 11% dari ukuran sebenarnya. Sehingga secara langsung dapat menghemat penggunaan paket data pada perangkat mobile. Semakin besar file, maka semakin kecil persentase tambahan waktu akibat proses kompresi/dekompresi. Kekurangan yang ditemukan adalah adanya waktu tambahan proses kompresi dan dekompresi yang dapat mempengaruhi total waktu.
Kata Kunci: Kompresi Data, LZW, REST Web Service