Correct and stable sorting for overflow streaming data with a limited storage size and a uniprocessor

被引:1
|
作者
Chaikhan, Suluk [1 ]
Phimoltares, Suphakant [1 ]
Lursinsap, Chidchanok [1 ]
机构
[1] Chulalongkorn Univ, Fac Sci, Dept Math & Comp Sci, Adv Virtual & Intelligent Comp AVIC Res Ctr, Bangkok, Thailand
关键词
Algorithms; Sorting; Memory; Algorithm design and analysis; Computational intelligence; EFFICIENT PROGRESS; INSERTION SORT; ALGORITHM;
D O I
10.7717/peerj-cs.355
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Tremendous quantities of numeric data have been generated as streams in various cyber ecosystems. Sorting is one of the most fundamental operations to gain knowledge from data. However, due to size restrictions of data storage which includes storage inside and outside CPU with respect to the massive streaming data sources, data can obviously overflow the storage. Consequently, all classic sorting algorithms of the past are incapable of obtaining a correct sorted sequence because data to be sorted cannot be totally stored in the data storage. This paper proposes a new sorting algorithm called streaming data sort for streaming data on a uniprocessor constrained by a limited storage size and the correctness of the sorted order. Data continuously flow into the storage as consecutive chunks with chunk sizes less than the storage size. A theoretical analysis of the space bound and the time complexity is provided. The sorting time complexity is O (n), where n is the number of incoming data. The space complexity is O (M), where M is the storage size. The experimental results show that streaming data sort can handle a million permuted data by using a storage whose size is set as low as 35% of the data size. This proposed concept can be practically applied to various applications in different fields where the data always overflow the working storage and sorting process is needed.
引用
收藏
页数:27
相关论文
共 2 条
  • [1] Correct and stable sorting for overflow streaming data with a limited storage size and a uniprocessor
    Chaikhan S.
    Phimoltares S.
    Lursinsap C.
    PeerJ Computer Science, 2021, 7 : 1 - 27
  • [2] Fast continuous streaming sort in big streaming data environment under fixed-size single storage
    Chaikhan, Suluk
    Phimoltares, Suphakant
    Lursinsap, Chidchanok
    PLOS ONE, 2022, 17 (04):