TY - GEN
T1 - An Intelligent Scheduling System for Large-Scale Online Judging
AU - Zhang, En
AU - Wu, Fan
AU - Lu, Xuesong
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2024.
PY - 2024
Y1 - 2024
N2 - Online judge (OJ) systems have been widely used for programming skill evaluation in various fields, including programming education, programming competition and talent recruitment. Existing OJ systems put the codes into a judge queue according to the order of user submission, and use the judge server to evaluate the correctness of the codes in turn. With the surge in the number of code submissions, this scheduling method causes the rapid increase of average response time for judge requests, resulting in a decline in user experience. To alleviate the problem, we develop an intelligent scheduling system, which consists of two modules. In the first module, we employ a deep representation learning model to predict the running time of the codes in the judge queue; in the second module, the judge queue is divided into fixed-size windows. The codes in each window are sorted according to their predicted running time in ascending order, and are scheduled to the judge server using the shortest job first algorithm. The experimental results show that, 1) the constructed prediction model predicts the running time of the codes accurately; 2) compared with the scheduling algorithm of existing OJ systems, the proposed scheduling algorithm can effectively reduce the average response time for large-scale online judging. Furthermore, by varying the code running time distribution and window size in the judge queue, we demonstrate the performance improvements of the proposed intelligent scheduling system under different settings, compared with the existing systems.
AB - Online judge (OJ) systems have been widely used for programming skill evaluation in various fields, including programming education, programming competition and talent recruitment. Existing OJ systems put the codes into a judge queue according to the order of user submission, and use the judge server to evaluate the correctness of the codes in turn. With the surge in the number of code submissions, this scheduling method causes the rapid increase of average response time for judge requests, resulting in a decline in user experience. To alleviate the problem, we develop an intelligent scheduling system, which consists of two modules. In the first module, we employ a deep representation learning model to predict the running time of the codes in the judge queue; in the second module, the judge queue is divided into fixed-size windows. The codes in each window are sorted according to their predicted running time in ascending order, and are scheduled to the judge server using the shortest job first algorithm. The experimental results show that, 1) the constructed prediction model predicts the running time of the codes accurately; 2) compared with the scheduling algorithm of existing OJ systems, the proposed scheduling algorithm can effectively reduce the average response time for large-scale online judging. Furthermore, by varying the code running time distribution and window size in the judge queue, we demonstrate the performance improvements of the proposed intelligent scheduling system under different settings, compared with the existing systems.
KW - deep representation learning model
KW - intelligent scheduling
KW - online judge
KW - running time prediction
KW - shortest job first
UR - https://www.scopus.com/pages/publications/85187805485
U2 - 10.1007/978-981-97-0730-0_24
DO - 10.1007/978-981-97-0730-0_24
M3 - 会议稿件
AN - SCOPUS:85187805485
SN - 9789819707294
T3 - Communications in Computer and Information Science
SP - 265
EP - 279
BT - Computer Science and Education. Computer Science and Technology - 18th International Conference, ICCSE 2023, Proceedings
A2 - Hong, Wenxing
A2 - Kanaparan, Geetha
PB - Springer Science and Business Media Deutschland GmbH
T2 - 18th International Conference on Computer Science and Education, ICCSE 2023
Y2 - 1 December 2023 through 7 December 2023
ER -