{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,4]],"date-time":"2026-05-04T10:20:30Z","timestamp":1777890030790,"version":"3.51.4"},"reference-count":31,"publisher":"SAGE Publications","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["MGS"],"published-print":{"date-parts":[[2020,12,31]]},"abstract":"<jats:p>K-means algorithm is a well-known unsupervised machine learning tool that aims at splitting a given dataset into a fixed number of clusters via iterative refinement approach. Running such an algorithm on today\u2019s datasets that are characterized by its high multidimensionality and huge size requires using fault-tolerance mechanisms to mitigate the impact of possible failures. In this paper, we propose an actor-based implementation of k-means algorithm. The algorithm was made fault-tolerant by periodically saving the centroids into a stable storage during the failure-free execution, and restarting from the last saved centroids upon a failure. This was implemented in two different ways: optimistic checkpointing (blocking) and pessimistic checkpointing (non-blocking). The actor-based k-means algorithm was evaluated on a machine with eight cores. The experiments showed that the proposed algorithm scales very well as the number of workers increases, and can be up to \u223c 2x faster than a Java-thread-based implementation of k-means algorithm. The results also showed that the optimistic algorithm outperformed the pessimistic one, specifically, in the presence of competing I\/O operations. Several failures were forced to occur during the execution to evaluate the performance of the fault-tolerant implementations. The experiments showed that the average amount of lost work ranged from 3\u20136%.<\/jats:p>","DOI":"10.3233\/mgs-200336","type":"journal-article","created":{"date-parts":[[2021,1,5]],"date-time":"2021-01-05T18:47:14Z","timestamp":1609872434000},"page":"379-396","source":"Crossref","is-referenced-by-count":5,"title":["Parallel and fault-tolerant k-means clustering based on the actor model"],"prefix":"10.1177","volume":"16","author":[{"given":"Salah","family":"Taamneh","sequence":"first","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Ahmad","family":"Qawasmeh","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Ashraf H.","family":"Aljammal","sequence":"additional","affiliation":[],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"179","reference":[{"key":"10.3233\/MGS-200336_ref1","doi-asserted-by":"crossref","unstructured":"W. Zhao, H. Ma and Q. He, Parallel k-means clustering based on mapreduce, in: IEEE International Conference on Cloud Computing, Springer, Berlin, Heidelberg, 2009, pp. 674\u2013679.","DOI":"10.1007\/978-3-642-10665-1_71"},{"key":"10.3233\/MGS-200336_ref2","doi-asserted-by":"crossref","unstructured":"K. Stoffel and A. Belkoniene, Parallel k\/h-means clustering for large data sets, in: European Conference on Parallel Processing, Springer, Berlin, Heidelberg, 1999, pp. 1451\u20131454.","DOI":"10.1007\/3-540-48311-X_205"},{"key":"10.3233\/MGS-200336_ref3","first-page":"243","article-title":"Parallel k-means clustering algorithm on NOWs","volume":"1","author":"Kantabutra","year":"2000","journal-title":"NECTEC Technical Journal"},{"key":"10.3233\/MGS-200336_ref4","doi-asserted-by":"crossref","unstructured":"Z. Lv, Y. Hu, H. Zhong, J. Wu, B. Li and H. Zhao, Parallel k-means clustering of remote sensing images based on mapreduce, in: International Conference on Web Information Systems and Mining, Springer, Berlin, Heidelberg, 2010, pp.\u00a0162\u2013170.","DOI":"10.1007\/978-3-642-16515-3_21"},{"key":"10.3233\/MGS-200336_ref5","doi-asserted-by":"crossref","first-page":"5868","DOI":"10.1109\/WCICA.2006.1714203","article-title":"The study of parallel k-means algorithm","volume":"2","author":"Zhang","year":"2006","journal-title":"2006 6th World Congress on Intelligent Control and Automation"},{"key":"10.3233\/MGS-200336_ref6","first-page":"212","article-title":"A parallel implementation of k-means clustering on GPUs","volume":"13","author":"Farivar","year":"2008","journal-title":"Pdpta"},{"key":"10.3233\/MGS-200336_ref7","doi-asserted-by":"crossref","unstructured":"T. Kwok, K. Smith, S. Lozano and D. Taniar, Parallel fuzzy c-means clustering for large data sets, in: European Conference on Parallel Processing, Springer, Berlin, Heidelberg, 2002, pp. 365\u2013374.","DOI":"10.1007\/3-540-45706-2_48"},{"key":"10.3233\/MGS-200336_ref8","doi-asserted-by":"crossref","unstructured":"J. Zhang, G. Wu, X. Hu, S. Li and S. Hao, A parallel k-means clustering algorithm with mpi, in: Fourth International Symposium on Parallel Architectures, Algorithms and Programming, IEEE, Tianjin, China, 2011, pp. 60\u201364.","DOI":"10.1109\/PAAP.2011.17"},{"key":"10.3233\/MGS-200336_ref9","doi-asserted-by":"crossref","unstructured":"J. Bhimani, M. Leeser and N. Mi, Accelerating k-means clustering with parallel implementations and GPU computing, in: 2015 IEEE High Performance Extreme Computing Conference (HPEC), Waltham, MA USA, 2015, pp. 1\u20136.","DOI":"10.1109\/HPEC.2015.7322467"},{"key":"10.3233\/MGS-200336_ref10","doi-asserted-by":"crossref","unstructured":"C.T. Chu, S.K. Kim, Y.A. Lin, Y. Yu, G. Bradski, K. Olukotun and A.Y. Ng, Map-reduce for machine learning on multicore in: Advances in Neural Information Processing Systems, Vancouver, Canada, 2007, pp. 281\u2013288.","DOI":"10.7551\/mitpress\/7503.003.0040"},{"key":"10.3233\/MGS-200336_ref11","doi-asserted-by":"crossref","unstructured":"P.P. Anchalia, A.K. Koundinya and N.K. Srinath, Mapreduce design of k-means clustering algorithm in: 2013 International Conference on Information Science and Applications (ICISA), IEEE, Pattaya, Thailand, 2013, pp. 1\u20135.","DOI":"10.1109\/ICISA.2013.6579448"},{"key":"10.3233\/MGS-200336_ref12","doi-asserted-by":"crossref","first-page":"8","DOI":"10.5120\/19788-0531","article-title":"Comparing apache spark and map reduce with performance analysis using k-means","volume":"113","author":"Gopalani","year":"2015","journal-title":"International Journal of Computer Applications"},{"key":"10.3233\/MGS-200336_ref13","doi-asserted-by":"crossref","unstructured":"B. Wang, J. Yin, Q. Hua, Z. Wu and J. Cao, Parallelizing k-means-based clustering on spark in: 2016 International Conference on Advanced Cloud and Big Data (CBD), IEEE, Chengdu, China, 2016, pp. 31\u201336.","DOI":"10.1109\/CBD.2016.016"},{"key":"10.3233\/MGS-200336_ref14","doi-asserted-by":"crossref","unstructured":"K. Wang and M.M.H. Khan, Performance prediction for apache spark platform, in: 2015 IEEE 17th International Conference on High Performance Computing and Communications, 2015 IEEE 7th International Symposium on Cyberspace Safety and Security, and 2015 IEEE 12th International Conference on Embedded Software and Systems, IEEE, New York, NY, USA, 2015, pp. 166\u2013173.","DOI":"10.1109\/HPCC-CSS-ICESS.2015.246"},{"key":"10.3233\/MGS-200336_ref15","doi-asserted-by":"crossref","first-page":"2110","DOI":"10.14778\/2831360.2831365","article-title":"Clash of the titans: mapreduce vs. spark for large scale data analytics","volume":"8","author":"Shi","year":"2015","journal-title":"Proceedings of the VLDB Endowment"},{"key":"10.3233\/MGS-200336_ref16","doi-asserted-by":"crossref","first-page":"80","DOI":"10.1504\/IJGUC.2016.077487","article-title":"A novel near-parallel version of k-means algorithm for n-dimensional data objects using mpi","volume":"7","author":"Savvas","year":"2016","journal-title":"International Journal of Grid and Utility Computing"},{"key":"10.3233\/MGS-200336_ref17","doi-asserted-by":"crossref","unstructured":"I.K. Savvas and G.N. Sofianidou Parallelizing k-means algorithm for 1-d data using mpi., in: IEEE 23rd International WETICE Conference, IEEE, Parma, Italy, 2014, pp. 179\u2013184.","DOI":"10.1109\/WETICE.2014.13"},{"key":"10.3233\/MGS-200336_ref18","doi-asserted-by":"crossref","unstructured":"S. Mohanavalli, S.M. Jaisakthi and C. Aravindan, Strategies for parallelizing kmeans data clustering algorithm in: International Conference on Advances in Information Technology and Mobile Communication, Springer, Berlin, Heidelberg, 2011, pp. 427\u2013430.","DOI":"10.1007\/978-3-642-20573-6_76"},{"key":"10.3233\/MGS-200336_ref19","doi-asserted-by":"crossref","unstructured":"J. Shen, J. Fang, H. Sips and A.L. Varbanescu, Performance gaps between OpenMP and OpenCL for multi-core CPUs, in: 41st International Conference on Parallel Processing Workshops, IEEE, Pittsburgh, PA, USA, 2012, pp. 116\u2013125.","DOI":"10.1109\/ICPPW.2012.18"},{"key":"10.3233\/MGS-200336_ref20","doi-asserted-by":"crossref","unstructured":"B. Dhanasekaran and N. Rubin, A new method for GPU based irregular reductions and its application to k-means clustering, in: Proceedings of the Fourth Workshop on General Purpose Processing on Graphics Processing Units, ACM, New York, NY, USA, 2011, pp. 1\u20138.","DOI":"10.1145\/1964179.1964182"},{"key":"10.3233\/MGS-200336_ref21","doi-asserted-by":"crossref","unstructured":"B. Hong-Tao, H. Li-li, O. Dan-tong, L. Zhan-shan and L. He, K-means on commodity GPUs with CUDA, in: 2009 WRI World Congress on Computer Science and Information Engineering, 3, 2009, pp. 651\u2013655.","DOI":"10.1109\/CSIE.2009.491"},{"key":"10.3233\/MGS-200336_ref22","doi-asserted-by":"crossref","first-page":"216","DOI":"10.1016\/j.jcss.2012.05.004","article-title":"Speeding up k-means algorithm by gpus","volume":"79","author":"Li","year":"2013","journal-title":"Journal of Computer and System Sciences"},{"key":"10.3233\/MGS-200336_ref23","doi-asserted-by":"crossref","unstructured":"S.A. Shalom, M. Dash and M. Tue, Efficient k-means clustering using accelerated graphics processors, in: International Conference on Data Warehousing and Knowledge Discovery, Springer, Berlin, Heidelberg, 2008, pp. 166\u2013175.","DOI":"10.1007\/978-3-540-85836-2_16"},{"key":"10.3233\/MGS-200336_ref24","unstructured":"M. Zaharia, M. Chowdhury, T. Das, A. Dave, J. Ma, M. McCauly, M.J. Franklin, S. Shenker and I. Stoica, Resilient distributed datasets: A fault-tolerant abstraction for in-memory cluster computing, in: Proceedings of the 9th USENIX Conference on Networked Systems Design and Implementation, USENIX Association, Berkeley, CA, USA, 2012, pp.\u00a015\u201328."},{"key":"10.3233\/MGS-200336_ref25","doi-asserted-by":"crossref","unstructured":"Bytschkow, Denis, Martin Zellner and Markus Duchon, Combining SCADA, CIM, GridLab-D and AKKA for smart grid co-simulation, in: 2015 IEEE Power & Energy Society Innovative Smart Grid Technologies Conference (ISGT), IEEE, 2015, pp. 1\u20135.","DOI":"10.1109\/ISGT.2015.7131872"},{"key":"10.3233\/MGS-200336_ref26","doi-asserted-by":"crossref","unstructured":"H. Lee, S. Niddodi, A. Srivastava and D. Bakken, Decentralized voltage stability monitoring and control in the smart grid using distributed computing architecture, in: 2016 IEEE Industry Applications Society Annual Meeting, Portland, OR, USA, 2016, pp. 1\u20139.","DOI":"10.1109\/IAS.2016.7731871"},{"key":"10.3233\/MGS-200336_ref27","unstructured":"S. Mohindra, D. Hook, A. Prout, A.H. Sanh, A. Tran and C. Yee, Big data analysis using distributed actors framework, in: Proc. of the 2013 IEEE High Performance Extreme Computing Conference (HPEC), Waltham, MA, USA, 2013, pp. 1\u20135."},{"key":"10.3233\/MGS-200336_ref28","doi-asserted-by":"crossref","unstructured":"D.D. Sanchez, R.S. Sherratt, P. Arias, F. Almenarez and A. Marin, Enabling actor model for crowd sensing and IoT, in: 2015 International Symposium on Consumer Electronics (ISCE), IEEE, Madrid, Spain, 2015, pp. 1\u20132.","DOI":"10.1109\/ISCE.2015.7177779"},{"key":"10.3233\/MGS-200336_ref29","doi-asserted-by":"crossref","unstructured":"I.D. Chelcioiu, D. Corlatescu, I.C. Paraschiv, M. Dascalu and S. Trausan-Matu, Semantic Meta-search Using Cohesion Network Analysis, in: International Conference on Artificial Intelligence: Methodology, Systems, and Applications, Varna, Bulgaria, 2018, pp. 207\u2013217.","DOI":"10.1007\/978-3-319-99344-7_19"},{"key":"10.3233\/MGS-200336_ref30","doi-asserted-by":"crossref","unstructured":"K. Rycerz and M. Bubak, Using Akka actors for managing iterations in multiscale applications, in: International Conference on Parallel Processing and Applied Mathematics, Bialystock, Poland, 2015, pp. 332\u2013341.","DOI":"10.1007\/978-3-319-32149-3_32"},{"key":"10.3233\/MGS-200336_ref31","doi-asserted-by":"crossref","first-page":"247","DOI":"10.1016\/j.future.2015.03.016","article-title":"Fault-tolerant service level agreement lifecycle management in clouds using actor system","volume":"54","author":"Lu","year":"2016","journal-title":"Future Generation Computer Systems"}],"container-title":["Multiagent and Grid Systems"],"original-title":[],"link":[{"URL":"https:\/\/content.iospress.com\/download?id=10.3233\/MGS-200336","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,1]],"date-time":"2026-05-01T05:26:53Z","timestamp":1777613213000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/full\/10.3233\/MGS-200336"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,12,31]]},"references-count":31,"journal-issue":{"issue":"4"},"URL":"https:\/\/doi.org\/10.3233\/mgs-200336","relation":{},"ISSN":["1875-9076","1574-1702"],"issn-type":[{"value":"1875-9076","type":"electronic"},{"value":"1574-1702","type":"print"}],"subject":[],"published":{"date-parts":[[2020,12,31]]}}}