检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李芙玲[1] 何灏贤 LI Fuling;HE Haoxian(North China Institute of Science and Technology,Yanjiao,065201,China)
出 处:《华北科技学院学报》2018年第5期95-100,共6页Journal of North China Institute of Science and Technology
基 金:国家级大学生创新创业训练计划项目(201411104027);中央高校基本科研业务费资助项目(3142014084;3142017067)
摘 要:现阶段大部分的在线评测系统都采用了C语言编写沙盒的方案,沙盒系统虽然技术较为完备,但是其功能繁琐,实现复杂,在小型评测系统中花费代价太大,并且可移植性较低,不好掌控。本系统另辟蹊径,利用Docker的高隔离特性,规避了使用Docker面临的Root、资源耗尽等风险,并对Docker容器占用的资源做了合理限制,最终实现应用系统和评测系统分离。本系统采用Java开发,Docker容器只需要使用编写好的dockerfile文件就可以一键搭建。相比传统沙盒,本系统具有极高的可移植性,极大提高了技术人员的效率,并且可以更方便的控制在线评测的资源占用以提高CPU和内存的利用效率。At present,most online evaluation systems adopt the method of writing sandbox with C programminglanguage. Even though the sandbox system enjoys sophisticated technology,it is complex in function and implementation . The cost of implementing sandbox on small online evaluation systems is too high whereas thetransferability and maneuverability is quite low. The system presented in this paper,however,looks at thisproblem from another direction. By taking advantage of the high--isolation feature of Docker,this online evaluation system based on Docker can avoid the risk of Root and resource exhaustion. It achieves the separationof application system and evaluation system by limit the resources deployed by Docker reasonably. Our systemis developed with Java and Docker can be built with one click of the written dockerfile.Compared with traditional sandbox,our system stands out with extremely high maneuverability which enhances tremendously the efficiency of technical personnel and control the resources deployed to improve the utilization efficiency of CPU.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117