Spring Webflux를 사용하기 위해 공부하면서 reactive programming란 용어를 많이 접하게 되었고, Webflux에 대한 설명들이 reactive programming에 대한 지식 기반위에서 설명되어 있어서 reactive programming에 대해서 정리해 보았습니다.
Reactive Programming의 정의에 대해서 위키피디아는 아래와 같이 정의하고 있다.
In computing, reactive programming is a declarative programming paradigm concerned with data streams and the propagation of change. With this paradigm, it's possible to express static (e.g., arrays) or dynamic (e.g., event emitters) data streams with ease.
즉, Reactive Programming이란 데이터 스트림과 상태 변경의 전파에 중심을 둔 선언형 프로그래밍 패러다임입니다. Reactive Programming에서는 Imperative Programming과는 다르게 데이터 변경에 따른 이벤트가 흐름을 주도하게 됩니다.
Reactive Programming은 아래 세가지 요소들로 구성되어 있습니다.
RX = OBSERVABLE + OBSERVER + SCHEDULER
Reactive Menifesto(리액티브 선언문)은 리액티브의 원리를 정의해놓은 문서입니다.
project reactor (0) | 2023.05.01 |
---|
댓글 영역