반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- kubeflow
- codebuild
- codedeploy error
- 도커
- or some instances in your deployment group are experiencing problems.
- Spring Error
- Airflow
- Python
- COALESCE
- node
- JavaScript
- Spring
- chart.js
- VPN
- codedeploy
- codepipeline
- SQL
- aws
- java bigdecimal
- IntelliJ
- Jenkins
- Kafka
- PostgreSQL
- chartjs
- redis
- aws cicd
- Flux
- bootstrap
- AWS CI/CD 구축하기
- docker
Archives
- Today
- Total
목록pool (1)
Small Asteroid Blog
[Python] Pool, ThreadPoolExecutor 비교
Python에서 Pool (multiprocessing)과 ThreadPoolExecutor (concurrent.futures)는 각각 멀티프로세싱과 멀티스레딩을 활용하는 방식이다. 이 글에서는 두 방법의 차이점을 설명하고, 어떤 상황에서 어떤 방법을 선택해야 하는지 정리해 보았다. multiprocessing.Poolmultiprocessing 모듈은 Python의 GIL(Global Interpreter Lock) 제한을 우회하여 병렬 처리를 가능하게 한다. Pool 클래스는 여러 개의 프로세스를 생성하여 태스크를 병렬 실행할 수 있도록 한다.from multiprocessing import Poolnum_workers = 128with Pool(processes=num_workers) as p..
백엔드/Python
2025. 3. 10. 13:26