Spring WebFlux 기반 실시간 데이터 처리 시스템에서의 RDB와 NoSQL 성능 비교
Performance Comparison of RDB and NoSQL in Real-Time Data Processing Systems Based on Spring WebFlux
0
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
본 논문은 Spring WebFlux와 Spring MVC를 기반으로 관계형 데이터베이스(RDB)와 NoSQL 데이터베이스의 실시간 대규모 데이터 처리 성능을 비교·분석하여, 실시간 데이터 처리 시스템 설계시 최적의 기술 선택 기준을 제시한다. WebFlux는 비동기 논블로킹 방식으로 높은 동시성 처리와낮은 응답 시간을 제공하는 반면, MVC는 동기 블로킹 I/O 모델을 기반으로 비교적 적은 동시 접속 환경에서 안정적인 성능을 보인다. 또한, NoSQL은 유연성과 확장성 측면에서 RDB보다 우수하며, 동시 접속자 수가 증가할수록 성능 저하가 적은 특성을 갖는다. 실험 결과, Spring WebFlux 환경에서 NoSQL은 RDB 대비 평균 응답 시간이 약 50% 더 짧았으며, MVC 환경에서도 NoSQL이RDB보다 약 40% 더 빠른 응답 속도를 보였다. 특히, 동시 접속자가 5000명 이상일 때 WebFlux와NoSQL의 조합이 가장 우수한 성능을 나타냈다.
Abstract
This paper compares and analyzes the real-time large-scale data processing performance of relational databases (RDB) and NoSQL databases based on Spring WebFlux and Spring MVC, providing criteria for selecting the optimal technology when designing real-time data processing systems. WebFlux, with its asynchronous non-blocking model, offers high concurrency and low response time, whereas MVC, based on a synchronous blocking I/O model, delivers stable performance in environments with relatively fewer concurrent connections. Additionally, NoSQL outperforms RDB in terms of flexibility and scalability, exhibiting less performance degradation as the number of concurrent users increases. Experimental results show that in a Spring WebFlux environment, NoSQL achieved an average response time approximately 50% shorter than RDB. Even in an MVC environment, NoSQL demonstrated about 40% faster response times compared to RDB. Notably, when the number of concurrent users exceeded 5,000, the combination of WebFlux and NoSQL yielded the best performance.
