Strategies for IoT Software Development and Delivery
Creating the right development team is crucial to success with the Internet of Things. Electric Cloud's Andreas Dharmawan suggests a three-pronged approach.
Join the DZone community and get the full member experience.Join For Free
imagine the following scenario:
your car recognizes you as you enter the car. it also knows that it’s 6 p.m. on a friday. after consulting with your smartphone calendar, the car knows that on fridays you always go swimming at hotel nikko in downtown san francisco. it then checks the real-time traffic information and automatically recommends the best route to the hotel. when you are about to head home from swimming, your smart refrigerator notifies your phone to stop and pick up some milk because you’ve run out, so your car routes you to your favorite local store.
the next day, you’re driving to los angeles when the car notifies you that the fuel pump is about to go bad. it recommends you to a dealership along your route that it specifies is open on saturdays. prior to making the recommendation, the car has already checked that the dealership is open, has the part, and that they can schedule your appointment. after a quick service, you’re back on the road and heading for a relaxing weekend in la.
this scenario is no longer science fiction, and the technology is already here.
to support these advancements, the car manufacturer has three software teams:
- the first team focuses on developing the software that’s embedded in the car: this software is responsible for the interacting with the driver and providing health data, phone connectivity, etc. this team works predominantly with real-time operating systems (rtos) and works collaboratively with the mechatronics (mechanical and electronics) team. the most common programming language for this team is c/c++ and software upgrades are usually deployed over-the-air (ota).
- the second team focuses on big data applications: the software that aggregates and analyzes data in real time from millions of cars on the road and all third-party connected services. this software component is the one that receives the sos signal from the car about the impending fuel pump failure, finds the dealer, and directs the car to the shop. this team is tasked with processing massive amounts of real-time data and is mostly concerned with horizontal scalability, which enables them to support data throughput as more devices are sold.
- the third team focuses on building the mobile app: this application is used for seamless integration with the car’s infotainment system. mobile developers often prefer to use software-as-a-service (saas) tools for the creation of the app. the mobile apps are updated at a high frequency.
what do you need in order to manage iot software complexity?
coordinating the three software teams will be a challenge without the proper devops platform, because any software upgrade must be coordinated in such a way that it doesn’t break the functionality between the different software components installed on different devices. a complex software design with such high stakes requires shared visibility, shared reporting, and an integrated dashboard for central management of the software delivery process. this allows project team leaders to see the progress of any change requests or updates on three different software tracks; it also helps ensure that each software release is going smoothly with no quality assurance issues or possible integration failures that could disrupt service.
the three software teams will need a single integrated devops platform that can handle three different deployment targets, each with its own specific deployment process, stack, and more. it needs to handle the following:
- the embedded software in the car itself, where software upgrades are usually deployed ota.
- the data center for big data storage and computation, where software updates are done via the internet.
- the mobile app, which is upgraded via the appstore.
the three software teams that are part of the development of an iot product and services have distinct characteristics. they each use different technologies, stacks, deployment patterns, and delivery practices in their work. their day-to-day tasks and workflows are different, and so friction exists by nature when the three teams must coordinate their integration and system tests. if the possible failure points are not minimized among the three different processes, then delays will inevitably happen; if delayed, the product’s quality and market share can suffer.
in addition to common agile development practices and continuous delivery/devops platform requirements, there are unique requirements from a tooling perspective to enable efficient and streamlined iot application delivery. a single platform is needed that can address the three different domains as well as integrate and orchestrate the work transitions and handoffs between teams throughout the product’s lifecycle. in addition, the platform must be able to track artifacts, the processing outcomes, and who works on different stages. here are some additional requirements for a multi-target iot solution that accelerates software delivery securely and reliably while also improving the quality of service:
- handle different deployment paths (e.g. an embedded device via ota updates, a data center via the internet, and a mobile app via the app store) from a single integrated solution.
- enable teams to own the pieces of orchestration pertaining to their applications while also enforcing a separation of duties.
- orchestrate the delivery pipelines for each team and manage the dependencies between these pipelines.
- provide an artifact repository to store and trace the life of each artifact.
- provide centralized dashboards and processes to facilitate the monitoring and management of delivery pipelines and releases.
- enable zero downtime upgrades and automatic rollbacks for full-stack or partial iot service updates.
- provide complete traceability with automated compliance reports that are available on demand.
through a single, integrated devops platform, the project team leaders can have a single dashboard to track team progress and variability management of artifacts from three project teams.
getting iot right
the internet of things brings rise to a plethora of new and useful services that enrich our lives, simplify it, or save us time and money. to provide these connected and complex services, software companies must have at least three different software teams in order to deliver different, integrated service components across different platforms and devices. in addition, software upgrades must be coordinated across all environments to ensure service continuity. only an integrated devops platform can provide the traceability, visibility, shared control, and ability to react quickly for these complex software development, testing, and deployment processes.
for more insights on iot security, protocols, and standards, get your copy of the guide to the internet of things – 2015 edition now!
Opinions expressed by DZone contributors are their own.