Research on PC Cluster and Application in Online Exercise Judge System

Author
YeYun
Advisor
YaoMingHai , LiuYiTuan
School
Zhejiang University of Technology
Major
Control Engineering
Classification
TP338 A variety of electronic digital computer
Degree
Master's thesis
Year
2007
Downloads
47
Citations
0

Request the full text

Abstract

Computer programming is a fundamental course for students major ininformation technology, as well as the basic technique for the professionalswho work in IT domain. Learning programming has a very obvious differencefrom learning other subjects. That is the especially high demands ofprogramming practice besides the conventional concepts and theory studying.It is almost impossible for the instructors to judge all of the assignedprogramming works submitted by the learners in time. Therefore, it will bequite significant to develop an online automatic judge system, which canjudge the correctness, efficiency and robusticity of the program codesubmitted by learners and give proper feedback to the learners. This systemcan be in service 24 hours and 7 days without any geographic boundary easily,and also reduce the instructors’ artificial labor load of code checking greatlyand therefore concentrate more attention to give learners key guides andpromote teaching effects. The main works of this paper are as follows:1. Based on a research and a comparison on the online judge systemdeveloped both domestic and international, selected the Client/Servermodel and the Linux+Apache+PHP+MySQL+C platform, designedthe key functions of the online judge system and realized eachfunction module.2. Based on a research and an analysis on the cluster strategy, presentedan approach of LVS PC cluster technology and system architecture tobuild the model for the online judge system. The experiment systemrevealed a good server load balance as well as a highperformance/cost ratio.3. Based on an analysis of the basic principle and prevalentmethodology of network attack, and the consideration of thecharacteristics of the operating system platform and the online judgesystem, presented asystem security strategy, the experiment systemshowed a high security toward the prevalent network attacks.

Table of contents

Abstract 5-7 ABSTRACT 7-9 directory 9-12 the diagram index 12-13 the tables index 13-14 first chapter 14-20 1.1 Introduction 14 the topic 1.2 Research Background and Significance 14-15 1.3 Research 15-18 1.3.1 at home and abroad sentenced to question the status quo and development 15-17 the status of 1.3.2 and abroad cluster technology 17-18 1.4 of this thesis innovation 18-19 1.5 sections of this paper arrangements 19-20 cluster system 20-37 2.1 cluster system overview 20-24 2.1.1 cluster system concept 20-22 2.1.2 cluster system classification 22-24 2.1.2.1 High-performance cluster (High Performance, HP) 23 2.1.2.2 load balancing (Load Balance) cluster 23 2.1.2.3 High Availability Clustering (High Availabity, HA) 23-24 2.2 Web server cluster system 24-25 2.3 load balancing strategy 25-36 2.3.1 the concept of load balancing 25-26 2.3.2 RR-DNS-based load balancing 26-27 2.3.3 client-based solution 27-28 2.3.4 based on front scheduler load balancing 28-33 2.3.4.1 NAT packet forwarding technology 29-30 2.3.4.2 IP tunnel packet forwarding technology 30-31 2.3.4.3 direct routing (DR) packet forwarding technology 31-32 2.3.4.4 IP packet forwarding technology analysis 32-33 2.3.5 forwarded content-based technology 33-34 2.3.5.1 Agreement internal support 33-34 2.3.5.2 reverse proxy technology 34 2.3.5.3 TCP adhesive 34 2.3.5.4 TCP migration 34 2.3.6-based back-end server load balancing 34-35 2.3.7 different load balancing strategies comparative analysis 35-36 2.4 Summary 36-37 design and implementation of the job evaluation system 37-62 3.1 The purpose of the development job evaluation system 37 3.2 job evaluation system needs analysis 37-38 3.3 overall system design 38-42 3.3.1 system functional design 38-40 3.3.2 system database structure design 40-42 3.4 system mode select 42-43 3.5 system development platform to build 43-49 3.5.1 hardware platform selection 43-44 3.5.2 software platform of choice 44-46 3.5.2.1 operating system choose 44-45 3.5.2.2 database management system to select 45-46 3.5.2.3 application server choice 46 development tools 3.5.2.4 judge 46 3.5.3 Linux Apache PHP MySQL platform structures 46-49 3.5.3.1 Apache2 installation 47-48 3.5.3.2 PHP 5 installation 48 3.5.3.3 MySQL5 installation 48-49 3.6 system functions to achieve 49-61 3.6.1 landing module implementation 50-51 3.6.2 student module 51-55 3.6.2.1 assignment questions inquiries 51-53 3.6.2.2 source submitted 53-54 3.6.2.3 has been submitted the source evaluation status inquiries 54-55 3.6.3 Management module 55-57 3.6.3.1 Management Module security authentication mechanism 55 3.6.3.2 program operating Q \u0026 55-57 3.6.3.3 User Management 57 3.6.4 source judged achieve 57-61 3.6.4.1 C language programming process and common errors 58 3.6.4.2 source evaluation process 58-59 3.6.4.3 judge realization 59-61 3.7 Summary 61-62 Chapter LVS-based PC cluster system of job evaluation system 62-75 4.1 LVS cluster system 62-67 4.1.1 LVS cluster architecture 63 4.1.2 LVS cluster technology to achieve 63-67 4.1.2.1 load scheduler load scheduling to achieve 63-66 4.1.2.2 LVS cluster scalability to achieve 66-67 4.1.2.3 LVS cluster shared storage implementation 67 4.2 based on the realization of the job evaluation system LVS PC cluster 67-73 4.2.1 job evaluation system based on LVS cluster system architecture 68-69 4.2.2 load distributor realization 69-70 4.2.3 shared data content to achieve 70-72 4.2.3.1 NIS user authentication 70-71 4.2.3.2 NFS shared storage implementations 71-72 4.2.3.3 database shared storage implementations 72 the 4.2.4 backend server implementations 72 the 4.2.5 system services to achieve scalable 72-73 4.2.5.1 distributor end scalability to achieve 73 4.2.5.2 actual server-side scalability achieve 73 4.3 Summary 73-75 system security analysis 75-86 5.1 typical web attacks 75-77 5.2 web service platform security program 77 The safety of the 5.3 web service system platform to achieve 77-82 5.3.1 Linux operating system security precautions 78 5.3.2 Web server security precautions 78-81 5.3.2.1 Apache server security configuration 79 5.3.2.2 PHP program's security policy 79-81 5.3.2.3 web service information security mechanisms 81 5.3.3 MySQL database security measures 81-82 5.4 Estimation System security risks and strategy 82-85 5.4.1 include attack prevention 82-83 5.4.2 to prevent access to illegal file 83-84 5.4.3 prevent excessive resource consumption 84 5.4.4 prevent DoS attacks judge 84-85 5.5 Summary 85-86 Chapter Summary and Outlook 86-88 6.1 summarizes 86-87 6.2 Looking 87-88 the References 88-91 Acknowledgements 91-92 the pursuing degree during the academic catalog 92

