LiveSync pricing

How LiveSync operations contribute to your message count and strategies to optimize costs.

LiveSync publishes database changes as Pub/Sub messages. Each update follows the standard inbound/outbound counting pattern.

LiveSync operations

The following table shows how LiveSync operations contribute to your message count:

OperationMessages counted
Database update publish1 inbound message
Update delivery1 outbound message per subscriber

For example, if the database connector publishes 1 update and 3 clients are subscribed, this counts as 4 messages (1 inbound + 3 outbound).

Channels

Each channel that the database connector publishes to contributes to your channel count.

Connections

Ably bills each connected client for connection minutes. A connection-minute is counted for every minute a client maintains an open connection, regardless of activity. Clients that remain connected but idle still accrue connection minutes.

Cost optimization

Minimize change frequency

Configure your database connector to publish only meaningful changes. Reducing the frequency of updates at the source directly reduces your message count.

Limit subscriber count

Only subscribe clients to channels where they need real-time updates. Fewer subscribers per channel reduces the number of outbound messages generated per update.