Twilio Programmable Video is back from the dead
Twilio Programmable Video is back. Twilio decided not to sunset this service. Here’s where their new focus lies and what it means to you and to the industry.
Read MoreLatency is a problem that I think exist in most problems today. To solve it, it needs to be defined for the problem domain first.
I come from VoIP pedigree. In in that domain, mainly on the signaling and video processing side. To me, latency is measured in hundreds of milliseconds. The way latency is handled in signaling versus video processing is different and that is due to different requirements. I think that latency can be defined by a couple of parameters:
Are we talking nanoseconds? Milliseconds? Hundreds of milliseconds? Seconds? Minutes?
In VoIP, we're talking about the lower hundreds of milliseconds. Guided missiles are probably below milliseconds (never been there). I learned lately that billing systems are in the lower hundreds as well. Ad serving? Tens of milliseconds. Business intelligence? Seconds. Big Data? Anything between seconds to hours.
First make sure you know where your problem domain lies, as there tend to be different solutions for different latency groups.
With web page serving for example, there's no hard limit. Anything less than a second on average should be fine. 10 seconds will piss off your users, but the devoted ones will stay (I know – it took me over a year to decide to improve load times for this blog).
With media processing on a real time video call, 400 milliseconds of latency is good. Pass the second and you can just disconnect the call and go home.
With ads you might miss serving an ad if you don't decide how to respond to a an ad exchange brokerage request within the allotted time of tens of milliseconds. But as long as you don't miss the important bids you want (or at least fit the schedule of enough bids) – you are fine.
Billing system – anyone wants to talk money?
Rocket guidance system… well – I think the limit is quite hard.
What I am trying to say here, is that while we strive to low latency in our solution we should at least understand what happens if we miss a deadline, and if the requirement of a specific latency value is a game of averages or writ in stone.
This is probably not a requirement, but rather the understanding of what can be done.
With real time video calling, latency is usually caused by the following components:
I might have missed a few components that add latency in there somewhere, but it gives you options as to where you have control and where you don't:
-
If you are dealing in a domain where latency is important, I think it is important to set the stage and find out the order of magnitude in question, the type of limitation, what causes latency and which of these causes are within your control.
Twilio Programmable Video is back. Twilio decided not to sunset this service. Here’s where their new focus lies and what it means to you and to the industry.
Read MoreStruggling with WebRTC POC or demo development? Follow these best practices to save time and increase the success of your project.
Read More