Bosch increases vehicle safety using map-matching algorithms and Azure Kubernetes Service
Lets have a look then , what is containerization and Kubernetes ?
Containerization is defined as a form of operating system virtualization, through which applications are run in isolated user spaces called containers, all using the same shared operating system (OS).
Lets understand kubernetes by following example :
Consider a class of 40 small kids , toddlers, Terrific to imagine that classroom , whole messy chaos with innocent faces…
No one there to guide them, managed them ……It would be whole mishmash there on board.
But what if a teacher is assigned to that classroom , who will take care of those guys, will teach them unique stuffs and as a consequence , students will listen to the teacher and will work accordingly (Mostly in all cases 😅😅)
Lets come to the point , similarly , we have containers running over some of the container engines . One or two or dozens of them are manageable but what about hundreds and thousands of container deploying , managing and upgrading / updating .Here some of the teacher is needed who will monitor, keep track of the containers …
Kubernetes is an open-source container-orchestration system for automating computer application deployment, scaling, and management. It was originally designed by Google and is now maintained by the Cloud Native Computing Foundation.
Microsoft Azure is a world-renown cloud platform for SMBs to large scale business, while Kubernetes is a modern-day outlook to manage cloud-native applications in a production environment. Azure Kubernetes Service (AKS) has brought both solutions together that allow customers to create fully-managed Kubernetes clusters quickly and easily.
AKS is an open-source fully managed container orchestration service, available on the Microsoft Azure public cloud that is efficient to deploy, scale and manage Docker containers and container-based applications in a cluster environment.
The best thing about AKS is that you don’t require deep knowledge and expertise in container orchestration to manage AKS.
AKS is certainly an ideal platform for developers to develop their modern applications using Kubernetes on the Azure architecture where Azure Container Instances are the pretty right choice to deploy containers on the public cloud. The Azure Container Instances help in reducing the stress on developers to deploy and run their applications on Kubernetes architecture.
Case Study : Bosch
When Robert Bosch GmbH set out to solve the problem of drivers going the wrong way on highways, the goal was to save lives. Other services like this existed in Germany, but precision and speed cannot be compromised. Could Bosch get precise enough location data — in real time — to do this? The company knew it had to try.
The result is the wrong-way driver warning (WDW) service and software development kit (SDK). Designed for use by app developers and original equipment manufacturers (OEMs), the architecture pivots on an innovative map-matching algorithm and the scalability of Microsoft Azure Kubernetes Service (AKS) in tandem with Azure HDInsight tools that integrate with the Apache Kafka streaming platform.
Early days :
Smartphones or an onboard connectivity unit can anonymously record GPS coordinates and can send that location data to the cloud if the device is in a hotspot area, but GPS satellites broadcast their signals in space with only limited accuracy. What is received depends on many factors, including satellite geometry, signal blockage, atmospheric conditions, and the design and quality of the receiver. For example, GPS-enabled smartphones are typically accurate within a 4.9-meter (16-foot) radius under open sky.
The Bosch team had to solve two major issues: first, to get the last piece of information out of the noisy sensor data; and second, to develop a highly scalable and ultra-flexible service to process the data in near real time. The question was how to build a real-time data ingestion and processing pipeline capable of returning notifications to drivers within seconds.
Bosch needed lightning fast compute capable of filtering events and pushing a notification back to an end device within 10 seconds — the time estimated to make the solution viable.
The key was orchestration. By orchestrating the deployment of containers using AKS, Bosch would get repeatable, manageable clusters of containers. Bosch already had a continuous integration (CI) and continuous deployment (CD) process to use in producing the container images and orchestration. The result: increased speed and reliability of deployments.
Using AKS was a strategic decision. We looked for a managed orchestrator so we could offload the work of patching, upgrading, and production-level services. That’s why we chose AKS — and it’s a very open, flexible platform.
Hai Dang Le: technical lead ,Bosch
Working Architecture :
The wrong-way driver warning solution runs as a service on Azure and provides an SDK. Service providers, such as smartphone app developers and OEM partners, can install the WDW SDK to make use of the service within their products.
The SDK maintains a list of hotspots within which GPS data is collected anonymously. These hotspots include specific locations, such as segments of divided highways and on-ramps. Every time a driver enters a hotspot, the client generates a new ID, so the service remains anonymous.
What we like about AKS is the simplified Kubernetes experience. It’s click and deploy, it’s click and scale. It’s infrastructure as code too, which is quite cool for us.
Christian Jeschke: product owner,Bosch
Sources : Microsoft Customer Stories
Happy orchestrating 😊........