- Print
- DarkLight
- PDF
Edges Usage is based upon the number of requests made and the amount of data transferred out of the EchoStream cloud.
- Each 64KB chunk of message payload results in a single Usage request; this includes sending, receiving and deleting messages.
- A single message sent over an edge can result in up to 9 requests (if the message is 192KB-256 KB), but in general this will be much lower as most messages are much smaller than this and EchoStream makes a best effort to batch messages in groups of 10.
- A Node that is not receiving any messages will still result in 3 requests a minute, as that Node will be long-polling for 20 second intervals to receive any incoming messages.
Edge Usage is 0.000005 per request.
Note: There may be additional Usage if you transmit the messages out of the EchoStream Cloud (i.e. - to External Nodes). This Usage is per GB and is conditional upon where you Tenant is located and where you are transmitting the message to. This Usage is not reflected in the example below.
Example
Let's assume that you have an Edge that transmits 10,000 messages an hour between 10:00 AM and 2:00 PM, and the rest of the day remains idle. Messages are sent along the edge in batches of 100, and are received and processed in batches of 10. Each message is 1,000 bytes in size. The receiving Node is an Internal Node.
This Edge will produce 180 receive requests for each hour up to 10:00 AM and for each hour after 2:00 PM, resulting in a total of 3,600 Usage for receiving during the idle period of the day.
During the 4 hours that the Edge is actively transmitting messages, there will be:
- 100 send requests, each creating Usage of 2, for a total of 200 Usage for sending
- 10,0000 messages / 100 messages per batch, with each batch being 100KB in size
- 1,000 receive requests, each creating a Usage of 1 for a total of 1,000 Usage for receiving
- 10,0000 messages / 10 messages per receive request, with each batch being 10KB in size
- 1,000 delete requests, each creating a Usage of 1 for a total of 1,000 Usage for deleting
- Delete requests are always smaller than 64KB
This results in a total of 3,600 (empty receives) + 200 (sends) + 1,000 (receives) + 1,000 (deletes) = 5,800 requests per day * 0.000005 (Usage per Request) = 0.029 Edge Messaging Usage * $0.50 per Usage = $0.0145 per day
In a 30 day month, this Edge will generate approximately 0.87 Edge Messaging Usage for a cost of $0.435 or $0.00000145/message.