What are Transactions? How are they measured? ¶
Transactions are API requests that are made to the PubNub network. When you make an API call to PubNub, we count that as a transaction.
Each transaction can consist of up to a 2048 byte payload. Since payloads up to 32KB are supported, larger Transactions are counted as multiple Transactions, where the
payload is divided into 2048 bytes buckets.
Transactions may be designated as either Replicated or Edge.
How are Transactions different from messages? ¶
Transactions are API requests made to the PubNub network. This includes messages sent and received using Publish and Subscribe APIs.
What are Replicated Transactions? ¶
Replicated Transactions are API calls to the PubNub network that result in replication of data to Points of Presence (PoPs). For example, Publish() API calls, setting Access
Manager rules, and setting Channel Groups are designated as Replicated Transactions. Read More.
What are Edge Transactions? ¶
Edge Transactions are API calls to the PubNub Network that only affect a single region, such as a message received via a Subscribe() API call, a read from Storage, or
Mobile Push service. Read More.
How are PubNub Webhooks/Callbacks charged? ¶
If you are using PubNub webhooks/callbacks to receive PubNub events on your backend, each webhook call is counted as an Edge Transaction. For instance, if PubNub makes 5 calls to your backend with Presence information, with payload sizes 2KB each, that is counted as 5 Edge calls towards your total Transaction volume.
This is irrespective of the type of webhook you have set - Presence, Delete from History or Push Notification Remove Device Webhooks.
Are there free Transactions? ¶
Yes. Fire() API calls, which send data to PubNub Functions for processing, and Time() API calls are free. Read More.
Where can I find the list of transaction classifications? ¶
Do I get charged for Data Persistence? ¶
There are two kinds of Data Persistence charges:Cost per Write - In the month you store data, you pay for all the bytes written in that month.Cost for Retention - All bytes written (and retained) from previous months are tallied and charged in aggregate each month. For customers using Storage TTL
settings of 30 days or less for their data, there is no Cost for Retention charge applied.
Use Case Example:Data Persistence usage with TTL=30 days - If you write 3GB in Month 1, you will be charged 3 GB* $8 = $24 after Month 1. In Month 2, you write 4 GB. After Month
2, you will be charged $32 (4GB * $8GB)
for the data written in Month 2, but there is no charge for the data written in Month 1 since it had a TTL (auto-expiration) time set.Data Persistence usage with no TTL (“forever storage”) - If you write 2GB in Month 1, you will be charged 2 GB* $8 = $16 after Month 1. In Month 2, you write 4
GB. After Month 2, you will be charged $48 (4GB * $8GB) for the data written in Month 2, and $16 for the persistence of the data written in Month 1.
How do I estimate the Transactions for my use case? ¶
Please see the examples above. If none of them match your use case, please and
we will be happy to help you develop an accurate model.
Can I try Pubnub for free? ¶
Yes, we offer a free plan for trial and proof of concept purposes. The Free Plan provides you with up to a million Transactions. Our Free Plan also includes Basic
Support. Clicking here
to get started today.
Can I stay on the Free Plan forever? ¶
As long as you stay within the limits of the Free Plan (1 million Transactions or Functions Executions), you can use it for as long as you need to. It is intended for testing and development
purposes - once your application reaches production, you will need to upgrade to a paid account.
Do I have to pay to activate different features? ¶
You do not have to pay to enable features like Presence
, Storage & Playback
, Push Notifications
etc. When you enable them on
the Admin Dashboard, and
use the APIs related to these
features, they will be counted towards your total transaction volume at the end of the month.
What happens if I use more than $49 worth of Transactions in a month? ¶
At the end of each month, the $49 minimum monthly payment will be credited against the total usage charges your account has accrued. For example, if you used 2 million replicated and 8 million edge Transactions, the total cost would be $310; your $49 monthly payment would be credited toward this amount, and your variable charge for that month would be $261.
The Standard plan doesn’t meet my needs - are custom plans available? ¶
Yes. For customers with unique needs and/or high volume expectations, please to create a custom plan.
Will I be charged for all the keys in my account? ¶
We count your overall usage for all keys in use within your account. You will be able to see the usage per key on the PubNub Admin Dashboard
, and will
for the account usage.
Where can I check my account Transactions? ¶
The PubNub Admin Dashboard
gives you access to all of your usage
metrics. These metrics are
updated at least once per day so you can get an accurate snapshot of your current monthly and historical usage. Simply login to the Admin Dashboard, select
your app or key, and then click the Usage option on the left.
Can I get a report of my Transactions ? ¶
Within your PubNub Admin Dashboard, under the usage tab, there is a provision to download your PubNub usage for up to the most recent 3 months.
What payment methods are accepted? ¶
PubNub accepts Visa, MasterCard, American Express and Discover cards, as well as wire transfers and ACH payments.
What happens if my credit card is invalid/expires? ¶
We will send you a notice that your payment method is invalid. We will contact you to gain updated information. Your account will be unaffected for up to 7 days after a
failed charge while we resolve the issue.