Docker & Kubernetes #2-1

컨테이너 이미지 레이어 docker build docker run

2023년 1월 8일
·
0개의 댓글
·
post-thumbnail

GIL(Global Interpreter Lock)

파이썬 인터프리터가 한 스레드만 하나의 바이트코드를 실행시킬 수 있도록 해주는 Lock파이썬은 기본적으로 레퍼런스 카운팅을 사용하는데,이 레퍼런스 카운트 변수가 멀티스레드 환경에서 Race Condition을 야기할 수 있기 때문에하나의 공통된 자원을 여러 스레드에서

2023년 1월 1일
·
0개의 댓글
·

Docker & Kubernetes #1

프로젝트, 애플리케이션 관리, 배포 개발 도커 - 쿠버네티스 연결 쿠버네티스, 쿠버네티스를 구성하는 것

2022년 12월 31일
·
0개의 댓글
·
post-thumbnail

7-2 Deadlock

최대로 요청할 수 있는 자원을 요청해도 감당가능한 경우에만 자원 할당,그렇지 않은 경우에는 일부 자원을 요청하더라도 자원을 할당해주지 않는다.시스템이 safe stateDeadlock Detection요청을 받아들일 수 없음. (자원을 내어주지 않으면서 조건을 충족하지

2022년 11월 4일
·
0개의 댓글
·
post-thumbnail

7-1 Deadlocks

일련의 프로세스들이 서로가 가진 자원을 기다리며 block된 상태하드웨어, 소프트웨어 등을 포함하는 개념I/O device, CPU cycle, memory space, semaphore 등프로세스가 자원을 사용하는 절차Request → Allocate → Use →

2022년 11월 4일
·
0개의 댓글
·
post-thumbnail

6-4 Process Synchronization (Concurrency Control)

프로세스 동기화 혹은 병행 제어현재 실행 중인 프로세스 1개가 Active 상태인 경우 다른 프로세스는 Queue에서 기다린다.Monitor가 공유 공간에 접근을 제어하기 때문에 Lock 같은 별도의 작업이 필요없다.left, right available한 경우 → 식

2022년 11월 4일
·
0개의 댓글
·
post-thumbnail

6-3 Process Synchronization

Producer생산자는 버퍼의 빈 공간이 자원이 된다.Consumer소비자는 버퍼의 데이터가 들어있는 공간이 자원이 된다.한 Process가 DB에 Write 중일 때 다른 Process가 접근하면 안됨read는 동시에 여럿이 해도 됨solutionwriter가 DB에

2022년 11월 4일
·
0개의 댓글
·
post-thumbnail

6-2 Process Synchronization

entry section - critical section에 진입하고자 하는 코드critical section 진입exit section - critical section에 나온 이후 코드Mutual Exclusive (상호 배제)프로세스 P가 critical sect

2022년 11월 4일
·
0개의 댓글
·
post-thumbnail

6-1 Process Synchronization

멀티 프로세서IPC - Shared Memory를 이용하는 경우 Race Condition 문제가 발생할 수 있다.(Shared Memory 내의 Kernel data)커널 모드 수행 중 인터럽트 발생 시Process가 System Call을 하여 Kernel Mode

2022년 11월 4일
·
0개의 댓글
·
post-thumbnail

5-2 CPU Scheduling

우선순위에 따라 프로세스의 순서생성 시에 우선순위가 결정Ready Queue를 여러 개로 분할foreground (interactive)background (batch - no human interaction)각 큐는 독립적인 스케줄링 알고리즘을 가짐foreground

2022년 10월 29일
·
0개의 댓글
·
post-thumbnail

5-1 CPU Scheduling

CPU Burst time, I/O 시간, CPU Scheduler(FCFS, SJF(SRJF), Priority, RR

2022년 10월 29일
·
0개의 댓글
·
post-thumbnail

4-2 Process Management

system call, IPC(InterProcess Communication) - Message Passing, Shared Memory

2022년 10월 29일
·
0개의 댓글
·

4-1 Process Management

부모 프로세스가 자식 프로세스 생성프로세스의 트리(계층 구조) 형성프로세스는 자원을 필요로 함운영체제로부터 받는다.부모와 공유한다.자원의 공유부모와 자식이 모든 자원을 공유하는 모델일부를 공유하는 모델전혀 공유하지 않는 모델 - 일반적수행부모와 자식은 공존하며 수행되는

2022년 10월 29일
·
0개의 댓글
·
post-thumbnail

3-2 Process

Thread

2022년 10월 29일
·
0개의 댓글
·
post-thumbnail

3-1 Process

프로세스, 프로세스의 상태, PCB, Context Switching, Process Scheduling Queue, Scheduler

2022년 10월 29일
·
0개의 댓글
·
post-thumbnail

2-2 System Structure & Program Execution

동기식/비동기식 입출력, 프로그램의 실행

2022년 10월 29일
·
0개의 댓글
·
post-thumbnail

2-1 System Structure & Program Execution

컴퓨터 시스템 구조

2022년 10월 28일
·
0개의 댓글
·

1. Introduction to Operating System

한정된 자원을 이용해서 효율적으로 활용

2022년 10월 22일
·
0개의 댓글
·
post-thumbnail

Data Engineering in Python

Data Trend 2022 \- Landscape \- ELT \- Lake HouseData Engineering in Python \- Ecosystem(Spark, Pandas, Apache Arrow) \- AI/ML 동향ELT \- Extract

2022년 10월 22일
·
0개의 댓글
·

Python String concatenation

파이썬의 string은 int, tuple 등과 같이 immutable한 속성을 가지고 있다.string은 +기호를 통해 직관적으로 concatenation 연산을 수행할 수 있는데, 자료구조에 대해 잘못 이해하면 비효율적인 코드를 짜게될 수 있다.파이썬의 concat

2022년 10월 2일
·
0개의 댓글
·