The Journal of Information Technology, Computer Science, and Electrical Engineering
Vol. 3 No. 2 (2026): June-September 2026

Performance Comparison of K-Means and Fuzzy C-Means Algorithms in Large-Scale Network Traffic Clustering

Dimas Arya Pratama (Department of Informatics, Universitas Dian Nuswantoro, Semarang, Indonesia)
Siti Nurhaliza (Department of Computer Science, Institut Teknologi Sepuluh Nopember, Surabaya, Indonesia)



Article Info

Publish Date
01 Sep 2026

Abstract

Rapid expansion of enterprise networks and Internet of Things (IoT) ecosystems has dramatically escalated packet volumes, necessitating efficient, automated unsupervised learning methodologies for network traffic categorization, bandwidth allocation, and intrusion detection. This empirical investigation conducts a comprehensive performance benchmark between two foundational unsupervised clustering paradigms—the crisp partition-based K-Means algorithm and the soft partition-based Fuzzy C-Means (FCM) algorithm—evaluated on large-scale network traffic data. Using a synthesized corpus extracted from benchmark network traffic repositories (CIC-IDS2017 and UNSW-NB15) scaling up to 500,000 flow instances with 12 statistical network flow features, both algorithms were assessed across cluster partition validity (Silhouette Coefficient, Davies-Bouldin Index), computational scalability (execution time, peak memory footprint), and boundary flow robustness across cluster configurations (k = 3, 5, 8). Empirical findings demonstrated that K-Means delivered superior execution throughput, completing clustering on 500,000 flows in 4.12 seconds with 142 MB memory consumption and a peak Silhouette score of 0.618 at k = 3. Conversely, FCM demonstrated superior boundary flow characterization in overlapping and anomalous traffic regions, achieving a Davies-Bouldin Index of 0.842, but required 38.65 seconds and 512 MB memory. Consequently, K-Means is recommended for near-real-time edge telemetry, whereas FCM provides significant advantages for offline forensic forensics and ambiguous boundary analysis.

Copyrights © 2026






Journal Info

Abbrev

jitcse

Publisher

Subject

Description

The Journal of Information Technology, Computer Science, and Electrical Engineering (JITCSE) is a premier publication dedicated to advancing research and innovation at the intersection of these dynamic fields. With a focus on cutting-edge developments and emerging trends, JITCSE serves as a vital ...