Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
m-hulbert
left a comment
There was a problem hiding this comment.
This is really great thanks, Jamie. I've dropped a few comments and suggestions throughout and they are mostly all relevant to all 4 examples rather than me repeating myself 4 times 🙂
paddybyers
left a comment
There was a problem hiding this comment.
I really found these pages confusing when I first read them. The summary costs table at the top has numbers and calculations that have no obvious relationship to the assumptions. Obviously when you scroll down it's clear where the numbers come from, but some hint upfront would help.
| ### Cost summary | ||
| The high-level cost breakdown for this scenario. Messages are billed for both inbound (published to Ably) and outbound (delivered to subscribers) – a single message to 100 subscribers generates 101 billable messages. | ||
|
|
||
| | Item | Calculation | Cost | |
There was a problem hiding this comment.
The dollar results in this table are rounded to integer dollars so they look wrong. Eg 1.5 x $1 = $2. They shouldn't be rounded
481c7c4 to
3ba3909
Compare
GregHolmes
left a comment
There was a problem hiding this comment.
Thanks for the PR @JamieAbly, I've made a few comments on what I've read.
My only other question would be, in examples like livestream and support-chat would we not want to include presence into this? That would also factor into the pricing wouldn't it?
| - **Monthly active users:** 10,000 | ||
| - **Live matches:** 50 per month | ||
| - **Users per match:** 200 | ||
| - **Session duration:** 60 minutes average |
There was a problem hiding this comment.
In the scenario we talk about 60 minutes duration, but further down https://github.com/ably/docs/pull/3090/changes#diff-e859e6258c98a045869c064bf0e18a076427dd88cd0ba5a262c537e8aa72eb47R34
we talk about 7200s which is 120 mins.
Should these be inline with eachother?
|
|
||
| | Item | Calculation | Total | | ||
| |-----------------------------|--------------------------------------|----------------| | ||
| | Connection minutes | 10,000 users × 4 sessions × 60 mins | 2,400,000 mins | |
There was a problem hiding this comment.
The scenario never mentions 4 sessions per user. With 50 matches × 200 users = 10,000 user-match combinations across 10,000 MAU, that's ~1 session per user, not 4. The 40,000 sessions figure in channel minutes has the same issue.
src/pages/docs/platform/pricing/examples/realtime-dashboard.mdx
Outdated
Show resolved
Hide resolved
|
|
||
|
|
||
| <Aside data-type='further-reading'> | ||
| Useful links for exploring this topic in more detail. |
There was a problem hiding this comment.
This is used in all of the files, but I'm not sure this line is necessary. The Further-reading Aside will do the explaining of what these bullet points are.
There was a problem hiding this comment.
I actually added this text on request from Mark - happy to remove it or keep it, up to you guys.
|
|
||
| | Item | Calculation | Total | | ||
| |--------------------------|----------------------------------------|----------------| | ||
| | Channel minutes | 105 users × 8 hrs × 22 days × 60 mins | 1,108,800 mins | |
There was a problem hiding this comment.
I don't think this is necessarily correct. If you look at pricing: https://ably.com/docs/platform/pricing#per-minute
You'll see The number of users attached to each channel does not influence the channel minutes.
Should this row instead be:
| | Channel minutes | 105 users × 8 hrs × 22 days × 60 mins | 1,108,800 mins | | |
| | Channel minutes | 100 channels × 8 hrs × 22 days × 60 mins | 1,056,000 mins | |
The final cost would still round to the same $2.00.
3624d01 to
67bf06d
Compare
…st, and realtime dashboard Add four worked pricing examples to help customers estimate costs: - Livestream chat: high-concurrency event chat with server-side batching - Support chat: 1:1 customer support with consumption-based pricing - Data broadcast: one-to-many updates with message conflation - Realtime dashboard: many-to-few device monitoring Also restructures the existing AI chatbot example to match the new format.
67bf06d to
536bb5a
Compare
Description
Adds four worked pricing examples to help customers estimate costs for common use cases:
Each example includes assumptions, cost summary, message breakdown, and relevant optimisation notes (batching, conflation, etc).
Checklist