Skip to content

Upgraded sdks versions - #1175

Merged
eldadfux merged 4 commits into
masterfrom
feat-upgrade-sdks
May 21, 2021
Merged

eldadfux merged 4 commits into
masterfrom
feat-upgrade-sdks

Conversation

@eldadfux

Copy link
Copy Markdown
Member

What does this PR do?

New versions for our SDKs

Test Plan

N/A

Related PRs and Issues

N/A

Have you read the Contributing Guidelines on issues?

Yes

@eldadfux
eldadfux merged commit 9f3ffd7 into master May 21, 2021
@eldadfux
eldadfux deleted the feat-upgrade-sdks branch May 22, 2021 23:25
pull Bot pushed a commit to AmirulAndalib/appwrite that referenced this pull request Aug 31, 2026
The fan-out grouped receivers by their matched subscription IDs so one
encoded frame could serve many connections. Those IDs are ID::unique()
per subscription, so no two connections can ever share one and the key
never collapsed -- it built one group of one, every time. Replaced with
a direct loop over $receivers, which says the same thing in fewer lines.

Behaviour is identical: frames, message totals and byte totals are
byte-for-byte equal across 1..1000 connections and 1..3 subscriptions
per connection.

Also meter outbound bytes. Fan-out cost is driven by payload size times
fan-out width, not by message count, and nothing exposed that: during
OnCall appwrite#1175 three pods stepped +18/+78/+226Mi at a message rate of
21/s, below a 74/s peek 70 minutes earlier that cost nothing. The
quantity that actually moved was invisible. $outboundBytes was already
computed for usage accounting; this puts it on a counter too.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants