issues
search
song960530
/
foryou-family
0
stars
0
forks
source link
포유패밀리 System Architecture
#114
Closed
song960530
closed
1 year ago
song960530
commented
1 year ago
포유패밀리 System Architecture
MicroService Outer Architecture
아래 구성도는 포유패밀리 서비스의 MSA 외부 아키텍처 구성도 입니다.
BE는 4개의 마이크로서비스, 1개의 매칭서비스, 추가적으로 Gwatway와 Service Registry로 구성되어 있습니다.
CI/CD 파이프라인은 Github, Jenkins, S3, CodeDeploy로 구성되어 있습니다.
인프라는 AWS를 적극 사용하였으며 4개의 마이크로서비스는 Auto Scaling Group 설정을 통하여 트래픽에 유연하게 대처할 수 있도록 구성되어 있습니다.
MicroService Inner Architecture
아래 구성도는 MSA 내부 아키텍처 구성도입니다.
클라이언트는 게이트웨이를 통해서만 통신합니다.
특정 상황을 제외하고, 모든 서비스는 Pub/Sub 형태 통신하도록 구현하여 각 서비스간의 결합도를 낮췄습니다.
Service Discovery 패턴을 적용하여, 각 서비스간의 API 통신이 필요한 상황이 있을 경우 서버 정보를 몰라도 게이트웨이를 통하여 통신할 수 있도록 구현하였습니다.(Server Side Discovery)
포유패밀리 System Architecture
MicroService Outer Architecture
MicroService Inner Architecture