Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
클라우드 네이티브 애플리케이션 디자인 패턴
by
카순 인드라시리
,
스리스칸다라자 수호티얀
,
박수현
June 2022
Beginner to intermediate
368 pages
6h 36m
Korean
Hanbit Media, Inc.
Content preview from
클라우드 네이티브 애플리케이션 디자인 패턴
246
클라우드 네이티브 애플리케이션 디자인 패턴
사가 패턴
사가 패턴을 사용해서 보상 트랜잭션을 지원하는 데이터 처리 파이프라인을 구현할 수 있습
니다.
사가 패턴은
3
장에서 설명한 바 있습니다.
5.4.3
5.4.3
우선순위 큐 패턴
우선순위 큐 패턴
우선순위 큐 패턴
priority
queue
pattern
은 이벤트를 우선순위별로 다루어서 가장 중요한 이벤트를 먼
저 다루고 낮은 순위의 이벤트는 자원이 충분히 남는 경우에만 처리합니다.
어떻게 동작할까요
이 패턴은 생산자와 소비자 패턴과 마찬가지로 여러 개의 큐를 사용해서 우선순위별로 이벤트
를 처리합니다.
클라이언트는 여러 개의 이벤트 큐를 사용해서 우선순위별로 이벤트를 가져와
서 처리합니다.
[
그림
5
-
13
]
에서 이 패턴으로 어떻게 사용자 요청을 처리하는지 보여주고 있
습니다.
60
%
의 자원을 프리미엄 사용자 요청에 할당하고
30
%
를 골드 사용자 요청에,
10
%
를
나머지 사용자 요청에 할당합니다.
따라서 요청 처리 애플리케이션은 전체 시간의
60
% 동안
프리미엄 큐에서,
30
%
동안 골드 큐에서,
나머지
10
%
는 비멤버 큐에서 이벤트를 가져와서 처
리합니다.
물론 자원이 충분하다면 최적화를 위한 로직을 더 추가할 수도 있습니다.
그림
5-13
우선순위 기반 사용자 요청 처리
우선순위 기반 사용자 요청 처리
요청
접수 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
파이썬으로 살펴보는 아키텍처 패턴
오현석, 해리 퍼시벌, 밥 그레고리
개발자를 위한 머신러닝&딥러닝
로런스 모로니
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
최경현, 저스틴 도밍거스, 존 어런들
개발자를 위한 필수 수학
토머스 닐드
Publisher Resources
ISBN: 9791162245675