Monday, 23 May 2016

Building for scale



Building for scale


WARNING: TECHNICAL POST!

At KamailioWorld 2016 on Friday afternoon there was a presentation from an engineer from 1&1 Internet who is the second largest consumer ISP in Germany.   He was talking about adding media relay capabilities to their network using RTPengine.

But what struck me very much was the scale they work at.  They have four million "residential line" customers, most of who get the service as part of their home internet service.  And most of those home internet services are delivered over DSL.

Connection Telecom's experience delivering phone service over ADSL has been challenging.  1&1 are able to make two ATM bearers to isolate the voice from the customer's internet usage.  We can't do that in South Africa.  But even with that, and despite being in a first-world country, I am sure they face challenges!

Anyway - that's not really my point.  My point is that with four million lines on the service they manage up to 120 000 concurrent calls with 500 calls being initiated every second.  I don't think I'm giving away anything if I tell you that Connection Telecom's peak load is much much less than that.  And we are likely the biggest hosted PBX provider in South Africa.

I should say that our service is a full hosted PBX service.  1&1 delivers a simple residential-style "plain old telephone service" (POTS).  So there is a big difference in the requirement.

Nevertheless - there's good lessons for us to learn in respect of how to deliver a highly scalable service.  Let me see if I can summarize:
  • "Switching" is separate from "Control":  Kamailio allows them to work at the SIP signaling level.  Wherever possible they allow media to go directly from phone to phone, where its just ordinary packets which can be routed like any other.   Where they can't do that, they set things up at the relay at the start of the call using Kamailio's ability to manager RTPengine.
  • They use BGP with short timers to allow rapid switchover of equipment in the event of failures of servers or even data centre outage.  The failover is quick enough to keep calls.
  • Their RTPengine instances share state so even a call where media is being relayed will continue if the particular RTPengine crashes.  The audio will be reestablished in just a second or so.  
  • They pay attention to the optimization of their machines - their RTPengine machines have multiple 10 gigabit interfaces and could run up to 15 000 concurrent calls on each.  Much more than Asterisk could reasonably manage.  Because of the high capacity they are able to do media relaying with only 6 servers.
So this is an impressive example of systems thinking to deliver high capacity.  Their care and attention is also inspiring.  Perhaps that comes with being German!

Listening to stories like this is a good example of the value of traveling all the way from Cape Town!

Today I'm in San Francisco doing a bit of site seeing.  I claimed a computer at the Apple Store to make this post, but now I'm off to go see the sites.

Tomorrow Signal begins, which is Twilio's conference.  Looking forward to it very much.  I know its going to be very very different to KamailioWorld which was quite small, very technical, very European and quite understated.  I'm sure the 'mericans will do it completely differently!

Cheers,
Steve

Friday, 20 May 2016

5G: coming soon, maybe.


Half-way through KamailioWorld

I'm writing on Friday morning - KamailioWorld is half done.

It's clear that Kamailio users and developers - who are the true hard-core SIP hackers - are pushing into many very interesting and innovative areas.

It's clear, too, that there is some anxiety that their expertise in the complex world of telephony and SIP may become less relevant with the trend towards WebRTC, communication as a service (ie Twilio and competitors), and in fact with the general trend from voice calls to other options like text chat.

But the Kamailio project is not sitting on its hands.  Kamailio has good WebRTC support and people are using it in real-world projects to support WebRTC services.  Combining Kamailio with RTPengine, Asterisk and other tools can really help you build services that interconnect the traditional SIP world with the emerging next-generation services.

But Kamailio is also being used to help the Technical University of Berlin and the Fraunhofer Fokus organisation build the experimental "5G testbed".  

5G is intended to be the evolution of the LTE environment into an ambitious multi-service, multi-provider, architecture with some big-hairy-audacious-goals:
  • >50Mb guaranteed performance anywhere
  • >20 billion human endpoint terminals
  • >1 trillion IoT devices (credit card terminals, cars, factory machines .....)
  • >99.9999% availabulity
The goals are certainly ambitious, as is the scale of the vision.  I suppose that is as it should be for a next-generation project, but of course an ordinary technical guy like me is a little bit skeptical of this sort of talk.

Still >50Mb on my phone anytime anywhere? - yes please.  But all the other baggage - no thanks.





Its a big vision.  And some of the technical advances are significant.

But I find myself a bit sceptical that the promise can be fulfilled since this is very much the big, traditional service providers view of how things should work and that means tight control by service providers - with service after service required to fit their model of control.

Ce careful if you bet against end-to-end IP.  IP and the Internet have essentially eaten every other networking technology.  X.25? Frame Relay? IPX? Token ring?

