Pub/Sub Overview
KakaoCloud's Pub/Sub service is a non-installation message queue service that supports large-scale events and data analysis. Pub/Sub uses an asynchronous communication pattern between "publishers," who generate and publish information, and "subscribers," who receive and process it. Publishers publish information to specific topics, and subscribers can subscribe to desired topics to asynchronously receive and process the published information.
- Pub/Sub: An abbreviation for "Publish/Subscribe", it is a service that efficiently distributes and processes information using a message pattern based on publishing and subscribing to data.
- Message Queue: Also known as a message queue, it is an asynchronous service-to-service communication form used in serverless and microservice architectures. Messages are stored in a queue and processed, and each message is processed only once by a subscriber. Message queues can be used to decouple large-scale processing tasks, perform buffering or batch tasks, and smoothly support rapidly changing workloads.
Purpose and use cases
If message queues are not used, large-scale data processing and message transmission must be implemented manually, which increases complexity and takes a lot of time to implement. Communication between applications is also synchronous, so the response time of an application increases when one application waits for a response from another application. This direct communication between applications increases the coupling between applications, making it difficult to change and expand.
KakaoCloud's Pub/Sub can improve data management efficiency by asynchronously processing communication between applications/services when a large amount of message data is retrieved or a webhook is required.
Features
You can efficiently manage large-scale messages using the Pub/Sub.
Task parallel processing
- Supports efficient work on many tasks such as event analysis and processing between multiple users
Efficient message management
- Automatically requests unconfirmed messages again according to specified policies such as retry policy, retention period, and point-in-time rollback, and can store messages of specific topics and roll back points-in-time as needed
Push delivery
- Pushes an asynchronous event notification immediately when a message is published to a topic, and sends a notification to subscribers when the message becomes available
Sending messages to object storage bucket
- Sends messages posted to topic directly to object storage bucket without additional client configuration.
Getting started
Detailed guides on using Pub/Sub are provided in the [How-to Guides]How-to Guides. If you are new to KakaoCloud, start with the Start section.