Related dissertations

  1. Research on Parallel Computing and Rendering of Electromagnetic Environment Base on PC Cluster
  2. Load-Balanced of Lvs Scheduling Based on Adaptive Niche Genetic Algorithm
    YangYue ·Southwest Jiaotong University ·2013 ·Master's thesis
  3. The Research and Realization of Computer Cluster Technology
    LiZhongFu ·Chinese Geology University (Beijing) ·2006 ·Master's thesis
  4. Design and Implementation of Distributed Hydrological Monitoring System
    ChenGuang ·Zhejiang University of Technology ·2013 ·Master's thesis
  5. Design of Embedded Access Control System Based on RFID
    ZhuXiaoLin ·Hebei University of Technology ·2012 ·Master's thesis
  6. The Design and Implementation of a NEW Generation of Digital Campus Network
  7. MPLS Traffic Engineering Load Balance Algorithm Using Deviation Path
  8. Research and Implementation of the High-performance HTTP Reserves Proxy Server
    ChangZhi ·Harbin Engineering University ·2013 ·Master's thesis
  9. Based on the JBoss AS7Study of Enterprise Distributed Deployment Platform
    WangWeiWei ·Xiangtan University ·2013 ·Master's thesis
  10. A Study of Handover Technology Based on the Proxy Mobile IPv6
    SongBaiSen ·Northeastern University ·2011 ·Master's thesis
  11. Research and Implementation of DNS64Key Technology in the IPv4/IPv6Transition
    ShaoShuai ·Harbin Engineering University ·2013 ·Master's thesis
  12. Construction of IPv6Network System in Chengdu Institute of Biological
  13. Research on the Decision Tree-like Hierarchical Grid Resource Organization Model and Scheduling Algorithms
    WenLiJuan ·Yanshan University ·2013 ·Master's thesis
  14. The Development and Application for the Integrated Billing Inquiries System of Zhengzhou Unicom
  15. Design and Implementation of the Protection and Defense of Privacy Information
  16. The Designment and Implementation of Sichuan Province Meteorological Training Center Document Management System
  17. ERP System Design and Application of Traditional Chinese Medicine Pharmaceutical Enterprises
    GaoLei ·Tianjin University ·2012 ·Master's thesis
  18. The Design and Implementation of EHR Tianjin Lishen Battery Joint-Stock Co.,Ltd
    QiJianMing ·Shandong University ·2013 ·Master's thesis
  19. The Design and Implementation of Distributed File System in Crowd Intelligence Sensation Environment
  20. Design and Implementation of Scenic Region Management System Based on System’s Safety
    HuangXiaoFen ·Nanchang University ·2013 ·Master's thesis