Data broadcast pricing example

This example shows pricing for a sports betting data broadcast with live odds updates. It uses Ably's per-message and per-minute billing model, and demonstrates how message conflation reduces costs when only the latest value matters. The same pattern applies to any broadcast where only the latest value matters, such as stock tickers, live scores, auction platforms and transport arrivals.

Open in

Scenario

  • Monthly active users: 10,000
  • Live matches: 50 per month
  • Users per match: 200
  • Session duration: 120 minutes average
  • Odds updates: 10 per second from data provider

Total cost: $374.00/month


Cost breakdown

The following breakdown shows the cost of connections, channels and messages in this scenario.

How messages are counted

Every message counts as a billable message. Messages are counted when they're published to Ably and when they're delivered to viewers. Usage is billed in increments of one million messages, rounded up.

One odds update sent to 200 viewers = 201 messages (one sent to Ably + 200 delivered to viewers).

Reducing cost with conflation

Message conflation removes redundant and outdated messages by only sending the latest message to subscribers, within a specific time frame. Published messages are aggregated for a set period of time, such as every 500ms, evaluated against a conflation key with all but the most recent being discarded and sent to subscribers. For live odds, this is ideal, as users need the current price, not a history of changes.

In this example, conflation reduces outbound delivery from 10 updates/sec to 2 updates/sec (500ms interval), saving approximately 80% at this scale.

Message typeCalculationMessages
Sent (from data provider)10 updates/sec × 7,200 sec × 50 matches3,600,000
Delivered (to viewers)2 updates/sec × 7,200 sec × 200 viewers × 50 matches144,000,000
Total messages3,600,000 + 144,000,000147,600,000
Total message cost148,000,000 × $2.50/M$370.00

How connection and channel minutes are counted

Both connection minutes and channel minutes are rounded up per million minutes used.

Connection minutes

Connection minutes are billed based on how long users remain connected.

ItemCalculationTotal
Connection minutes50 matches x 200 users × 120 mins1,200,000 mins
Connection minutes cost2,000,000 mins × $1.00/M$2.00

Channel minutes

Channel minutes are billed based on how long channels are active for.

ItemCalculationTotal
Channel minutes50 matches × 200 channels x 120 mins1,200,000 mins
Channel minutes cost2,000,000 mins × $1.00/M$2.00

Total cost

The total cost of this use case.

ItemCost
Messages$370.00
Connection minutes$2.00
Channel minutes$2.00
Total cost$374.00/month