본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)41k · #6639

microservices-patterns

하는 일

이 도구는 작은 부품(마이크로서비스)으로 나뉜 복잡한 소프트웨어 시스템을 계획하고 만드는 데 도움을 줍니다. 이 부품들이 어떻게 소통하고, 데이터를 관리하고, 장애에서 복구해야 하는지 가르칩니다.

사용하는 경우

  • ✓큰 프로그램을 더 작은 부분으로 나눌 때.
  • ✓시스템의 부분들이 서로 어떻게 대화할지 설계할 때.
  • ✓시스템이 장애에 더 잘 견디도록 하고 싶은 경우.

스킬 링크

https://github.com/wshobson/agents/blob/main/plugins/backend-development/skills/microservices-patterns/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/backend-development/skills/microservices-patterns/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“온라인 상점 애플리케이션을 마이크로서비스로 어떻게 나눌 수 있을까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 마이크로서비스 설계 패턴의 예시와 설명을 사용합니다. 부품을 어떻게 구성하는지, 서로 정보를 어떻게 주고받는지, 문제를 어떻게 처리하는지 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Microservices Patterns

Master microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems.

When to Use This Skill

  • Decomposing monoliths into microservices
  • Designing service boundaries and contracts
  • Implementing inter-service communication
  • Managing distributed data and transactions
  • Building resilient distributed systems
  • Implementing service discovery and load balancing
  • Designing event-driven architectures

Core Concepts

1. Service Decomposition Strategies

By Business Capability

  • Organize services around business functions
  • Each service owns its domain
  • Example: OrderService, PaymentService, InventoryService

By Subdomain (DDD)

  • Core domain, supporting subdomains
  • Bounded contexts map to services
  • Clear ownership and responsibility

Strangler Fig Pattern

  • Gradually extract from monolith
  • New functionality as microservices
  • Proxy routes to old/new systems

2. Communication Patterns

Synchronous (Request/Response)

  • REST APIs
  • gRPC
  • GraphQL

Asynchronous (Events/Messages)

  • Event streaming (Kafka)
  • Message queues (RabbitMQ, SQS)
  • Pub/Sub patterns

3. Data Management

Database Per Service

  • Each service owns its data
  • No shared databases
  • Loose coupling

Saga Pattern

  • Distributed transactions
  • Compensating actions
  • Eventual consistency

4. Resilience Patterns

Circuit Breaker

  • Fail fast on repeated errors
  • Prevent cascade failures

Retry with Backoff

  • Transient fault handling
  • Exponential backoff

Bulkhead

  • Isolate resources
  • Limit impact of failures

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

자주 묻는 질문

마이크로서비스란 무엇인가요?

더 큰 소프트웨어의 일부로, 각각 특정 기능을 가진 작고 독립적인 부품입니다.

'비동기 통신'이란 무엇인가요?

소프트웨어 부품들이 즉시 응답을 기다리지 않고 서로 메시지를 보내는 것입니다. 이메일을 보내는 것과 같습니다.

'서킷 브레이커(Circuit Breaker)' 패턴이란 무엇인가요?

시스템의 한 부분에서 생긴 장애가 다른 부분으로 연쇄적으로 번지지 않도록 막는 기법입니다.

상세 정보

작성자의 원본 설명

Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.

repo: wshobson/agents

인기도

GitHub 스타
41k
순위
#6639
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