blocking I/O
synchronous communication
낮은 동시성을 요구하는 소규모 어플리케이션
응답을 받을 때까지 스레드가 막혀, CPU/메모리 사용량이 높다.
non-blocking I/O
스트리밍 웹, 실시간 데이터 프로세싱
높은 동시성을 요구하는 대규모 어플리케이션
응답을 받을 때까지 기다리지 않아, CPU/메모리 사용량이 낮다.
Spring Web : Mono and WebClient
Spring Webflux : RestTemplate and ResponseEntity
출처:https://medium.com/@burakkocakeu/spring-web-vs-spring-webflux-9224260c47b5