Spring Cloud
[SPRING CLOUD] 스프링 클라우드란?
오늘도개발
2024. 11. 5. 15:45
* 현재 문서는 Spring cloud 공식 문서를 참조하여 작성하였습니다.
https://spring.io/projects/spring-cloud#overview
Spring Cloud
Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, short lived microservices and
spring.io
1. Spring Cloud는 분산 시스템에서 일반적인 패턴을 빠르게 빌드할 수 있는 도구를 제공
2. 스프링 클라우드를 사용하면 boilerplate 패턴을 미리 구현해 놓은 여러 기능을 제공
( 분산 시스템에서는 여러 서비스가 서로 협력하며 작동해야 하는데, 이러한 협력을 조정하는 작업은 코드의 반복과 복잡성을 증가시키는 보일러플레이트(boilerplate) 패턴을 많이 요구 ex> 서버간의 통신, 로드 밸런싱, 서비스 등록 등)
특징
- 분산/버전 구성
- 서비스 등록 및 검색
- 라우팅
- 서비스 간 통신
- 부하 분산
- circuit braker
- 분산 메시징
아키텍처 구조
정리
spring cloud 를 사용하면 MSA 구조의 프로젝트를 개발하는데 유용한 많은 툴을 사용할 수 있음