摘 要:为了满足编程题在线评阅对响应时间、并发处理能力的需求,本文结合Linux 操作系统的稳定性好、多任务和多用户等特点,提出在Linux 操作系统下架设在线评阅服务器的方法。本文就在线评阅服务平台的技术进行了探讨,给出了评阅服务器的技术性指标、自启动评阅服务进程的方法、service 服务进程对Mysql 数据库操作和多进程并发评阅的具体实现方法等,文中提出的技术使得评阅服务器具有良好的稳定性和较强并发处理能力。
关键词:Linux 系统;编程题;在线评阅;并发处理能力
中图分类号:TP311.1 文献标识码:A 文章编号:2096-4706(2019)10-0097-03
Design and Implementation of Programming Question Online Comment Service
Platform under Linux System
ZUO Yue,LIN Ning
(Nanning University,Nanning 530200,China)
Abstract:In order to meet the demand of response time and concurrent processing ability for programming online review,combining the advantages of Linux operating system,such as good stability,multi-task and multi-user,this paper proposes to set up online review server under Linux operating system. This paper discusses the technology of the online review service platform,and gives the technical index of the evaluation server,the method of self-starting the review service process,the concrete realization of the operation of the Mysql database by the service process and the concurrent evaluation of the multi-process and so on. The technology proposed in this paper makes the evaluation server have good stability and strong concurrent processing ability.
Keywords:Linux system;programming questions;online judging;concurrent processing capability
参考文献:
[1] 吴文刚,张志文. 信息安全等级保护Linux 服务器shell 脚本测评方法 [J]. 现代工业经济和信息化,2017,7(13):59-61.
[2] 卢云宏,侯文涵,赵前,等. 基于Linux 的OnlineJudge在线提交环境的搭建 [J]. 电子技术与软件工程,2017(12):50-51.
[3] 刘加海,张益先,等.Linux 软件工程师(C 语言)实用教程 [M]. 北京:科学出版社,2009.
作者简介:左悦(1981-),女,汉族,辽宁盘锦人,讲师,硕士,研究方向:图形图像处理、计算机应用。