DOI QR코드

DOI QR Code

Database PasS web service system using Docker

  • Hur, Tai-Sung (Dept. of Computer Science, Inha Technical College)
  • Received : 2020.09.24
  • Accepted : 2020.11.01
  • Published : 2020.11.30

Abstract

Most of the students in computer-related departments work on projects, and it is essential to use a database for project execution. To use such a database, it is necessary to install a Database Management System. However, it takes several minutes (hours) to install a DBMS, and some DBMS require a difficult installation process. Therefore, in order to solve this problem, this study proposed a system that can easily install DBMS using Docker. Docker is an open source project that automates the deployment of Linux applications into software containers. Docker Container is wrapped in a complete file system that includes everything necessary for the execution of software, and includes code, runtime, system tools, system libraries, and anything that is installed on the server. This guarantees that they will always run the same regardless of the environment in which they are running. After creating a database using this proposed system, you can check the database access information on the web and check the server status in minutes. As a result of of implementing this proposed system and applying it to the projects of 10 teams, the installation time was reduced by 94.5% for Maria DBMS and 98.3% for Oracle DBMS than individual installation, confirming improved efficiency.

컴퓨터 관련학과의 학생들은 대부분 프로젝트를 수행하며, 프로젝트 수행에 있어 데이터베이스 사용은 필수적이다. 이런 데이터베이스를 사용하기 위해서는 데이터베이스 관리 시스템(DataBase Management System)의 설치가 필요하다. 그러나 DBMS를 설치의 경우 수분(시간)이 소요되며, 까다로운 설치 과정을 요구하는 DBMS도 있다. 따라서 이러한 문제를 해결하기 위해 본 연구에서는 Docker를 이용해 DBMS를 쉽게 설치할 수 있는 시스템을 제안하였다. Docker는 리눅스의 응용 프로그램들을 소프트웨어 Container안에 배치하는 일을 자동화하는 오픈소스 프로젝트이다. Docker Container는 소프트웨어의 실행에 필요한 모든 것을 포함하는 완전한 파일 시스템 안에 감싸며, 안에는 코드, 런타임, 시스템 도구, 시스템 라이브러리 등 서버에 설치되는 무엇이든 포함된다. 이는 실행 중인 환경과 관계없이 언제나 동일하게 실행될 것을 보증한다. 본 제안 시스템을 이용하여 데이터베이스를 생성한 후 웹에서 데이터베이스 접속 정보를 확인할 수 있으며, 서버 상태를 분 단위로 확인할 수 있도록 하였다. 본 제안 시스템을 구현하여 10팀의 프로젝트에 적용한 결과 개별 설치보다 Maria DBMS의 경우 94.5%, Oracle DBMS의 경우 98.3%의 설치 시간이 감소하여 향상된 효율을 확인하였다.

Keywords

References

  1. Bernstein, Dacid, "Containers and Cloid: FromLXC to Docker to Kubernetes", Cloud Computing, IEEE, Vol. 1, No. 3, pp. 81-83, Sep. 2014. https://doi.org/10.1109/MCC.2014.51
  2. Wikipidia https://ko.wikipedia.org/wiki/Docker (software)
  3. Kayounggishere.loc https://velog.io/@hayoungishere/Docker- Kubernetes
  4. Coconut-obsessed https://velog.io/@matisse/도커Docker에-대해
  5. A. Younge, et al., "A Tale of Two Systems: Using Containers to Deploy HPC applications on Supercomputers and Clouds,", in pric. of the IEEE International Conference on Supercomputers Technology & Science 2017 (CloudCom 2017).
  6. https://subicura.com/2017/01/19/docker-guide-for-beginners-1.html
  7. Docker Hub https://hub.docker.com/_/mariadb
  8. Docker Hub https://hub.docker.com/r/oracleinanutshell/oracle-xe-11g
  9. Node.js Express, https://expressjs.com/ko/
  10. Matia DB, https://mariadb.com/kb/ko/mariadb/