[Day27] 병렬 프로세스에 대하여
오늘은 두번째로 병렬 프로세스에 대해서 기초적인 내용에 대해 알아보았습니다. 참고하면 좋을 내용들을 아래와 같이 공유합니다.
1. What do the terms “CPU bound” and “I/O bound” mean?
stackoverflow.com/questions/868568/what-do-the-terms-cpu-bound-and-i-o-bound-mean
What do the terms "CPU bound" and "I/O bound" mean?
What do the terms "CPU bound" and "I/O bound" mean?
stackoverflow.com
2. 프로세스
ko.wikipedia.org/wiki/%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4
프로세스 - 위키백과, 우리 모두의 백과사전
위키백과, 우리 모두의 백과사전.
ko.wikipedia.org
3. 다중 서버 환경에서 Session은 어떻게 공유하고 관리할까? - 1편 (Scale-Up / Scale-Out이란?)
다중 서버 환경에서 Session은 어떻게 공유하고 관리할까? - 1편 (Scale-Up / Scale-Out이란?)
개요 지난 시간 세션과 쿠키를 이용한 로그인에 대해 알아보았습니다. 이러한 개념을 바탕으로 로그인 기능 개발을 들어가기 전에 생각해볼 문제가 생겼습니다. 현재 프로젝트의 사용자가 많
hyuntaeknote.tistory.com
4. threading — Thread-based parallelism
docs.python.org/3/library/threading.html
threading — Thread-based parallelism — Python 3.9.1 documentation
threading — Thread-based parallelism Source code: Lib/threading.py This module constructs higher-level threading interfaces on top of the lower level _thread module. See also the queue module. Changed in version 3.7: This module used to be optional, it i
docs.python.org
5. multiprocessing — Process-based parallelism
docs.python.org/3/library/multiprocessing.html
multiprocessing — Process-based parallelism — Python 3.9.1 documentation
multiprocessing is a package that supports spawning processes using an API similar to the threading module. The multiprocessing package offers both local and remote concurrency, effectively side-stepping the Global Interpreter Lock by using subprocesses in
docs.python.org
6. queue — A synchronized queue class
docs.python.org/3/library/queue.html
queue — A synchronized queue class — Python 3.9.1 documentation
queue — A synchronized queue class Source code: Lib/queue.py The queue module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The Queue
docs.python.org
7. concurrent.futures — 병렬 작업 실행하기
docs.python.org/ko/3/library/concurrent.futures.html
concurrent.futures — 병렬 작업 실행하기 — Python 3.9.1 문서
소스 코드: Lib/concurrent/futures/thread.py와 Lib/concurrent/futures/process.py concurrent.futures 모듈은 비동기적으로 콜러블을 실행하는 고수준 인터페이스를 제공합니다. 비동기 실행은 (ThreadPoolExecutor를 사용
docs.python.org