일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- IntelliJ
- codedeploy
- 도커
- Flux
- bootstrap
- Airflow
- node
- kubeflow
- Spring
- codedeploy error
- Kafka
- Python
- COALESCE
- or some instances in your deployment group are experiencing problems.
- codepipeline
- java bigdecimal
- codebuild
- chart.js
- aws cicd
- VPN
- JavaScript
- AWS CI/CD 구축하기
- SQL
- redis
- Jenkins
- aws
- docker
- chartjs
- PostgreSQL
- Spring Error
- Today
- Total
목록2025/03/10 (2)
Small Asteroid Blog
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..
다른 언어에서 WebFlux 와 비슷한 기술Python의 FastAPI 는 WebFlux 와 유사한 비동기 논블로킹 기능을 제공합니다.Python & Go 기반 AI 모델 서빙을 할 때, WebFlux 대신 FastAPI 나 Triton Inference Server 를 사용할 수 있습니다. 언어WebFlux 와 유사한 프레임워크특징JavaWebFluxReactor 기반 비동기 논블로킹KotllinKtor코루틴 기반 비동기 처리PythonFastAPIasyncio 기반 비동기 웹 프레임워크JavaScript(Node.js)NestJS비동기 REST APIGoFiber, Gin경량 비동기 HTTP 프레임워크RustActix-web비동기/고성능 지원 Spring WebFlux 와 FastAPI 비교Spri..