SNS와 SQS의 차이?

2022. 9. 6. 20:22·CLOUD/AWS Cloud

SNS와 SQS 모두 느슨하게 결합된 마이크로 서비스 애플리케이션을 위해 사용하면 좋다.

근데 두 서비스가 좀 차이가 있다.

SNS는 여러 토픽을 만들고, 그 토픽을 구독한 subscriber에게 message를 전달하는 역할을 한다.

내가 topic에 하나의 메시지를 보내면, 그 topic을 구독한 모든 subscribers에게 메시지가 전달된다.

 

Similarly, Amazon SNS facilitates loosely coupled microservices application architectures by separating the publishing of the message from the receipt or acknowledgement of the message by another service. You begin by creating an SNS topic, which is a channel for messages to be delivered. Then you configure subscribers to that topic. Finally, you publish messages to the subscribers of that topic. This means that you can send one message to a topic and have all the subscribers receive it. These subscribers can be SQS queues, web servers, email addresses, AWS Lambda functions, or several other options. You will learn more about Lambda in the next lesson.

 

ㄴ SNS의 topic의 subscriber는 SQS queue가 될 수 있다!!!

 

Amazon SQS is a message queuing service. Using Amazon SQS, you place messages into a queue, where they remain until another service picks them up from that queue. By using Amazon SQS, you can send, store, and receive messages between software components at any volume. The data contained within a message is called a payload. SQS queues are where messages are placed until they are processed. AWS manages the underlying queue infrastructure so that the message queues scale automatically and reliably.

 

Using Amazon SQS, you can send, store, and receive messages between software components without losing messages or requiring other services to be available. In Amazon SQS, an application sends messages into a queue. A user or service retrieves a message from the queue, processes it, and then deletes it from the queue.

SQS를 사용하면, 소프트웨어 컴포넌트간에 손실 없이 데이터를 주고 받을 수 있다.

저작자표시 비영리

'CLOUD > AWS Cloud' 카테고리의 다른 글

When to use serverless [판단 기준]  (1) 2022.09.06
Fargate  (0) 2022.09.06
[의문] Auto-Scaling (+Scaling 더 빠르게 하는 법)  (0) 2022.09.06
Capstone Topic?  (0) 2022.09.06
IAM policy와 IAM role은 무슨 차이가 있을까?  (0) 2022.09.05
'CLOUD/AWS Cloud' 카테고리의 다른 글
  • When to use serverless [판단 기준]
  • Fargate
  • [의문] Auto-Scaling (+Scaling 더 빠르게 하는 법)
  • Capstone Topic?
Hojae Lee
Hojae Lee
Solutions Architect
  • Hojae Lee
    기억력이 금붕어라
    Hojae Lee
  • 전체
    오늘
    어제
  • 공지사항

    • 참고사항
    • 이 블로그를 잘 활용하는 방법
    • my linkedin
    • 분류 전체보기 (404)
      • Career Path (19)
        • My Achievements (10)
        • About Career (1)
      • Projects for $100 (1)
      • CLOUD (183)
        • Azure Cloud (61)
        • AWS Cloud (120)
      • System Engineering (91)
        • Kubernetes (48)
        • Docker (0)
        • System Design (4)
        • DevOps (2)
        • SRE (5)
        • git (1)
        • 리눅스, 라즈베리파이 (17)
        • Powershell (2)
      • Computer Science (70)
        • Operating System (22)
        • Computer Architecture (5)
        • Network (18)
        • Database (13)
        • Security (9)
        • Machine Learning, AI (1)
      • Cloud Webinar (4)
        • AWS Summit (4)
      • 3D 프린터 (1)
      • IaC (4)
        • CloudFormation (0)
        • Terraform (4)
      • 아두이노 (임베디드) (2)
      • 개발자의 전기 전자 공부 (3)
      • 이전 직장 (11)
        • TMAX Soft (11)
      • 작업 환경 셋업 (3)
  • 최근 댓글

  • hELLO· Designed By정상우.v4.10.3
Hojae Lee
SNS와 SQS의 차이?
상단으로

티스토리툴바