Adaptive Categorical Dictionary Implementation for Payload Reduction in AJAX Server-side DataTables Communication

Rosyidah Siregar, Husni Lubis, Ihsan Lubis

Abstract


Efficient data transmission is a critical aspect of modern web applications, particularly in scenarios involving large tabular datasets rendered through server-side DataTables. This study proposes an adaptive categorical dictionary approach to reduce the payload size transmitted between the server and client. The strategy leverages the high frequency of categorical values within datasets by encoding them into shorter symbolic representations stored in a dynamically generated dictionary. The dictionary is constructed on the server during the initial request and maintained throughout the session, while the client retains a synchronized copy in memory. The research utilizes a publicly available college student dataset containing 1,545 records, focusing on columns with repetitive categorical values such as major, gender, and enrollment status. Experimental simulations were conducted under varying DataTables page lengths (10, 25, 50, and 100) to evaluate the impact of dictionary encoding on request and response payload sizes. Results demonstrate consistent payload reductions across all configurations, with significant improvements observed in larger page lengths—exceeding 12% in some cases. These findings confirm the effectiveness of the adaptive dictionary in minimizing response payloads, thereby improving communication efficiency in AJAX-based data-driven applications. The approach maintains compatibility with native PHP and JavaScript implementations and introduces minimal overhead, making it suitable for integration into existing server-side processing architectures.


Keywords


AJAX communication; DataTables; Payload Optimization; Adaptive Dictionary; Server-Side Processing.

Full Text:

PDF

References


Anand, K., Priyadharshini, M., & Priyadharshini, K. (2023). Compression and Decompression of Files Without Loss of Quality. Proceedings of the 1st IEEE International Conference on Networking and Communications 2023, ICNWC 2023, 1–6. https://doi.org/10.1109/ICNWC57852.2023.10127236

Cohen, D., Cohen, S., Naor, D., Waddington, D., & Hershcovitch, M. (2024). Dictionary Based Cache Line Compression. HOTSTORAGE 2024 - Proceedings of the 2024 16th ACM Workshop on Hot Topics in Storage and File Systems, 8–14. https://doi.org/10.1145/3655038.3665941

Fira, M., Costin, H. N., & Goraș, L. (2022). A Study on Dictionary Selection in Compressive Sensing for ECG Signals Compression and Classification. Biosensors, 12(3), 146. https://doi.org/10.3390/bios12030146

Gat, Jamil, M., Wingdes, I., Widayanti, T., Wijaya, T., & Kusrini. (2024). Using Server-side Processing Techniques to Optimize Data Presentation Responsiveness. 2024 6th International Conference on Cybernetics and Intelligent System, ICORIS 2024, 1–6. https://doi.org/10.1109/ICORIS63540.2024.10903755

Jiang, H., Liu, C., Paparrizos, J., Chien, A. A., Ma, J., & Elmore, A. J. (2021). Good to the Last Bit: Data-Driven Encoding with CodecDB. Proceedings of the ACM SIGMOD International Conference on Management of Data, 843–856. https://doi.org/10.1145/3448016.3457283

Praba, A. D., Safitri, M., & Faridi, F. (2021). Implementasi Datatables Server-Side Untuk Mempercepat Load Halaman Pada Aplikasi E-Commerce. JIKA (Jurnal Informatika), 5(2), 139. https://doi.org/10.31000/jika.v5i2.4339

Sahid, A., & Nama, G. F. (2022). Design and Development of Management Information Systems at the University of Lampung Library Repository Using the Laravel Framework. Journal of Engineering and Scientific Research, 4(2), 74–83. https://doi.org/10.23960/jesr.v4i2.110

Setiyadi, A., & Setiawan, E. B. (2025). Analysis data loading of new entrepreneur in West Java using client server-side method. AIP Conference Proceedings, 3200(1), 40011. https://doi.org/10.1063/5.0255261

Shethiya, A. S. (2025). Scalability and Performance Optimization in Web Application Development. Journal of Science and Technology Computer Science & Information Technology, 2(1). https://creativecommons.org/licenses/by/4.0/deed.en

Spindler, J., Fent, P., Riedl, A., & Neumann, T. (2024). Can Delta Compete with Frame-of-Reference for Lightweight Integer Compression? Proceedings of the VLDB Endowment. ISSN, 2150, 8097.

Sun, X., Mo, D., Wu, D., Ye, C., Yu, Q., Cui, J., & Zhong, H. (2023). Efficient regular expression matching over hybrid dictionary-based compressed data. Journal of Network and Computer Applications, 215, 103635. https://doi.org/10.1016/j.jnca.2023.103635

Uddin, Z. (2022). College Student Management Dataset. https://www.kaggle.com/datasets/ziya07/college-student-management-dataset

Wollmer, B., Wingerath, W., Ferrlein, S., Panse, F., Gessert, F., & Ritter, N. (2023). The Case for Cross-entity Delta Encoding in Web Compression (Extended). Journal of Web Engineering, 22(1), 131–146. https://doi.org/10.13052/jwe1540-9589.2217

Zhou, X., Qi, C. R., Zhou, Y., & Anguelov, D. (2022). RIDDLE: Lidar

Data Compression with Range Image Deep Delta Encoding. Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, 2022-June, 17191–17200. https://doi.org/10.1109/CVPR52688.2022.01670

Zizi, M. O. F., & Turquais, P. (2021). A dictionary learning method for seismic data compression. Geophysics, 87(2), 1–83. https://doi.org/10.1190/geo2020-0948.1




DOI: https://doi.org/10.30596/jcositte.v6i2.26015

Refbacks

  • There are currently no refbacks.