I should say that LTE is actually an acknowledgement that IP is eating everything.  LTE is essentially all IP, and VoLTE (voice over LTE) is really SIP.  But the instinct to control and micro-manage and charge for everything lives on.

But services being developed - the next generation services springing up everywhere - are not going to be interested in that.  They will just use TCP/IP "over the top".  That way, their new service will be done, launched and selling in the time it would have taken to just complete contractual notifications with a traditional mobile operator to do it the "official way".

Well - that's what I think.

Steve

Tuesday, 17 May 2016

Quick tour of the sites of Berlin


Berlin sightseeing...


Well flights got me to Berlin today, and KamailioWorld starts tomorrow.  And my Airbnb host can't meet me till 7pm.  So I jumped off the plane, got a bus into town, got a SIM (first things first) and then met my guide for a half day walking tour of the "sights".

And wow, in just a few square kilometres you can see the history of Europe in the 20th century just playing out around you.

Since I'm a bit underslept I'm hoping that I made sense on the tour...

So since today I was a tourist, here are some photos

Preserved section of the Berlin Wall



The memorial for the murdered Jews of Europe:






Our interesting and knowledgeable guide Sam, at the Brandenburg Gate


Beautiful and poignant memorial to the victims of war and oppression.
The sculpture is called "Mother with her dead son".



The "old museum".  It is actually straight of course, my phone's panorama mode put the kink in the middle.
There are historical photos of this building with massed Nazi soldiers on the steps.



Berlin Dom (Cathedral).  Its actually only a little over 100 years old!
So this is one 20th century building...


... and here's another!



And for a change of pace, seen under a railway bridge:



Anyway - back to business tomorrow.  Thanks for touring with me!

Steve

Friday, 13 May 2016

CPT > DBN > IST > TXL > IST > SFO > IST > DBN > CPT: the long road to enlightenment

What will Business Communications look like in 10 years?


Hi, I'm Stephen Davies. Most people call me Steve.

If you don't know me, I'm the Technical Director (the CTO) of Connection Telecom (Pty) Ltd.  We're a telephone company doing business mainly in South Africa.  We've been in business a little more than 10 years, and specialise in "cloud PBX" services.

At Connection Telecom we want to be always innovating.  We want to stay connected to the international communities within which we operate.  We want to seek out inspiring new ideas, new technologies.  We want to see how others are using the technologies we are already using to create amazing new services.  And we we to turn this inspiration into amazing new services of our own.

That's why we invest and attend international conferences - I attend the Astricon conference most years.  Rob is recently back from Enterprise Connect in Orlando.

At these conferences to meet peers working in our industry in other countries.  We learn much, but just as often we find that we have much to contribute too.

So on Monday I'm hitting the road and will participate in two conferences over the course of two weeks.

I think these two conferences will provide a very interesting contrast - both in terms of the content, the technical approaches, and even in terms of the location.

So next week I will find myself in Berlin at a conference called KamailioWorld.  First time in Berlin for me.  We will meet at the Fraunhofer Forum, in the former East Berlin. Fraunhofer is a famous German association of research institutes that have brought you technologies such as MP3, MPEG4 and much more besides.

Kamailio is a very fast and efficient SIP proxy. We use it as part of our Telviva service.

Kamailio traces its history back to the "SIP Express Router" (SER), which was originally developed at Fraunhofer.  Since those days, Kamailio's capabilities have grown and grown.

At KamailioWorld 2016 I'm particularly interested in learning much more about Kamailio's support for the new WebRTC technology.  This technology allows voice, video and data communications directly in your Chrome, Firefox or Edge web browser.  We're already building new services that use WebRTC.

So week one in Germany up to my arms in the very technical world of the SIP protocol, C-programming and Voice-over-IP "traditionalists".


On Saturday I'm back on a plane and heading for free-wheeling San Francisco.  20 years since I was there.  Quite a contrast I think to Berlin?  (Do I need to wear some flowers in my hair?)

I'm attending Twilio's Signal conference.   Twilio makes it easy for programmers to add communications into their modern web applications.   It allows those programmers to easily access SMS, voice, video and other communications without having to be a telephony or voice-over-IP specialist.


Connection Telecom has been experimenting with Twilio in new services under development and we are impressed.

I'm looking to participating in many workshops, technical presentations and case studies.  I'm expecting to come back with brain a-buzzing having seen the amazing ways modern web developers are building communications into their applications.

A bonus for me will be a chance to catch up with old colleagues from Internet Africa who are now working at companies like Facebook and Oracle.

So - two weeks, many many thousands of kilometres, two radically different approaches two building the new world of communications.  I'm excited!

Internet connection permitting, watch this blog over the next two weeks as I bring my observations from these two conferences.

Talk soon,
Steve