Cargando…

Fast continuous streaming sort in big streaming data environment under fixed-size single storage

Big streaming data environment concerns a complicated scenario where data to be processed continuously flow into a processing unit and certainly cause a memory overflow problem. This obstructs the adaptation of deploying all existing classic sorting algorithms because the data to be sorted must be e...

Descripción completa

Detalles Bibliográficos
Autores principales: Chaikhan, Suluk, Phimoltares, Suphakant, Lursinsap, Chidchanok
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8982863/
https://www.ncbi.nlm.nih.gov/pubmed/35381032
http://dx.doi.org/10.1371/journal.pone.0266295
_version_ 1784681874130468864
author Chaikhan, Suluk
Phimoltares, Suphakant
Lursinsap, Chidchanok
author_facet Chaikhan, Suluk
Phimoltares, Suphakant
Lursinsap, Chidchanok
author_sort Chaikhan, Suluk
collection PubMed
description Big streaming data environment concerns a complicated scenario where data to be processed continuously flow into a processing unit and certainly cause a memory overflow problem. This obstructs the adaptation of deploying all existing classic sorting algorithms because the data to be sorted must be entirely stored inside the fixed-size storage including the space in internal and external storage devices. Generally, it is always assumed that the size of each data chunk is not larger than the size of storage (M) but in fact the size of the entire stream (n) is usually much larger than M. In this paper, a new fast continuous streaming sorting is proposed to cope with the constraint of storage overflow. The algorithm was tested with various real data sets consisting of 10,000 to 17,000,000 numbers and different storage sizes ranging from 0.01n to 0.50n. It was found that the feasible lower bound of storage size is 0.35n with 100% sorting accuracy. The sorting time outperforms bubble sort, quick sort, insertion sort, and merge sort when data size is greater than 1,000,000 numbers. Remarkably, the sorting time of the proposed algorithm is 1,452 times less than the sorting time of external merge sort and 28.1767 times less than the sorting time of streaming data sort. The time complexity of proposed algorithm is O(n) while the space complexity is O(M).
format Online
Article
Text
id pubmed-8982863
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-89828632022-04-06 Fast continuous streaming sort in big streaming data environment under fixed-size single storage Chaikhan, Suluk Phimoltares, Suphakant Lursinsap, Chidchanok PLoS One Research Article Big streaming data environment concerns a complicated scenario where data to be processed continuously flow into a processing unit and certainly cause a memory overflow problem. This obstructs the adaptation of deploying all existing classic sorting algorithms because the data to be sorted must be entirely stored inside the fixed-size storage including the space in internal and external storage devices. Generally, it is always assumed that the size of each data chunk is not larger than the size of storage (M) but in fact the size of the entire stream (n) is usually much larger than M. In this paper, a new fast continuous streaming sorting is proposed to cope with the constraint of storage overflow. The algorithm was tested with various real data sets consisting of 10,000 to 17,000,000 numbers and different storage sizes ranging from 0.01n to 0.50n. It was found that the feasible lower bound of storage size is 0.35n with 100% sorting accuracy. The sorting time outperforms bubble sort, quick sort, insertion sort, and merge sort when data size is greater than 1,000,000 numbers. Remarkably, the sorting time of the proposed algorithm is 1,452 times less than the sorting time of external merge sort and 28.1767 times less than the sorting time of streaming data sort. The time complexity of proposed algorithm is O(n) while the space complexity is O(M). Public Library of Science 2022-04-05 /pmc/articles/PMC8982863/ /pubmed/35381032 http://dx.doi.org/10.1371/journal.pone.0266295 Text en © 2022 Chaikhan et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
spellingShingle Research Article
Chaikhan, Suluk
Phimoltares, Suphakant
Lursinsap, Chidchanok
Fast continuous streaming sort in big streaming data environment under fixed-size single storage
title Fast continuous streaming sort in big streaming data environment under fixed-size single storage
title_full Fast continuous streaming sort in big streaming data environment under fixed-size single storage
title_fullStr Fast continuous streaming sort in big streaming data environment under fixed-size single storage
title_full_unstemmed Fast continuous streaming sort in big streaming data environment under fixed-size single storage
title_short Fast continuous streaming sort in big streaming data environment under fixed-size single storage
title_sort fast continuous streaming sort in big streaming data environment under fixed-size single storage
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8982863/
https://www.ncbi.nlm.nih.gov/pubmed/35381032
http://dx.doi.org/10.1371/journal.pone.0266295
work_keys_str_mv AT chaikhansuluk fastcontinuousstreamingsortinbigstreamingdataenvironmentunderfixedsizesinglestorage
AT phimoltaressuphakant fastcontinuousstreamingsortinbigstreamingdataenvironmentunderfixedsizesinglestorage
AT lursinsapchidchanok fastcontinuousstreamingsortinbigstreamingdataenvironmentunderfixedsizesinglestorage