Twilio is a communications and customer data company with various products such as sms, video calling, customer data, sending emails etc.
One of the services that Twilio offers is TURN servers. Let us consider just the TURN server product of twilio and its advantages and drawbacks and after that we will look at its alternative
There are not many players in the TURN server business as it requires, huge infrastructure with servers around the world
What are TURN servers?
When you are conducting webrtc video conferencing or file tranfers between devices that are behind different NATs, it becomes difficult to connect then directly
As NAT provides a private IP address to clients that are behind the NAT and all the traffic is tunneled through a single Public IP address
Here TURN servers come in to play. They transfer the data from one client to another when direct connection is not possible because of NAT or fire wall rules
Here one client sends the data to the TURN server and the TURN server sends the data to other clients that are doing webrtc video conferencing or file transfers etc
there are two major TURN server providers and we are going to consider both.
these are
- Twilio TURN server
- Metered TURN server
What is Twilio TURN server
Twilio is a communications company with various products like video calling, audio calling, sms, email, customer data and many others
One of the products that Twilio offers is TURN servers
Advantages of Twilio TURN server
- Available in 7 regions of the world: Twilio TURN servers are available in 7 regions around the world
- Flexible pricing according to the region: With pay as you go pricing starting at $0.40 USD per gb for north america
- Data Security Data security through encryption. This is by defeault provided as all TURN server data is encrypted
- Other services like SMS and Email also available under the same umbrella
Disadvantages of Twilio TURN server
- Not a primary product: TURN server is not the primary product of Twilio. It is not even mentioned on the landing page of Twilio
- Availability
- Limited API Options
- No Geo location targeting
- 99.99% uptime only as compared to 99.999% uptime for Metered TURN servers
Pricing
Twilio pricing is region dependent. You need to select a region and pay the pricing for that region there is no Auto geo location tracking
- The cheapest is the US West region with $0.400 USD /GB
- The Most expensive is Brazil with $0.800 USD / GB
It is available in 7 regions around the world
- Singapore, USA, Japan, Australia, Germany, Brazil, Ireland
Here is the complete pricing breakdown:
Twilio TURN server pricing | |
---|---|
Global Geo location targeting | X |
USA | $0.40 USD /gb |
Europe | $0.40 USD /gb |
Asia Pacific | $0.60 USD /gb |
South America | $0.80 USD /gb |
Twilio Alternative: Metered TURN server
Metered Video is a Global TURN server Cloud Provider. With servers across the world.
Apart from TURN server Metered also provides Video and audio calling APIS and SDK
It is a Canadian company with international presence and specializes in TURN server infrastructure
Features of Metered TURN server
Here are some of the features of Metered TURN server
- API: TURN server management with powerful API. You can do things like Add/ Remove credentials via the API, Retrieve Per User / Credentials and User metrics via the API, Enable/ Disable credentials via the API, Retrive Usage data by date via the API.
- Global Geo-Location targeting: Automatically directs traffic to the nearest servers, for lowest possible latency and highest quality performance. less than 50 ms latency anywhere around the world
- Servers in 12 Regions of the world: Toronto, Miami, San Francisco, Amsterdam, London, Frankfurt, Bangalore, Singapore,Sydney (Coming Soon: South Korea, Japan and Oman)
- Low Latency: less than 50 ms latency, anywhere across the world.
- Cost-Effective: pay-as-you-go pricing with bandwidth and volume discounts available.
- Easy Administration: Get usage logs, emails when accounts reach threshold limits, billing records and email and phone support.
- Standards Compliant: Conforms to RFCs 5389, 5769, 5780, 5766, 6062, 6156, 5245, 5768, 6336, 6544, 5928 over UDP, TCP, TLS, and DTLS.
- Multi‑Tenancy: Create multiple credentials and separate the usage by customer, or different apps. Get Usage logs, billing records and threshold alerts.
- Enterprise Reliability: 99.999% Uptime with SLA.
- Enterprise Scale: : With no limit on concurrent traffic or total traffic. Metered TURN Servers provide Enterprise Scalability
- 50 GB/mo Free: Get 50 GB every month free TURN server usage with the Free Plan
- Runs on port 80 and 443
- Support TURNS + SSL to allow connections through deep packet inspection firewalls.
- Support STUN
- Supports both TCP and UDP
Comparison of Metered TURN server Vs Twilio
Feature | Metered | Twilio |
---|---|---|
Reliability | 99.999% Uptime | 99.9% |
Scalability | Unlimited Bandwidth | Unlimited Bandwidth |
Global Server Network | 12 Regions | 7 Regions |
Comprehensive API for TURN server Management | Yes, add/ remove creds, retrieve per-user usage metrics and much more | not available |
Global Geo Targeting | yes | not available |
Region Specific Geo Targeting | yes | not available |
Country Specific Geo Targeting | yes | not available |
Pricing | 0.40 USD and 0.10 USD / GB with volume discounts | 0.40 to 0.80 USD /GB |
Free Plan | yes 50 GB /mo | no |
User Management | create per user creds and manage user data usage | no |
cost management | finely manage cost with full control on spend. Pre paid plans and ability to control how much you spend | not avaiable |
turn server Management using API s | Create credentials, expire credentials, retrive per user usage metrics, retrive usage data by date and much more via API | not available |
Metered TURN server pricing
There is a free trial available, where you get 500 MB of Global TURN server data every month along with API access
The pricing for Metered is pay as you go plus you need to buy a specific plan as well
Metered TURN server Pricinbg | Free Plan | Free trial | Growth | Business | Enterprise |
---|---|---|---|---|---|
Bundled Usage | 50 GB | 500 MB | 150 GB | 500 GB | 2 TB |
Overage | X | x | $0.40 USD /GB | $0.20 USD/ GB | $0.10 USD / GB |
GLobal Auto Geo Location Targeting | X | yes | yes | yes | yes |
API Access | X | yes | yes | yes | yes |
Uptime | 99.99% | 99.999% Uptime | 99.999% Uptime | 99.999% Uptime | 99.999% Uptime |
ultra low latency | X | less than 50 ms | less than 50 ms | less than 50 ms | less than 50 ms |
Conclusion
In this article we learned about Twilio and its turn server offerings. We also learned about its alternative the Metered TURN servers.
We learned about advantages and disadvantages of each and also about the benefits and unique features
Given this information you can decide for yourself which turn server provider is best for you and make an informed decision