首页|基于微服务+沙箱技术的自动判题系统的设计与实现

基于微服务+沙箱技术的自动判题系统的设计与实现

扫码查看
在在线教育需求不断增长的背景下,传统的人工评测编程题方法存在效率低下等问题,因此开发编程题自动判题系统至关重要。文章设计和实现了基于Spring Cloud的编程题自动评分系统。首先,进行了总体功能、主要系统模块及数据库设计;其次,设计并实现了用户服务、题目服务、评分服务、代码沙箱服务以及其他公共模块的多个微服务;最后,为解决高并发下系统评分速度较慢的问题,采用了RabbitMQ消息队列实现异步评分功能。该系统提供了友好的界面和操作流程,方便用户在线作答。系统在评分的准确性、高效性和稳定性方面具有一定优势,提高了评分效率,减少了人力资源消耗,有显著的实用价值和广泛的应用前景。
Design and Implementation of an Automatic Question Judging System Based on Microservice+Sandbox Technology
Under the background of the continuous growth in the demand for online education,the traditional manual evaluation methods for programming questions exist low efficiency and other issues,thereby developing an automatic programming question judging system is essential.This paper designs and implements an automatic programming question grading system based on the Spring Cloud.Firstly,it designs overall functions,main system modules and database.Secondly,multiple microservices including user service,question service,grading service,code sandbox service,and other common modules are designed and implemented.Finally,to address the issue of slow system grading speed under high concurrency,RabbitMQ message queue is utilized to implement asynchronous grading function.The system provides users with a user-friendly interface and operational flow,facilitating online answering.With the advantages in grading accuracy,efficiency and stability,the system enhances grading efficiency,reduces human resource consumption,and has significant practical value and broad application prospects.

microserviceauto judgesandboxSpring CloudRabbitMQ

刘梅、汤铭、李峥峰

展开 >

南京传媒学院,江苏 南京 211172

微服务 自动判题 沙箱 Spring Cloud RabbitMQ

2024

现代信息科技
广东省电子学会

现代信息科技

ISSN:2096-4706
年,卷(期):2024.8(19)