#community-help

Understanding Bandwidth Charges on Cluster Nodes

TLDR Stephano asked about the "Bandwidth" charges when starting a cluster. Jason explained that this is the charge for data transferred out of a node. This led Stephano to appreciate the cloud hosting model.

Powered by Struct AI

1

1

1

1

23
31mo
Solved
Join the chat
May 14, 2021 (31 months ago)
Stephano
Photo of md5-1b5a9819eb84d9342bdcd7da73258779
Stephano
07:17 PM
Jason One more question tonight:
I noticed the price for “Bandwidth” or something, when starting my cluster. What is this?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:18 PM
It's very similar to what AWS / GCP charge on a per GB basis, for data transfer
Stephano
Photo of md5-1b5a9819eb84d9342bdcd7da73258779
Stephano
07:19 PM
Where does this data transfer occur? Is it on document creation only?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:20 PM
It's data transfer out of a node. Incoming data into a node is not billed.

So for single node non-HA clusters, sending data into Typesense is not charged, but when you export or search for data, that's outgoing data from the node and so that's billed
07:20
Jason
07:20 PM
For multi-node HA clusters, when you add documents into collections, the data is also replicated out to all the nodes in the cluster, so that's also billed as outgoing data transfer
Stephano
Photo of md5-1b5a9819eb84d9342bdcd7da73258779
Stephano
07:22 PM
If you run an ec2 with TypeSense do you need to pay this?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:22 PM
Yup
Stephano
Photo of md5-1b5a9819eb84d9342bdcd7da73258779
Stephano
07:22 PM
Oh damn
07:22
Stephano
07:22 PM
In practice, how much data does 1 character search use?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:23 PM
1 character takes up 1 byte
Stephano
Photo of md5-1b5a9819eb84d9342bdcd7da73258779
Stephano
07:23 PM
So even If I was self hosted Id have to pay this?
07:23
Stephano
07:23 PM
Sorry for repeated question
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:23 PM
Yes, almost all cloud providers charge for bandwidth separately.
07:24
Jason
07:24 PM
But it's 9c per GB (in most regions around the world), so this shouldn't be the most expensive component
Stephano
Photo of md5-1b5a9819eb84d9342bdcd7da73258779
Stephano
07:24 PM
Ah, ok, that’s all I cared for really
If it’d have to pay for this on ec2 then it doesnt make a justification not to use TS Cloud
07:24
Stephano
07:24 PM
I just see lots of reasons to use the cloud

1

Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:25 PM
FWIW, we are hosted on AWS as well, so we're just passing on the bandwidth charges that AWS charges us
Stephano
Photo of md5-1b5a9819eb84d9342bdcd7da73258779
Stephano
07:25 PM
Yeah I am in love with your model
07:25
Stephano
07:25 PM
Keep it up gents ! 🤝

1

Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:25 PM
I wish we didn't have to charge for bandwidth tbh, but AWS billing model forces us to 😢
07:25
Jason
07:25 PM
Thanks Stephano!

1

May 15, 2021 (31 months ago)
Stephano
Photo of md5-1b5a9819eb84d9342bdcd7da73258779
Stephano
10:11 AM
Hey Jason Do you know when the MVP of the dashboard will likely be released?
Is it possible to get it to be this month?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
05:21 PM
Yup, hoping to deploy it by end of month, unless something major comes up in the meantime.

1