> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ensync.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# vs. Cloud Message Queues

> Compare EnSync with SQS and Google Pub/Sub

## EnSync vs. Cloud Message Queues (SQS / Google Pub/Sub)

| **Criteria**                    | **SQS / Google Pub/Sub**                       | **EnSync**                                 |
| ------------------------------- | ---------------------------------------------- | ------------------------------------------ |
| **Primary Use Case**            | Internal async messaging between microservices | B2B partner ecosystem integration          |
| **Target Audience**             | Your internal engineering team                 | External partners + your team              |
| **Partner Onboarding**          | N/A (not designed for external partners)       | Self-service via developer portal          |
| **Access Control**              | IAM policies (cloud account level)             | Workspace isolation per partner            |
| **Message Retention**           | 14 days max (SQS), 7 days default (Pub/Sub)    | Up to 30 days (plan-based)                 |
| **Replay Capability**           | No native replay                               | Built-in replay (up to 30 days)            |
| **Message Ordering**            | FIFO queues (limited throughput)               | Ordered delivery per event type            |
| **Schema Management**           | No schema enforcement                          | Structured events with versioning          |
| **Partner Visibility**          | CloudWatch/Stackdriver (your account only)     | Per-partner observability dashboard        |
| **Bidirectional Communication** | Requires separate queues                       | Native bidirectional events                |
| **Multi-Tenancy**               | Requires separate AWS/GCP accounts             | Targeted delivery + workspace isolation    |
| **Event Naming**                | Queue names (flat structure)                   | Path-like hierarchy (`payment/authorized`) |
| **Best For**                    | Internal microservices communication           | External partner integrations              |
| **Partner Self-Service**        | N/A                                            | Embedded developer portal                  |
| **Compliance/Audit**            | CloudTrail/Cloud Logging (your view only)      | Full audit trails per partner              |

## Bottom Line

**SQS/Pub/Sub broadcasts to all subscribers. EnSync delivers to specific partners.**

SQS/Pub/Sub connects your microservices. EnSync connects your business partners.

## When to Choose SQS/Pub/Sub

* You need internal microservices messaging within your own infrastructure
* You're building internal message-driven architecture for your own services
* All consumers are within your AWS/GCP account

## When to Choose EnSync

* You're integrating with external business partners
* You need targeted event delivery (not broadcast to all)
* You need high throughput for partner integration workloads
* You need partner-specific isolation and visibility
* You want partners to self-manage via developer portal
* You need long-term message retention and replay
* You need two-layer access control (permissions + subscriptions)

<Note>
  While EnSync can be used for internal messaging, our focus is on B2B partner integration where workspace isolation, partner observability, and self-service developer portals provide the most value.
</Note>

## Conclusion

*"SQS connects your microservices. EnSync connects your business partners."*
