3계층 아키텍처
애플리케이션을 프레젠테이션·애플리케이션·데이터의 3개 논리/물리 계층으로 구성
구조와 동작 원리
화살표를 단계별로 확인하세요.
세 계층은 별도 확장 및 배치가 가능하다. 네트워크 분리 여부는 구현에 달려 있다.
기대 효과
계층별 독립 인프라로 동시 개발, 필요 시 다른 계층 영향 없이 업데이트·확장 가능
트레이드오프
계층형 모놀리식 대비 네트워크 지연, 복잡성, 테스트 난이도 증가
계층형 모놀리식 대비 네트워크 지연·복잡성·테스트 난이도 증가에 주의
운영 및 적용 가이드
종합 설명 · 원문 인용으로 검증된 항목과 구분됩니다. 실제 적용 전 확인이 필요합니다.
언제 사용하는가
웹·모바일 클라이언트와 백엔드 API, 데이터베이스의 부하·변경 주기가 달라 독립 확장과 배포가 필요한 엔터프라이즈 웹 애플리케이션에 적합하다.
시나리오
중견 이커머스 기업이 상품·주문·회원 서비스를 운영하며 웹/모바일 프론트엔드는 트래픽 급증, API는 외부 파트너 연동, DB는 읽기 부하가 큰 상황을 가정한다. 프레젠테이션·비즈니스 로직·데이터 계층을 분리하고 API 서버는 수평 확장, DB는 리드 리플리카와 백업을 적용한다. 배포는 CI/CD로 이미지 단위 자동화하고 계층별 모니터링과 장애 격리 정책을 둔다.
배치 원칙
- 프레젠테이션 계층은 정적 자산·UI를 CDN/리버스 프록시 뒤에 배치
- 애플리케이션 계층은 무상태 API/WAS를 다중 인스턴스로 배치해 수평 확장
- 데이터 계층은 RDBMS/캐시/오브젝트 스토리지를 사설 네트워크에 격리
- 계층 간 통신은 내부 로드밸런서·서비스 디스커버리로 제한
- 세션·파일 등 상태는 외부 저장소로 분리
온프레미스
DMZ 리버스 프록시, WAS 클러스터, DB 이중화/백업을 구성하고 배포는 CI/CD와 롤링/블루그린, 운영은 계층별 로그·메트릭·용량 계획 중심으로 한다.
클라우드
관리형 LB/CDN, 오토스케일링 API, 관리형 DB/캐시를 사용하고 IaC·CI/CD로 배포하며 관리형 모니터링·백업·보안 그룹으로 운영한다.
Kubernetes
프레젠테이션·앱을 Deployment/Service/Ingress로 배치하고 HPA·PDB·Probe를 설정하며, 데이터 계층은 StatefulSet 또는 외부 관리형 DB로 두고 Secret/ConfigMap과 네임스페이스로 격리한다.
장애 대응
대표 장애는 계층 간 네트워크 지연/타임아웃, API 인스턴스 포화, DB 커넥션 고갈·장애다. 탐지→분류→격리(트래픽 차단/스케일 조정/롤백)→복구→사후분석 순으로 대응하고 에스컬레이션과 롤백 절차를 사전에 둔다.
14개 관점별 근거
조사 당시 근거 보유 여부입니다. 출처의 정확성과 최신성을 별도로 판단하세요.
정의·개요근거 있음
애플리케이션을 프레젠테이션·애플리케이션·데이터의 3개 논리/물리 계층으로 구성
organizes applications into three logical and physical computing tiers해결하는 문제근거 있음
모놀리식 서버 확장 대신 계층을 분리해 독립 확장과 기술 선택 문제를 해결
Instead of scaling a monolithic server, you separate주요 구성 컴포넌트·리소스근거 있음
프레젠테이션(UI), 애플리케이션(처리/비즈니스 로직), 데이터(저장·관리) 계층
the presentation tier, or user interface; the application tier, where data is processed; and the data tier데이터·에셋 배치 원칙근거 있음
애플리케이션 데이터는 데이터 계층에 저장·관리하고, 각 계층은 자체 인프라에 배치 가능
data tier, where application data is stored and managed대표 유스케이스근거 있음
웹 앱, 엔터프라이즈 시스템, 모바일 앱 등 폭넓은 애플리케이션에 적합
suitable for building a wide range of applications such as web applications, enterprise systems, and mobile apps시나리오 예시근거 있음
이커머스에서 프론트엔드는 JS 중심, 백엔드 API는 모바일·외부 연동, DB는 고부하인 시나리오
the backend API serves mobile clients and third-party integrations, and the database faces heavy load부적합 상황·주의근거 있음
계층형 모놀리식 대비 네트워크 지연·복잡성·테스트 난이도 증가에 주의
introduces network latency, complexity, and testing challenges compared to layered monoliths온프레미스 관점(개발·배포·운영)근거 있음
온프레미스에서는 웹 계층 리버스 프록시, 앱 서버(Tomcat 등), RDBMS 데이터 계층으로 배치·운영
Web Tier: Handles incoming traffic on TCP 80/443 via a reverse proxy, which forwards requests to the application tier.클라우드 관점(개발·배포·운영)근거 있음
클라우드에서는 EKS 등 관리형 Kubernetes로 제어면·노드 인프라 운영을 자동화
Amazon EKS automates Kubernetes cluster infrastructure management for the Kubernetes control plane and nodes.Kubernetes 관점(개발·배포·운영)근거 있음
Kubernetes에서는 웹·앱·데이터 3계층 모델을 컨테이너/서비스로 배포·운영
The recommended architecture for brXM in Kubernetes uses a three-tier model장애 대응 관점근거 있음
장애 대응 계획에 탐지·분류·격리·복구 절차와 연락/에스컬레이션 체계를 포함
core procedures the team will follow during detection, triage, containment, and recovery.장점근거 있음
계층별 독립 인프라로 동시 개발, 필요 시 다른 계층 영향 없이 업데이트·확장 가능
each tier can be developed simultaneously by a separate development team. And can be updated or scaled as needed without impacting the other tiers.단점·트레이드오프근거 있음
계층형 모놀리식 대비 네트워크 지연, 복잡성, 테스트 난이도 증가
introduces network latency, complexity, and testing challenges compared to layered monoliths대표 기술·도구근거 있음
Kubernetes, 리버스 프록시, Tomcat 등 앱 서버, RDBMS/Jackrabbit
Runs application servers (such as Tomcat) hosting two WAR files추가 참고 문헌 (24)
- What Is Three-Tier Architecture? | IBM ↗
- Client-Server and 3-Tier Architecture | ArchMan ↗
- N-tier Architecture Style - Azure Architecture Center | Microsoft Learn ↗
- Building a three-tier architecture on a budget | AWS Architecture Blog ↗
- Using a Three-Tier Architecture Model - Win32 apps | Microsoft Learn ↗
- Three-tier vs. microservices architecture: How to choose | TechTarget ↗
- Building a Real-World 3-Tier Architecture on AWS | AWS Builder Center ↗
- An introduction to web applications architecture: 1.2 Multi-tier architecture | OpenLearn - Open University ↗
- On-Premise Kubernetes Setup - Deploy ↗
- Reference Architecture: GKE Enterprise hybrid environment - part 2 - Dec '24 - Google Docs ↗
- Running Kubernetes On-Premise Part 1 - The Architecture ↗
- Microsoft Word Tanzu MultiCloud solution final ↗
- Deploy Amazon EKS clusters across cloud and on-premises environments - Amazon EKS ↗
- Tanzu for Kubernetes Operations on VxRail ↗
- Title: Deploying a 3-Tier Architecture on AWS using Kubernetes & GitHub ... ↗
- Start Hybrid Cloud and Multi-Cloud with Alibaba Cloud ACK One [Part Two] - Alibaba Cloud Community ↗
- Using AI for tiered cloud platform operation - Microsoft Research ↗
- Escalation Policies | PagerDuty Docs ↗
- Architecture strategies for designing an incident management (IcM) process - Microsoft Azure Well-Architected Framework | Microsoft Learn ↗
- Google SRE - Troubleshooting Methodology: A Learning Path ↗
- Google SRE: Distributed Computing Systems | Incident Management ↗
- The Three Tiers of Agentic Incident Response: When to Trust AI Autonomy ↗
- Scaling Incident Response: Our Blueprint for Multi-Tiered Support in High-Availability Insurance Platforms ↗
- Development of the Incident Management Model in an Enterprise Information System Based on a Three-Tier Architecture Using Key (Relevant) Metrics ↗