Skip to content

Commit f2c5c71

Browse files
Tidy up commit
1 parent 5bd2fa4 commit f2c5c71

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/pages/docs/platform/integrations/queues.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ A [Dead Letter Queue](#deadletter) is automatically created. It stores messages
8080

8181
### Modifying queues <a id="modify"/>
8282

83-
Queues can't be changed after creation - they're immutable. If you need different settings, you'll need to create a new queue and migrate.
83+
Queues cannot be modified after creation - they are immutable. Different settings require creating a new queue and migrating.
8484

85-
This includes limits like TTL and max length. Even if you upgrade your Ably account, existing queues keep the limits they were created with. You'll need to replace them to get the higher limits from your new plan.
85+
This includes limits like TTL and max length. Even after upgrading an Ably account, existing queues retain the limits they were created with. Replacement is required to get the higher limits from a new plan.
8686

87-
Here's how to switch to a new queue:
87+
Steps to switch to a new queue:
8888

89-
1. Create a new queue with your desired settings
90-
2. Update your consumers to subscribe to both the old and new queues
91-
3. Change your queue rules to route messages to the new queue
89+
1. Create a new queue with the desired settings
90+
2. Update consumers to subscribe to both the old and new queues
91+
3. Change queue rules to route messages to the new queue
9292
4. Wait for the old queue to drain completely
9393
5. Delete the old queue once empty
9494

src/pages/docs/platform/integrations/webhooks/index.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ The back off for consecutively failing requests will increase until it reaches 6
9494

9595
## Message ordering <a id="ordering"/>
9696

97-
Webhooks don't always preserve message order the same way Ably channels do. It depends on how you've set up your webhook.
97+
Webhooks do not always preserve message order the same way Ably channels do. This depends on the webhook configuration.
9898

99-
With batched webhooks, messages stay in order as long as they're from the same publisher on the same channel. If a batch fails and gets retried, newer messages get included but they'll still be in the right order. Messages from different regions might arrive in separate batches, but that's fine since ordering is per-publisher anyway.
99+
Batched webhooks preserve message order when messages are from the same publisher on the same channel. If a batch fails and gets retried, newer messages are included while maintaining correct order. Messages from different regions might arrive in separate batches, maintaining per-publisher ordering.
100100

101-
Single request webhooks can't guarantee order. Each message fires off its own HTTP request, and there's no telling which one arrives first. If your server supports HTTP/2 though, you get ordering back because requests get pipelined down one connection.
101+
Single request webhooks cannot guarantee order. Each message triggers its own HTTP request, and arrival order is not predictable. HTTP/2 server support can restore ordering through request pipelining over a single connection.
102102

103-
One gotcha: if you're publishing via REST (not realtime), you lose ordering guarantees even with batching on. That's because REST uses a connection pool where requests can finish out of order.
103+
Publishing via REST (not realtime) removes ordering guarantees even with batching enabled, as REST uses a connection pool where requests can complete out of order.
104104

105105
Given the various potential combinations of enveloped, batched, and message sources, it's helpful to understand what to expect in different scenarios.
106106

src/pages/docs/platform/integrations/webhooks/lambda.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@ Then ensure the checkbox for the policy is selected.
110110

111111
Ably invokes Lambda functions asynchronously using the `event` invocation type. When a function returns an error, AWS Lambda automatically retries the execution up to two more times with delays between attempts (1 minute, then 2 minutes).
112112

113-
This means your Lambda function might occasionally run multiple times for the same Ably event. Design your functions to handle this - either make them idempotent or check for duplicate processing.
113+
Lambda functions might run multiple times for the same Ably event. Design functions to handle this by making them idempotent or checking for duplicate processing.
114114

115115
You can configure retry behavior in your AWS Lambda console under the function's asynchronous invocation settings. See the [AWS Lambda documentation](https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-errors) for details on adjusting retry settings.

0 commit comments

Comments
 (0)